Skip to content

Ercolino/aws-high-availability-webapp-iac

Repository files navigation

Deploy a high-availability web app using AWS CloudFormation.

This is the second project of the Udacity Nanodegree Program "Cloud Dev Ops Engineer". The goal was running a high available web app using Infrastructure as Code.

You can take a look in the infrastructure diagram here.

Preconfig

You need to install AWS CLI.

Then configure it like the following example:

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

Help scripts

Run this commands ...

  • to create a stack:
./scripts/create.sh <STACK_NAME> <YML TEMPLATE> <JSON PARAMETERS FILE>
  • to update a stack:
./scripts/create.sh <STACK_NAME> <YML TEMPLATE> <JSON PARAMETERS FILE>
  • to delete a stack:
./scripts/delete.sh <STACK_NAME>

How to access the deployed website

An output is provided with the Website URL

About

Deploy a high-availability web app using CloudFormation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published