Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.68 KB

README.md

File metadata and controls

88 lines (58 loc) · 1.68 KB

aws-vpc-infra-sample

This is a sample of how to build a vpc and its surrounding services

About The Project

Here's why: I want to communicate my work through Github. This time the first installment of the series.

Getting Started

This is an example how to build vpc and so on.

diagram

Prerequisites

  • jq(Link)

    sudo apt-get install jq # Linux sample
  • aws-cli (Link)

    aws --version
    # show version
  • Setting profile

    Edit your aws profile

    [dev]
    aws_access_key_id = XXXXXXXXX
    aws_secret_access_key = XXXXXXXXX
    
    [stg]
    aws_access_key_id = XXXXXXXXX
    aws_secret_access_key = XXXXXXXXX
    
    [prd]
    aws_access_key_id = XXXXXXXXX
    aws_secret_access_key = XXXXXXXXX"
    

Installation

  1. Clone the repo

    git clone https://github.com/oakatgyro/aws-vpc-infra-sample.git

Usage

  1. build

    ./build.sh dev us-east-1
    Argument AllowedValues Description
    env dev, stg, prd the envionment
    region us-east-1, eu-west-1, ap-north-east-1 the region
  2. deploy

    ./build.sh dev us-east-1
    Argument AllowedValues Description
    env dev, stg, prd the envionment name
    region us-east-1, eu-west-1, ap-northeast-1 the region name
  3. check your aws account

Contact

oakatgyro - @TdHTXeSAeZjE6Tf - [email protected]

Profile Link: https://github.com/oakatgyro/