GithubHelp home page GithubHelp logo

aws-noinstances's Introduction

AWS with no instances

Look Mom, No Instances!

Cloud is fun, but sometimes it is a bit tedious to manage all the instances and networks. Even PaaS offerings fail to abstract away the infrastructure, and instead offer nodes and whatnot. What if you could deploy code to a major cloud platform without ever seeing any notion of virtual machines or load balancers? Well now you can!

Amazon Web Services

Amazon Web Services has published a set of new services:

With these, we will have the compute infrastructure for our REST server. Add some storage services and we are all done:

Getting started

Install prerequisites Ansible and AWS CLI:

sudo pip install awscli ansible

Install Amazon API Gateway Importer under tools/:

cd tools
git clone https://github.com/awslabs/aws-apigateway-importer
cd aws-apigateway-importer
mvn assembly:assembly

Set your account-related variables:

cd ../../src/config/
cp secrets_example.yml secrets.yml
nano secrets.yml

Finally export your IAM credentials as environment variables and run deployment:

cd ../../
. tools/export_env_variables.sh credentials.csv
./deploy.sh

Advanced

Once you have deployed the stack, you can shave off a second or two (yeaaah!) from deploying the lambda functions with:

./deploy.sh --skip-tags=base

Defining APIs

Unfortunately, as of September 5th 2015, CloudFormation and Boto do not support API Gateway (see thread and issue). However AWS Labs has published an import tool that allows us to define APIs with Swagger. Swagger in turn provides an editor for creating API specifications.

aws-noinstances's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jnupponen

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.