Upgrading the AWS EC2 Instance From M4 to M5 Type
  • 31 Mar 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Upgrading the AWS EC2 Instance From M4 to M5 Type

  • Dark
    Light
  • PDF

Article Summary

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:

  1. Record the instance id, instance_id, of the M4 instance. This is used throughout the following procedure.
  2. From another VM run the following CLIs:
    1. Stop the portal M4 instance: aws ec2 stop-instances --instance-id ${ instance_id }
    2. Enable Elastic Network Adapter (ENA): aws ec2 modify-instance-attribute --instance-id ${ instance_id } --ena-support
    3. 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\"}"
    4. Start the portal M5 instance: aws ec2 start-instances --instance-id ${ instance_id }

For full details, refer to AWS documentation.


Was this article helpful?