How To List Running AWS Instances in all Regions Sorted by LaunchTime and Email in a Monospaced Font

Author: , July 1st, 2019

How To Fix Peer Not Authenticated Errors While Using AWS API Tools

Author: , February 9th, 2016

I was getting the following errors when using an older version of the Amazon EC2 API Tools: $ ec2-describe-regions Unknown problem connecting to host: ‘https://ec2.amazonaws.com’ Unable to execute HTTP request: peer not authenticated The solution was to upgrade to the latest AWS CLI tools and start using the aws command instead. For example: aws ec2 […]

How To install Boto on Amazon Linux using yum and pip

Author: , August 15th, 2013

How To Add AWS EC2 API Tools to Ubuntu AMI Instance

Author: , March 28th, 2013

https://help.ubuntu.com/community/EC2APITools https://help.ubuntu.com/community/Repositories/CommandLine#Adding_the_Universe_and_Multiverse_Repositories As root in /root: vim /etc/apt/sources.list ## Added to the bottom: deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse apt-get update apt-get install sun-java5-jre apt-get install unzip wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-34128.zip unzip ec2-api-tools-1.3-34128.zip export EC2_HOME=/root/ec2-api-tools-1.3-34128 export PATH=$PATH:$EC2_HOME/bin mkdir .pem Copy downloaded X.509 private key and cert into […]

How To Install ec2-consistent-snapshot On AWS/CentOS

Author: , December 30th, 2011

http://alestic.com/2009/09/ec2-consistent-snapshot http://www.thatsgeeky.com/2011/05/ec2-consistent-snapshot-on-amazons-linux-ami/ http://www.thatsgeeky.com/2011/06/rotating-ebs-snapshots-ec2-prune-snapshots/

Automating Amazon EC2 Instance Backup and Recovery

Author: , 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.

How To Install rpc.rstatd On CentOS

Author: , October 26th, 2011

UPDATE on 8/16/2016 – Source code patched to support new AWS Linux 4.9 kernel. UPDATE on 7/12/2016 – Source code patched to support new AWS Linux 4.4 kernel. UPDATE on 11/9/2015 – Source code patched to support new AWS Linux 4.1 kernel. UPDATE on 7/15/2014 – Source code patched to support new AWS Linux 3.10 […]

How To Create A New AWS Instance From A Snapshot

Author: , 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

STEP 2: Create an AMI linked to the snapshot % ec2-register -n YOUR-AMI-NAME -d […]

How To Find The Instance ID In AWS EC2

Author: , January 8th, 2011

UPDATE: # yum install ec2-utils # rpm -ql ec2-utils /etc/udev/rules.d/51-ec2-hvm-devices.rules /opt/aws/bin/ec2-metadata /sbin/ec2udev # ec2-metadata -i | awk ‘{print $2}’ Just wrote a script for BudgetTravel.com and needed to determine the Instance ID. Here is how: $ wget http://s3.amazonaws.com/ec2metadata/ec2-metadata $ chmod u+x ec2-metadata $ ./ec2-metadata -i # ec2-metadata -i | awk ‘{print $2}’ > /etc/instanceid Link […]