This is a sample of how to build a vpc and its surrounding services
Here's why: I want to communicate my work through Github. This time the first installment of the series.
This is an example how to build vpc and so on.
-
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"
-
Clone the repo
git clone https://github.com/oakatgyro/aws-vpc-infra-sample.git
-
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 -
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 -
check your aws account
oakatgyro - @TdHTXeSAeZjE6Tf - [email protected]
Profile Link: https://github.com/oakatgyro/