Git Product home page Git Product logo

awsquickstart's Introduction

Aviatrix - AWS Quickstart script for CloudFormation

Description

This CloudFormation script will create the following:

  • One Aviatrix Controller EC2 Instance (named AviatrixController).
  • One Aviatrix Security Group (named AviatrixSecurityGroup).
  • One Aviatrix Role for EC2 (named aviatrix-role-ec2) with corresponding role policy (named aviatrix-assume-role-policy). Click here for this policy details
  • One Aviatrix Role for Apps (named aviatrix-role-app) with corresponding role policy (named aviatrix-app-policy) Click here for this policy details

Quickstart lite:

If you only need to create the roles and policies, and plan to manually start the Aviatrix controller instance, use the Quickstart lite version. For lite version instructions click here

Pre-requisites:

  • An existing VPC.
  • A public subnet on that VPC.
  • An internet gateway attached to the VPC.
  • KeyPair.
  • In order to use the Aviatrix Controller first you need to accept the terms and subscribe to it in the AWS Marketplace. Click here

Note: this script does NOT check that the subnet selected is on the same VPC selected, you need to make sure you are selecting the right combination.

Note 2: this script does NOT check that an Internet Gateway is created and attached to the VPC. If this is missing there will be no way to access the Aviatrix Controller.

Step by step Procedure:

  1. Access your AWS Console.

  2. Under Services -> Management Tools.

 Select CloudFormation.

OR

 Search for CloudFormation.
  1. At the CloudFormation page, Select Create stack.

  2. On the next screen, Select "Upload a template to Amazon S3".

  Choose file -> aviatrix-aws-quickstart.json

Note: the aviatrix-aws-quickstart.json file can be found in this project, click here for direct download.

  1. Click next.

  2. On the Stack Name textbox, Name your Stack -> Something like AviatrixController

  3. Select the following parameters:

  • VPC
  • Subnet
  • KeyPair Name
  • Controller Size selection
  • Aviatrix IAMRole (select no if this is the first time you are launching Aviatrix Controller, i.e., no aviatrix-role-ec2 IAM role and associated security policies have been created.)
  1. Click next

  2. Especify your options/tags/permissions as per your policies, when in doubt just click next.

  3. On the review page, scroll to the bottom and check the button that reads: I acknowledge that AWS CloudFormation might create IAM resources with custom names.

  4. Click on Create.

  5. Verify that the instance, roles and policies has been created and associated accordingly.

  6. Enjoy! You are welcomed!

Caveats:

  • There is no current automated way to check if the VPC/Subnet/IGW are all in place and correctly configured. Manual creation of those elements is required.

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.