Code Monkey home page Code Monkey logo

awstools's Introduction

AWS Tools

What is AWS Tools?

AWS Tools is a lightweight wrapper that provides short and memorable commands for some of the most commonly-used, but verbose parts of the AWS CLI, and adds convenient logic to the basic AWS CLI commands as needed. It also provides shortcuts to some useful SSH commands for communicating with EC2 instances.

The biggest feature is that EC2 instances are all referenced by their Name tag rather than by ID. If you are diligent about naming your instances, this can make for very short and intuitive commands, e.g.

awstools start my-analysis-box
awstools forward my-analysis-box 8888 # Forward port 8888 to your remote instance

This was mostly for my personal use, but several of my colleagues found it useful so I'm making it publicly available and hope to develop it further and provide some support.

Motivation

The goal of this project is to reduce friction for non-developers wanting to take advantage of AWS for data science and related fields.

I work in a science / data science setting where I and most of my co-workers would consider themselves computationally-fluent, but not software developers. As the pace of data collection increases, there's a desire to take advantage of cloud-based resources, but many balk at the extra steps required to do so. Even a few long commands that have to be memorized or clicks in a web interface that have to be done every time you want to log into your instance can make sitting down at a local machine and instantly being able to run and edit scripts seem more attractive. But with a tad of automation, we can convert repetitive tasks into plain-language commands.

Compatibility and requirements

Should work on Windows, Mac, and Linux. Requires Python 3 (for use of boto3).

Installation

Install from source:

git clone https://github.com/npyoung/awstools.git
cd awstools
pip install .

You might also like

  • SAWS provides shortcuts and autocompletion for the AWS CLI, but adds no additional logic and is run through its own sub-shell.

awstools's People

Contributors

npyoung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rbedi

awstools's Issues

Set a default instance

Use an env var for this, or have something more complex like a .awstools config file.

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.