How do I get more CPU and memory for my EC2 instance?
Last updated: 2019-04-26
I want to change or add something to my Amazon Elastic Compute Cloud (EC2) instance:
- Number of CPU cores
- Amount of RAM
- EBS optimization
- Enhanced networking
- GPU cores
How do I change the specifications of my instance?
Be aware of the following before resizing your instance:
- You must stop your instance before you change instance types.
- If this instance has an instance store volume, you will lose any data on it when the instance is stopped. Migrate your instance store-backed instance before you resize.
- If you are not using an Elastic IP Address, the public IP address will be released when you stop the instance.
- It is a best practice to maintain backups of your instances and data. Consider creating an AMI or creating snapshots of your EBS volumes before you make any changes to your infrastructure.
For instructions to resize your instance, see Changing the Instance Type.