Some times we might need to increase or decrease the size of an AWS EC2 instance for many reasons. We can achieve this without losing any data or much down time.
- Stop the instance.
- Select the instance and from the Actions menu, select Instance settings then select Change instance type.
- Select the desired instance type in the next window and apply.
- While changing the size you might need to consider the dependencies for the applications that are running on the machine.
- Once the settings applied and you can see the type of instance changed, Start the instance and verify the functionality.