AMIMOTO AMI now supports the latest generation of AWS Ec2 Instances Types including C5, M5, and T3 series.
These types are available now for launch but if you have an exsting Instance running AMIMOTO AMI and would like to upgrade, follow these steps.
It's important to note while upgrading to these latest types that a few feature called ENA (Enhanced Network Adapter) is now available and so the steps may have changed.
Check out an official document for more detail of ENA
Note for HVM Users
Only HVM instance can change to C5, M5, T3 series. If you're running AMIMOTO AMI PVM version, you should launch instance with these new series and migrate to them from the current.
Checking ENA availability
Run the following command after SSHing to your instance.
$ modinfo ena
If the instance returned following result, it already supports ENA and no need to update OS in the next step.
$ modinfo ena
description: Elastic Network Adapter (ENA)
author: Amazon.com, Inc. or its affiliates
vermagic: 4.14.33-51.37.amzn1.x86_64 SMP mod_unload modversions
parm: debug:Debug level (0=none,...,16=all) (int)
If the instance returned following error, it doesn't support ENA.
Goto Updating OS step to enable ENA.
$ modinfo ena
ERROR: modinfo: could not find module ena
If the instance returns ERROR when run
modinfo ena command, upgrade OS with following commands.
We strongly recommend creating snapshot via AWS console or AWS-CLI for recovering if an update fails.
$ sudo yum update
Reboot instance after the complete
SSH and run
modinfo ena command to the rebooted instance to check ENA is supported.
After confirming OS supports ENA, let's enable ENA support option on the instance.
This operation should be done with AWS CLI (Command Line Interface).
Before staging, install AWS CLI.
Check official document for installing AWS CLI: Installing the AWS Command Line Interface - AWS Command Line Interface
1. Identify target instance ID on AWS console.
The sample instance ID is
i-xxxxxxxx on the following example of AWS CLI command, replace with your instance ID when you run it.
2. Stop instance for enabling ENA support.
Run the following command to do with AWS CLI.
In this sample, we trimmed any options or parameters like
--region, add them if you need.
$ aws ec2 stop-instances --instance-ids i-xxxxxxxx
3. Enable ENA support
$ aws ec2 modify-instance-attribute --instance-id i-xxxxxxxx --ena-support
4. Change instance type to new one after enabling ENA support.
t3.micro on the following sample command with
--instance-type t3.micro, change it on your demand.
$ ec2 modify-instance-attribute --instance-id i-xxxxxxxx --instance-type t3.micro
If you change to T3, it supports EBS optimised option. You can enable it with following command.
$ aws ec2 modify-instance-attribute --instance-id i-xxxxxxxx --ebs-optimized
Check official document about EBS Optimize: Amazon EBS–Optimized Instances - Amazon Elastic Compute Cloud
5. Final step. Let's start the instance.
$ aws ec2 start-instances --instance-ids i-xxxxxxxx
Welcome to T3