I wanted to change instance type from t2 to t3, but got an error when i went to start the instance:
1
2
An error occurred(InvalidParameterCombination)when calling the StartInstances operation:
Enhanced networking with the Elastic Network Adapter(ENA)isrequired forthe't3.large'instance type.Ensure that your instance'i-04ae4c6f7bfa96e51'isenabled forENA.
I found this AWS docs page: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html Below are the steps I need to follow on AWS Linux 1. Summary Steps Pre-flight tests on t2 modinfo ena -> see “ERROR: modinfo: could not […]
Be sure to create regular snapshots of your running instances. If you lose an instance, recover quickly with this procedure. I suggest that you use Elastic IP addresses to make the migration DNS-free. STEP 1: First, setup your environment properly
1
2
3
4
5
6
export EC2_HOME='/opt/aws/apitools/ec2'# Make sure you use the API tools, not the AMI tools
export EC2_BIN=$EC2_HOME/bin
export EC2_PRIVATE_KEY=/path/to/keys/pk-{Your PrivateKey ID Here}.pem
export EC2_CERT=/path/to/keys/cert-{Your PrivateKey ID Here}.pem
export PATH=$PATH:$EC2_BIN
export JAVA_HOME=/usr/java/latest
STEP 2: Create an AMI linked to the snapshot % ec2-register -n YOUR-AMI-NAME -d […]
erics@zeus:/Users/erics # ssh -i foo.pem ec2-user@thehost.foo Last login: Tue Nov 19 20:28:19 2013 from foo.bar __| __|_ ) _| ( / Amazon Linux AMI ___|\___|___| https://aws.amazon.com/amazon-linux-ami/2013.09-release-notes/ No packages needed for security; 7 packages available Run “sudo yum update” to apply all updates. [ec2-user@xyz ~]$ sudo su […]