Author:
erics, June 10th, 2021
I wanted to change instance type from t2 to t3, but got an error when i went to start the instance:
|
An error occurred (InvalidParameterCombination) when calling the StartInstances operation: Enhanced networking with the Elastic Network Adapter (ENA) is required for the 't3.large' instance type. Ensure that your instance 'i-04ae4c6f7bfa96e51' is enabled for ENA. |
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 […]
Categories: How-To's, Technology Tags: AWS, AWS Linux, AWS Linux 1, Family, howto, Instance, Instance Family, Instance Type, Linux, t2, t3, tips, Type
|
No comments
Author:
erics, June 30th, 2015
/opt/aws/bin/ec2-metadata | grep placement
Categories: How-To's, Technology Tags: Amazon, Availability Zone, AWS, AZ, cli, ec2-metadata, howto, ID, Instance, Instance ID, meta, metadata, Placement, Region, tips, Zone
|
No comments
Author:
erics, January 20th, 2012
Stop the instance first…YMMV:
|
yourHost# ec2-describe-images describe-images -o amazon --filter "manifest-location=*pv-grub-hd0_1.02-i386*" --region us-east-1 IMAGE aki-805ea7e9 ec2-public-images/pv-grub-hd0_1.02-i386.gz.manifest.xml amazon available public i386 kernel instance-store paravirtual xen yourHost# ec2-modify-instance-attribute --kernel aki-805ea7e9 --region us-east-1 i-39764XXX kernel i-39764XXX aki-805ea7e9 |
http://aws.amazon.com/amazon-linux-ami/latest-release-notes/
Categories: How-To's, Technology Tags: AMI, Amzaon, Attribute, AWS, CentOS, ec2-modify-instance-attribute, GRUB, howto, Instance, instance-attribute, Linux, pv-grub, pvgrub, release, release notes, tips, update, upgrade
|
No comments
Author:
erics, November 8th, 2011
My second article has just been published on CloudSpring.com! This is very exciting for me, and there are going to be more on the way.
Categories: Technology, Wyzaerd Tags: Amazon, backup, CloudSpring, cloudspring.com, DR, EC2, Instance, Recovery, Restore, sitepoint.com
|
No comments
Author:
erics, August 16th, 2011
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
|
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 Private Key ID Here}.pem export EC2_CERT=/path/to/keys/cert-{Your Private Key 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 […]
Categories: How-To's, Technology Tags: Amazon, AMI, AWS, Clone, Cloud, EC2, ec2-register, ec2run, Elastic, Elastic IP, howto, Instance, Register, Snapshot, tips
|
No comments
Author:
erics, August 3rd, 2011
First use SSH to login as the ec2-user:
|
ssh -i AWSKeyPair.pem ec2-user@{NewHostName} % sudo su - # |
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 […]
Categories: How-To's, Technology Tags: .pem, AWS, AWSKeyPair, AWSKeyPair.pem, howto, Instance, key, KeyPair, Launch, root, ssh, su, sudo, tips
|
No comments