/udacity-aws-devops-prj2

Solution to udacity's project 2.

Primary LanguageShellMIT LicenseMIT

Udagram (Udacity AWS DevOps Prj. 2)

Solution to udacity's project 2 by Lars Maertins.

Link to the solution: Deployed Solution

alt text Lucidchart link

Usage

Creation

In order to create the Infrastructure you can use the scripts:

./scripts/create.sh udagram-network network.yml network-parameters.json

In order to create your server infrastructure you can use the following as soon as the previous CloudFormation stack completed execution.

./scripts/create.sh udagram-servers server.yml server-parameters.json

Updates

The WebAppGroup contains an update policy in order to terminate and relaunch the instances one by one while the service keeps working.

./scripts/update.sh udagram-network network.yml network-parameters.json
./scripts/update.sh udagram-servers server.yml server-parameters.json

Bastion Host

The server-with-bastion.yml file contains an update which uses a Bastion Host which enables to ssh into your EC2 instances which are located in the private subnet. If you already ran the server.yml file, you can update them via

./scripts/update.sh udagram-servers server-with-bastion.yml server-parameters.json

Otherwise you can create the whole infrastructure using

./scripts/create.sh udagram-servers server-with-bastion.yml server-parameters.json