While try to convert C4,M4,T2,R3 instance in C5 instance basically we get below error.
Error starting instances
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'c5.xlarge' instance type. Ensure that your instance 'i-0de56fe4bb5f3ba27' is enabled for ENA.
So we have to follow below steps.
modinfo ena this will show ena support is on or not if not then do yum update and reboot instance
ethtool -i eth0 check ena module is loaded
configure aws cli on another instance from that instance your can query your instance status
aws ec2 describe-instances --instance-ids i-040b1236aXXXXX --query 'Reservations[].Instances[].EnaSupport'
configure aws cli on another instance from that instance your can query your AMI status
aws ec2 describe-images --image-id ami-2XXXXX --query 'Images[].EnaSupport'
command to enable ena support
aws ec2 modify-instance-attribute --instance-id i-040bXXXX--ena-support
Backup your instance and create AMI for safer side.
First run yum update on your instance which help to install ena support driver then shutdown instance and query for ena support if value come null means need to modify instance and enable ena support. if value come true means you can upgrade instance as C5.
For ena support AMI first create instance and make ena support and then take new AMI.
Error starting instances
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'c5.xlarge' instance type. Ensure that your instance 'i-0de56fe4bb5f3ba27' is enabled for ENA.
So we have to follow below steps.
modinfo ena this will show ena support is on or not if not then do yum update and reboot instance
ethtool -i eth0 check ena module is loaded
configure aws cli on another instance from that instance your can query your instance status
aws ec2 describe-instances --instance-ids i-040b1236aXXXXX --query 'Reservations[].Instances[].EnaSupport'
configure aws cli on another instance from that instance your can query your AMI status
aws ec2 describe-images --image-id ami-2XXXXX --query 'Images[].EnaSupport'
command to enable ena support
aws ec2 modify-instance-attribute --instance-id i-040bXXXX--ena-support
Backup your instance and create AMI for safer side.
First run yum update on your instance which help to install ena support driver then shutdown instance and query for ena support if value come null means need to modify instance and enable ena support. if value come true means you can upgrade instance as C5.
For ena support AMI first create instance and make ena support and then take new AMI.
1 comments:
Thanks for providing, i learn new thing from your blog. Keep update new things AWS Online Training
Post a Comment