This application deploy apache web-server on aws ec2 instance using cloudformation script.
Link to Loadbalancer LBDSNname
'Note:' this linnk won't be avalaible after feedback from tutor verify assignment
- VPC - Virtual Private Cloud for all the resources which shared connection under CIDR
- InternetGateway - Creating connection from outside word to the servers at port :80
- subnets [2Publics & 2Privates] - creating Sub Cidr with extra protection
- Availability Zones - Creating resources for multiple region for high availability and high availability
- NAT Gateway - NAT Gateway provide communication from the private subnets with the public subnets
- Instances [2each for each AZ] - This Instance is install on the Private subnets and run apache
- LoadBalancer - This is connected to Internet Gateway which provide request balance to all resources and check Heathy of resources
- AutoScaling - Increasing and decrease instance base on instance state and request demands
- RouteTable - This bring about communication between resourses in vpc - security layer
- S3 buckets - store simple webpage (index.htm) that
- IAM role - intance role to have access to s3 buckets
This folder provides the supporting material and starter code for the "ND9991 - C2- Infrastructure as Code" course. This folder contains the following folders:
- project_starter - It contains the starter code.
- project_starter/README.md - AWS cloudformation commands to run.
- create.sh - The file contain aws cloudformation cammand for creating stack
- create.sh - The file contain aws cloudformation cammand for updating stack
- images/udagram - Luci Diagram for udagram
You would require to have an AWS account to be able to build cloud infrastructure.
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.
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 <stack_name> <file-dirname.yml> <file-dirname-to-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 <stack_name> <file-dirname.yml> <file-dirname-to-parameters.json>