Convert a t2 instance to t3

0

Is it possible to change an old t2.micro instance to the new t3.micro instance type? What are the necessary steps to follow? What should I take care?

profile picture
fedkad
asked 6 years ago4944 views
7 Answers
0

It seems that ENA should be enabled in the old instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html

Any comments?

profile picture
fedkad
answered 6 years ago
0

Fixed the problem. I had to use UUID format in fstab in my case.

Follow https://github.com/awslabs/aws-support-tools/tree/master/EC2/C5M5InstanceChecks

https://aws.amazon.com/premiumsupport/knowledge-center/boot-error-linux-m5-c5/

Edited by: Bali on Aug 24, 2018 2:33 PM

Edited by: Bali on Aug 24, 2018 2:34 PM

Bali
answered 6 years ago
0

even enabling ENA on the old instance doesn't let me change the instance type to t3, nor launch from an AMI \[that also has ENA supported]

https://forums.aws.amazon.com/thread.jspa?threadID=290005

if you got this to work, please let me know how

Edited by: finderful on Sep 17, 2018 7:54 PM

answered 6 years ago
0

I haven't done any further tests on this subject. It was just a theoretical question. More detailed AWS documentation may be needed on this topic.

profile picture
fedkad
answered 6 years ago
0

I've gotten stuck in the same issue.

Although ENA is installed on my T2 instance, I can not select T3 instance when lunching from the AMI that created from the T2 instance.

The results below belongs to my T2 istance:

ubuntu@ip-333-33-33-333:~$ modinfo ena
filename:       /lib/modules/4.15.0-45-generic/kernel/drivers/net/ethernet/amazon/ena/ena.ko
version:        2.0.2K
license:        GPL
description:    Elastic Network Adapter (ENA)
author:         Amazon.com, Inc. or its affiliates
srcversion:     D8DA28B2F4C946755883EE8
alias:          pci:v00001D0Fd0000EC21sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd0000EC20sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd00001EC2sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd00000EC2sv*sd*bc*sc*i*
depends:        
retpoline:      Y
intree:         Y
name:           ena
vermagic:       4.15.0-45-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           debug:Debug level (0=none,...,16=all) (int)
efkant
answered 5 years ago
0

In the end, I could manage by running the command of

aws ec2 modify-instance-attribute --instance-id i-c7746f20 --ena-support
efkant
answered 5 years ago
0

This worked for me - after making sure the instance was in a stopped state

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions