How to change EC2 Instance type

AWS EC2 service offers several instance types for various use cases. It is the customer’s responsibility to choose an Instance type depending on the needs of their application. Instance types are grouped into Instance families based on the compute, memory and storage capabilities offered. Below are the 5 AWS EC2 Instance families:

  • General Purpose
  • Compute Optimized
  • Storage Optimized
  • Memory Optimized
  • Accelerated Computing

With AWS EC2, it is quiet simple to scale instances vertically. You do not have to predict the requirements accurately before procuring an EC2 Instance. You can make the best possible judgement and based on performance, you can later scale up or down depending on the needs.

Steps to Change EC2 Instance Type:

  1. Stop EC2 Instance
  2. Change Instance type
  3. Start EC2 Instance

Login to the AWS Management Console and choose EC2 service. Once you are in the EC2 dashboard, choose Instances and right click on the instance that you would like to change the type for and choose Stop to shutdown the instance.

I’m changing the Instance type from t2.micro to t2.small for this tutorial.

You will see the below confirmation window before the instance is stopped. Choose Yes, Stop to proceed.

Once the instance is stopped, right click on the instance and choose Change Instance Type under Instance Settings.

In the change Instance type window, select the desired Instance Type and choose Apply.

You will notice the change in Instance Type in the Instance details. Right click on the instance and choose Start under Instance State.

Success !!! You will notice the Instance State changes to running once the Instance starts and the Type has been changed from t2.micro to t2.small

See also  How to attach policy to an IAM group