CloudFormation in AWS
knowledge domain: cloud infrastructure
- a service that helps you define and manage your infrastructure as code
- a tool to model & automate infrastructure on AWS
- using declarative templates
- wirtten in YAML or JSON
- using declarative templates
- instead of:
- manually creating & configuring AWS resources
- you will:
- write a template
- that describes the resources & their configurations
- write a template
- CloudFormation takes care of:
- provisioning &
- managing them
AWS resources / AWS core services
- EC2 Instances
- Elastic Compute Cloud
- a virtual server in the cloud that you can use just like a physical computer
- Think of EC2 as your cloud-based computer that runs your code or hosts your website.
- instance:
- a single virtual server that you run in the cloud
- to describe a running copy of something
- a running instance of a server
- You choose a type (like t2.micro or m5.large), and AWS launches a new instance based on that
- Elastic Compute Cloud
- S3 Buckets
- Simple Storage Service
- a cloud storage service used to store & retrieve any amount of data
(files, images, backups, etc) - Think of an S3 bucket as a folder in the cloud where you can store and retrieve files from anywhere.
- a cloud storage service used to store & retrieve any amount of data
- Object storage (a feature):
- Stores files (called objects) in containers called buckets
- i.e.,
- objects: files
- buckets: container to store files
- Simple Storage Service
- VPCs
- Virtual Private Cloud
- A virtual network where you launch and isolate your AWS resources (like EC2 or databases).
- Think of a VPC as your own private data center in the AWS cloud, with full control over networking and security.
- Virtual Private Cloud