Code Monkey home page Code Monkey logo

aws_scripts's Introduction

aws_scripts

A pile of tools I'm creating for managing AWS resources.

Scripts

Most of these scripts assume you use aws_account.sh

API Key Management Scripts

  • aws_account.sh - Store your API Keys in OSX Keychain. This retrieves them, sets other AWS CLI environment Vars
  • rotate_api_keys.sh - This will create a new set of API Creds, store them in KeyChain, and deactivate your current set
  • add_aws_cred.sh - like aws configure but stores keys in the OSX Keychain

Billing Scripts

  • calc_bucket_costs.rb - Figures out the cost of storage for each bucket. Probably not super scalable, so use at your own risk.

Other Scripts

  • enable_ssh_for_my_ip.rb - This will allow you to add or remove your current IP port 22 from a tag instances security group. Obvs requires you to have API access.

Admin Scripts

  • new_account_config.sh - Does things to a brand new account for security & billing purposes.
  • add_user.rb - Creates new user, creates a temp password, creates a LoginProfile, adds them to an existing group, displays a message you can cut-n-paste in email
  • download_api_key.rb - Creates & Downloads an API key for a service account (ie doesn't have a Login Profile). Also allows for deletion of existing keys.
  • cleanup_trails.sh - Removes all traces of cloudtrail. Use with caution, this is mostly for cleaning up hand-made cloudtrails before re-buidling using Cloudformation

Instance Scripts

For scripts that do things to a specific instance, check out https://github.com/turnerlabs/instance-scripts Scripts in that repo: o Chef a node based on instance tags and a chef config bucket o update route53 with the instance's info on boot o Formats and mounts an EBS volume

Cloudformation Templates

aws_scripts's People

Contributors

jchrisfarris avatar nancytao avatar rkuhlke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aws_scripts's Issues

encrypt_all_volumes.py tag on newly encrypted volumes

Hello Chris,
Do you have any hint how we can add tags after volumes are encrypted? I tested your script encrypt_all_volumes.py and I noticed tags are being cpied only on non encrypted volumes, Do you have any clue how we can add this feature?

Regards!
LPV

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.