AWSSnips

From Custard
Jump to: navigation, search

Contents

Amazon Web Services Snippets

AWS CLI

The AWS Command Line tool is a python app, so you'll need to install python and pip first.

Installation

  • sudo apt-get install python
  • sudo apt-get install python-pip
  • sudo pip install awscli
  • aws help

Configuration

  • aws configure
AWS Access Key ID [None]: MYACCESSKEY
AWS Secret Access Key [None]: mysekritkey/asdasd
Default region name [None]: us-west-2
Default output format [None]: json

Config File

  • ~/.aws/config
[default]
aws_access_key_id=MYACCESSKEY
aws_secret_access_key=mysekritkey/asdasd
aws_security_token=mytoken

Some commands

  • aws ec2 describe-instances
  • aws s3 ls
  • aws s3 ls s3://mybucket

S3

EC2 Elastic Compute

API Snippets

Personal tools