Skip to content
English
  • There are no suggestions because the search field is empty.

AWS - Change Instance Type

This is quick guide on how to resize an AWS EC2 Instance *** THIS IS AFTER HOURS WORK ONLY ***

This will be done mid-november leading up to the Holiday rush, then done again in mid-January after the holidays.

The first step in resizing an instance in our AWS environment is to disable the Lamda job that automatically restarts a server once it has entered a stopped state.

 Put a # in front of the server to comment out that line, and deploy the code.

Now go to AWS > EC2 and stop the instance you are looking to resize.

Check the box next to the instance, click on Instance State and select Stop Instance

aws_stop instance

Once the instance is stopped you can resize it under Actions > Instance Settings > Change Instance Type.

aws_change instance type

Within Change Instance Type is where you will set the Instance type.

change instance type_2

Enter the new instance type in the New instance type field (e.g. m3.xlarge).

Scroll down and click on Change Instance Type button.

aws_change instance type 3

Restart the Instance (Instance state > Start Instance) and it will come back up as the new instance type. 

aws_start instance

Verify that the server has come back up properly by logging onto the server you've updated.

Final step is to go back into Lambda remove the # and deploy the change to enable the server to autostart when in a stopped state.