View EC2 Instances via Command Line Using ec2-describe-instances

Running ec2-describe-instances from the command line where you have AWS developer tools installed will display information about running instances. Example:To view instances simply run ec2-describe-instances To view detailed help information run ec2-describe-instances –help  SYNOPSIS     ec2din (ec2-describe-instances)     ec2din [GENERAL OPTIONS] [INSTANCE [INSTANCE […]]]  GENERAL NOTES     Any command option/parameter may be passed a value of ‘-‘ to indicate   […]

AWS Elastic Load Balancing

Elastic Load Balancing provides round robin web call distribution across a set of identical web instances. In addition to ease of administration it keeps an eye on the health of instances in the pool and auto routes traffic around any problem instances that show up. Here is the summary from Amazon. Elastic Load Balancing – […]

AWS EC2 Windows Passwords, Users, and Authentication

The default password on the Windows Administrator account is set automatically on all instances to a random value by the ec2Config service. You can retrieve the password originally set by using the ec2-get-password command, as shown here: C:>ec2-get-password i- -k gsg-keypair.txt Alternatively, you may use the “Get Administrator Password” command in ElasticFox by right-clicking on […]

A quick overview of PuTTY and SSH for AWS Newbies

Linux Access with SSH & PuTTY This post will (attempt) to explain what SSH and PuTTY are so that as a user you understand the terminology of AWS and so that you can be productive in the environment. This post will not attempt to make you an expert in SSH. For best practices in implementing […]

Connecting to AWS EC2 (Linux) Instance With PuTTY via SSH

In order to connect to an Amazon Web Services EC2 Linux instance using PuTTY over SSH you must generate a PPK file from your private key, then import the PPK to PuTTY.  PuTTY does not natively support the private key format generated by Amazon EC2, therefore PuttyGen must be used to convert keys to its internal format. First, associate the […]

Linux Crontab Cheat Sheet

### Crontab Configuration: updates site every day at 0327 hours as root – shouldn’t tax the server to run every day### On several of my sites, I run this command every hour with little impact### REFERENCE –> REFERENCE –> -e27 3 * * * perl /usr/local/awstats/wwwroot/cgi-bin/ -update >/dev/null 2>&1 ######################### CRONTAB syntax* […]

Escaping Restrictive/Untrusted Networks with OpenVPN on EC2

Perhaps you are behind a corporate firewall which does not allow you to access certain types of resources on the Internet. Or, perhaps you are accessing the Internet over an open wifi where you do not trust your network traffic to your fellow wifi users or the admins running the local network. These instructions guide […]