Upgrading the AWS EC2 Instance From M4 to M5 Type
- 31 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Upgrading the AWS EC2 Instance From M4 to M5 Type
- Updated on 31 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
As of CTERA Portal 6.0.552 CTERA recommends using the M5 family of EC2 instances. CTERA Portals using a M4 instance type can be upgraded to an M5 instance type.
To upgrade an M4 instance to an M5 instance:
- Record the instance id,
instance_id
, of the M4 instance. This is used throughout the following procedure. - From another VM run the following CLIs:
- Stop the portal M4 instance:
aws ec2 stop-instances --instance-id ${ instance_id }
- Enable Elastic Network Adapter (ENA):
aws ec2 modify-instance-attribute --instance-id ${ instance_id } --ena-support
- Change the instance type to M5, for example to change an M4.xlarge instance to an M5.xlarge instance:
aws ec2 modify-instance-attribute --instance-id ${ instance_id } --instance-type "{\"m4.xlarge\": \"m5.xlarge\"}"
- Start the portal M5 instance:
aws ec2 start-instances --instance-id ${ instance_id }
- Stop the portal M4 instance:
For full details, refer to AWS documentation.
Was this article helpful?