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

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

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

Enter the new instance type in the New instance type field (e.g. m3.xlarge).
Scroll down and click on Change Instance Type button.

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

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.