Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yaseenzafar/cloudformation-networkserverstack

Repository files navigation

Description:

This projects aims to deploy two types of infrastructures. One type of script will deploy network infrastructure and the other will deploy server infrastructure. Following resources will be created for network infrastructure: VPC, Two subnets (Private and Public), Internet Gateway with attachment to VPC. Server infrastructure deploys multiple EC2 instances through Autoscaling group and Userdata script, Elastic Load Balancer.

How to Deploy Network and Server Stack:

Important note: First we deploy Network stack. Then we will deploy Server Stack. Since Network stack has VPC, subnets (private and public), VPC NAT Gateway, Internet Gateway. The server stack is linked to the network stack. If you deploy server stack first then it will fail.

Network Stack:

Type on command prompt/terminal:

./create.sh ourinfra ourinfra.yml network-parameters.json

If any changes are made to the network stack. Then run the following command:

./update.sh ourinfra ourinfra.yml network-parameters.json

How to Deploy Server stack:

Server Stack Deployment:

Type on command prompt/terminal:

./create.sh serverstack serverIAC.yml demoservers.json

If any changes are made to the server stack. Then run the following command:

./update.sh serverstack serverIAC.yml demoservers.json

About

Deployment of AWS network and server stack. Used to host application on multiple private instances with application loadbalancer at front of private instances.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages