/nd9991-c2-Infrastructure-as-Code-v1

Repository for starter code and supporting material

Primary LanguageShell

ND9991 - C2- Infrastructure as Code - Supporting Material and Starter Code

This folder provides the supporting material and starter code for the "ND9991 - C2- Infrastructure as Code" course. This folder contains the following folders:

  1. project_starter - It contains the starter code.
  2. supporting_material - It contains the essential files (.yml, .json, .bat, .sh, and .jpeg) that were referred in the different lessons of this course.

In addition to the current repo, there is one more repository, nd9991-c2-Infrastructure-as-Code-v1-Exercises_Solution that contains the solution to the exercises and video demos.

Dependencies

1. AWS account

You would require to have an AWS account to be able to build cloud infrastructure.

2. VS code editor

An editor would be helpful to visualize the image as well as code. Download the VS Code editor here.

3. An account on www.lucidchart.com

A free user-account on www.lucidchart.com is required to be able to draw the web app architecture diagrams for AWS.

How to run the supporting material?

You can run the supporting material in two easy steps:

# Ensure that the AWS CLI is configured before runniing the command below
# Create the network infrastructure
# Check the region in the create.sh file
./create.sh myFirstStack network.yml network-parameters.json
# Create servers
# Change the AMI ID and key-pair name in the servers.yml
# Check the region in the update.sh file
./update.sh mySecStack servers.yml server-parameters.json