Giter Site home page Giter Site logo

awsdemo's Introduction

AWSDemo

Amazon Web Services Demo

What I attempted to create here was a small tool that could spin up EC2 instances, list the instances that are active, and terminate them. I had a good deal of trouble getting the AWS SDK set up on the command line, but was able to get things working well in Eclipse using the Eclipse AWS SDK plugin.

To make the program something others could demo I turned it into a jar file. The jar file has a few different requirements though.

The first requirement is to set up group settings as follows:

On the aws dashboard under Network & Security select "Security Groups", click "Create Security Group" set Security Group Name to "bitcrusher" under the inbound tab select "Custom TCP Rule" under type, select "TCP" under Protocol, enter "22" in the port range, and set source to "My IP" then click "Create".

The second requirement is that credentials are set up as follows:

If the .aws directory is nonexistant: cd mkdir .aws cd .aws touch credentials nano credentials

Put in configuration information as: [default] aws_access_key_id = your access key id aws_secret_access_key = your access key

Usage is as follows: java -jar DemoRunner.jar Options: -l list instances, -g generate key, -i new instance, -t terminate instances

On first use generate a key, then use the same key name to create an instance. Follow instructions to connect. Then when finished terminate instances.

All of these instructions assume that you are on a linux based machine.

My main intention was to produce a tool to quickly spin up an EC2 instance with all of the information to ssh to that instance and then terminate the instance.

Screenshots are in the screenshots folder.

awsdemo's People

Contributors

meneal avatar

Watchers

James Cloos avatar  avatar

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.