This is my second project in Advanced Cloud DevOps Nanodegree Program from udacity
Creating this project will give you the hands-on experience you need to confidently talk about infrastructure as code. We have chosen a realistic scenario where you will deploy a dummy applicationto the Apache Web Server running on an EC2 instance
Scenario
Your company is creating an Instagram clone called Udagram.
Developers want to deploy a new application to the AWS infrastructure.
You have been tasked with provisioning the required infrastructure and deploying a dummy application, along with the necessary supporting software. This needs to be automated so that the infrastructure can be discarded as soon as the testing team finishes their tests and gathers their results.
Screen Shoots/
: some of screen shoots show that inferstructure up and runningDiagrams/
: Diagram of infrastructure architectureUdagramNetwork.yml
: CloudFormation Template file to provision Network componentsUdagramServer.yml
: CloudFormation Template file to provision Servers componentscreate.bat
: Batch script wich will Create cloudformation stack inus-west-2
Regionupdate.bat
: Batch script wich will Update cloudformation stack inus-west-2
Region
- Manually create and download keypair called
private-ec2-devops
All generated ec2 will use this key to communicate through ssh For debugging purposes - create Required Network infrastructure (i.e VPC, Subnets, Getway , Elastic IPs and Route tables),after run the following command go to cloudformation service in aws console and make sure that there is stack called
UdagramNetwork
created successfullycreate.bat UdagramNetwork UdagramNetwork.yml UdagramNetworkParameters.json
- create Required Servers infrastructure ( autoscalling group , Security gruoups , load balancers)
create.bat UdagramServers UdagramServer.yml UdagramServerParameters.json