Infrastructure as Code (IaC). Write a recipe (YAML), and let AWS cook the infrastructure (Stack) for you.
A YAML file that describes the end state.
"I want 1 VPC and 2 EC2 instances."
The actual collection of resources created from your template. You manage them as a single unit.
When someone manually changes a resource (e.g., deletes a rule) so the Stack no longer matches the Template.
Ready for the real thing? Follow this guide to deploy a VPC, ALB, and ECS cluster using the provided zip file.
You need the command line tool to talk to AWS. Open your terminal and type:
If it says "command not found", download it here: AWS CLI Installer
Go to the AWS Console > IAM > Users > Security Credentials.
Click Create Access Key. You will get two strings:
โ ๏ธ Save these! You won't see the secret again.
Run this command and paste your keys when asked:
Region: us-east-1 (or your preferred region)
Output format: json
We have prepared a zip file with clean, production-ready code.
It contains a deploy.sh script that handles the complex commands for you.