This folder provides the starter code for the "ND9991 - C2- Infrastructure as Code - Deploy a high-availability web app using CloudFormation" project. This folder contains the following files:
final-project-starter.yml Students have to write the CloudFormation code using this YAML template for building the cloud infrastructure, as required for the project.
server-parameters.json Students may use a JSON file for increasing the generic nature of the YAML code. For example, the JSON file contains a "ParameterKey" as "EnvironmentName" and "ParameterValue" as "UdacityProject".
In YAML code, the ${EnvironmentName} would be substituted with UdacityProject accordingly.
aws configure
# Create the infrastructure
# Clone the repo
git clone https://github.com/mustafaDevop/high-availability-web-app
# Change directory
cd high-availability-web
# Make the script executable
sudo chmod +x create-servers.sh
# Run the script, replace {stack-name} with your own stack name
./create-servers.sh {stack-name}
# Make the script executable
sudo chmod +x update-servers.sh
# Run the script, replace {stack-name} with your own stack name
./update.sh {stack-name}
# Make the script executable
sudo chmod +x delete-servers.sh
# Run the script, replace {stack-name} with your own stack name
./delete.sh {stack-name}
http://udacity-loadbalancer-1215285312.us-west-2.elb.amazonaws.com/