Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.45 KB

README.md

File metadata and controls

63 lines (38 loc) · 2.45 KB

Amazon Web Services Helper Scripts

A set of scripts designed to ease the pain of working with Amazon Web Services (EC2 and S3). Based on Sean Bannister's original.

If you're looking for the original version from Sean it's in the 1.x branch.

The script has been updated to use awscli instead of ec2-api-tools, ec2-api-tools had those 19 java dependencies.

📖 Getting Started

The awscli that was included in your instance should be enough to get started.

💾 Install and Usage

Make a copy of the scripts and execute the appropriate one.

git clone https://github.com/stationgroup/aws-helper-scripts/

Change directories to the scripts: cd aws-helper-scripts/bin

Example usage:

aws-helper-scripts/bin/i-create-volume /dev/xvdf /ebs none 80


i-create-volume - Create an EBS Volume. Then call i-attach-volume to Attach, Format and Persistently Mount the EBS Volume

i-attach-volume - Attach, Format and Persistently Mount an EBS Volume

ln-mv - Move a directory to an EBS volume and symlink from the original location to the EBS location. If the EBS volume already contains the directory we're trying to move to it just delete the original directory and create a symlink.



Credit

Based on Sean Bannister's original.

Thanks goes entirely to Sean Bannister:


Sean Bannister

📖

Contributions of any kind are welcome!

AWS Helper Scripts

By Sean Bannister (www.SeanBannister.com)

s3 scripts were originally developed by Raphael James Cohn as part of s3-bash (http://code.google.com/p/s3-bash/)

These scripts were designed to simplify interaction with AWS on an EC2 instance.