One major benefit of Cloud computing is the ability to consume and scale compute resources as dictated by your application demands. Suppose you have an instance on AWS provisioned with 1GB and 1vcpu, which was handling the workload perfectly at the time of setup but now you have more active users in the system that available resources can’t handle?. AWS enables you to quickly change your instance type without loosing data.

Amazon EC2 service provides a wide selection of instance types optimized to fit different use cases. Instance types comprise varying combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the appropriate mix of resources for your applications. At the entry level you have t2.micro available for use in the AWS Free Tier, which includes 750 hours of Linux and Windows t2.micro instances each month for one year for new AWS customers.

Change/Resize Instance Type on AWS

I have an instance running on EC2 called web-server. On logging into AWS console and navigating to EC2 section I should be able to search and view the instance.

How To Resize EC2 Instance Type on AWS 01

Note that you can only change instance type when the instance is not in running state. To stop the instance select the instance Instance stateStop Instance.

How To Resize EC2 Instance Type on AWS 02

To confirm that you want to stop the instance, choose the Stop button below.

How To Resize EC2 Instance Type on AWS 03

Use refresh button to confirm new instance state.

How To Resize EC2 Instance Type on AWS 04

Select the instance then choose Actions → Instance SettingsChange Instance Type.

How To Resize EC2 Instance Type on AWS 05

From Instance Type, select the instance type that you want.

How To Resize EC2 Instance Type on AWS 06

Once instance type is selected choose Apply.

How To Resize EC2 Instance Type on AWS 07

To restart the instance after changing instance type, choose Instance stateStart instance. It can take a few minutes for the instance to enter the running state.

How To Resize EC2 Instance Type on AWS 08

You can then login to the instance once started through SSH or session manager and confirm instance specs.

More guides:

LEAVE A REPLY

Please enter your comment!
Please enter your name here