This is a project focusing on building infrastructure as code in AWS
- infrastructure: The folder containing all cloudFormation configuration files to build the app.
- create.sh: A shell script to easily create cloudFormation stack.
- update.sh: A shell script to easily update cloudFormation stack.
- kill.sh: A shell script to easily delete cloudFormation stack.
- servers.yml: Configuration file for server resources.
- network.yml: Configuration file for network parameters.
- network-params.json: Parameters for network configuration file.
- server-parameters.json: Parameters for servers configuration file.
- screenshots: The folder containing screen shots of stack creation events and outputs.
-
Go to infrastructure folder
-
create network infrastructure using the following command:
./create.sh udagram-network network.yml network-params.json
-
create server resources using the following command:
./create.sh udagram-servers servers.yml server-parameters.json
-
To check if the server is working or not, go to the following link:
http://udagr-webap-erav97ltwa1f-2144831197.us-east-1.elb.amazonaws.com/