background preloader

AWS

Facebook Twitter

Setting Up the Amazon EC2 Command Line Interface Tools on Linux/UNIX. The Amazon EC2 command line interface tools (also called the CLI tools) wrap the Amazon EC2 API actions. These tools are written in Java and include shell scripts for both Windows and Linux, OS X, or Unix. Note Alternatively, you can use the AWS Command Line Interface (CLI), which provides commands for a broad set of AWS products, including Amazon EC2. To get started with the AWS CLI, see AWS Command Line Interface User Guide. For more information about the AWS CLI commands for Amazon EC2, see ec2. Before you can use the Amazon EC2 CLI tools on your computer or your instance, you must install the tools and set the environment variables used by the tools.

Setting Up the Amazon EC2 CLI Tools on Amazon Linux Instances that you launch using an Amazon Linux AMI already include the Amazon EC2 CLI tools. Each time you use the Amazon EC2 CLI tools on your instance, you must provide your identity. Export AWS_ACCESS_KEY=your-aws-access-key-id export AWS_SECRET_KEY=your-aws-secret-key Important. Chrome Extension: Resolution Test | Ben Beckford's Blog. Evenin, I was just thinking about creating a background for my Twitter page when I thought it would be useful if there was a chrome extension that would resize your window to mimic different display resolutions. I did a search but I couldn’t find one, so I thought I’d have a go at creating one myself. I haven’t done a lot of javascript before and its still very rusty, but if you’re running chrome on the dev branch you can install the extension here. Enjoy -Ben [Thanks to famfamfam for the icons] This has become incredibly popular!!

Get it here, or at the official extensions site Current version: 2.0 Changelog: User-Agent Switcher for Chrome. Automate EC2 Instance Setup with user-data Scripts. User-data Scripts The Ubuntu and Debian EC2 images published on allow you to send in a startup script using the EC2 user-data parameter when you run a new instance. This functionality is useful for automating the installation and configuration of software on EC2 instances. The basic rule followed by the image is: If the instance user-data starts with the two characters #!

Then the instance runs it as the root user on the first boot. The “user-data script” is run late in the startup process, so you can assume that networking and other system services are functional. If you start an EC2 instance with any user-data which does not start with #! This same user-data startup script functionality has been copied in the Ubuntu images published by Canonical, and your existing user-data script should be portable across images with little change. Example Here is a sample user-data script which sets up an Ubuntu LAMP server on a new EC2 instance: #! Debugging Limitations Security Software. Amazon ec2 - How to fire EC2 instances and upload/run a startup script on each of them. Setting Up the Amazon EC2 Command Line Interface Tools on Linux/UNIX.