1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/aws-console-changing-aws-instance-type.adoc
2023-10-30 08:58:12 -04:00

35 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * scalability_and_performance/recommended-performance-scale-practices/recommended-control-plane-practices.adoc
:_mod-docs-content-type: PROCEDURE
[id="aws-console-changing-aws-instance-type_{context}"]
= Changing the Amazon Web Services instance type by using the AWS console
You can change the Amazon Web Services (AWS) instance type that your control plane machines use by updating the instance type in the AWS console.
.Prerequisites
* You have access to the AWS console with the permissions required to modify the EC2 Instance for your cluster.
* You have access to the {product-title} cluster as a user with the `cluster-admin` role.
.Procedure
. Open the AWS console and fetch the instances for the control plane machines.
. Choose one control plane machine instance.
.. For the selected control plane machine, back up the etcd data by creating an etcd snapshot. For more information, see "Backing up etcd".
.. In the AWS console, stop the control plane machine instance.
.. Select the stopped instance, and click *Actions* -> *Instance Settings* -> *Change instance type*.
.. Change the instance to a larger type, ensuring that the type is the same base as the previous selection, and apply changes. For example, you can change `m6i.xlarge` to `m6i.2xlarge` or `m6i.4xlarge`.
.. Start the instance.
.. If your {product-title} cluster has a corresponding `Machine` object for the instance, update the instance type of the object to match the instance type set in the AWS console.
. Repeat this process for each control plane machine.