- EC2 - Elastic Compute Cloud
- ASG - Auto Scaling Group
- ALB - Application Load Balancer
- SG - Secuirty Groups
-
The inputs for the deployment will be provided
- Trough UI if deployment is done using AWS UI.
- Through parameters.json file if the deployment is done using AWS Console.
-
The input variable VersionParameter specifies the app deployment version.
- The Load Balancer DNS details.
- To Create the stack details
aws cloudformation create-stack --stack-name stackName --template-body file://cf_deployment_template.yaml --role-arn roleARN --parameters file://parameters.json
- To describe the stack details (to get the details of stack)
aws cloudformation describe-stacks --stack-name stackName > stackDetails.json
- To Update the stack details
aws cloudformation update-stack --stack-name stackName --role-arn roleARN --parameters file://parameters.json --use-previous-template
- To Delete the stack details
aws cloudformation delete-stack --stack-name stackName