Service · Management and Governance · CLF-C02 အပေါ် ဆက်လေ့လာရန်
AWS CloudFormation
Change sets, drift detection, StackSets, nested stacks and deletion policies keep infrastructure correct and repeatable.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- CloudFormation builds resources from a template, as one unit called a stack.
- A change set previews changes. A failed update rolls back by default.
- Drift detection finds changes made outside it. StackSets deploy to many accounts and Regions.
Change set
- Surprise changes from an update
Drift detection
- Manual edits outside CloudFormation
Stack policy
- Updates to critical resources
Termination protection
- Deleting a stack by mistake
DeletionPolicy
- Losing data when a stack is deleted
Rollback
- A half-built or half-updated stack
| Feature | Protects against |
|---|---|
| Change set | Surprise changes from an update |
| Drift detection | Manual edits outside CloudFormation |
| Stack policy | Updates to critical resources |
| Termination protection | Deleting a stack by mistake |
| DeletionPolicy | Losing data when a stack is deleted |
| Rollback | A half-built or half-updated stack |
1 / 2
Change set
- Surprise changes from an update
Drift detection
- Manual edits outside CloudFormation
Stack policy
- Updates to critical resources
Termination protection
- Deleting a stack by mistake
| Feature | Protects against |
|---|---|
| Change set | Surprise changes from an update |
| Drift detection | Manual edits outside CloudFormation |
| Stack policy | Updates to critical resources |
| Termination protection | Deleting a stack by mistake |
2 / 2
DeletionPolicy
- Losing data when a stack is deleted
Rollback
- A half-built or half-updated stack
| Feature | Protects against |
|---|---|
| DeletionPolicy | Losing data when a stack is deleted |
| Rollback | A half-built or half-updated stack |
ဘာလဲ
Infrastructure integrity means the real environment matches the design. CloudFormation helps you keep it that way. Review every update with a change set before you run it. Run drift detection to find resources that someone changed by hand. A stack policy blocks updates to critical resources, and termination protection stops a stack from being deleted by mistake.
ဘာလဲ
A DeletionPolicy decides what happens to a resource when its stack is deleted: Delete (the usual default), Retain (keep it) or Snapshot (take a snapshot first, for volumes and databases). Use Retain or Snapshot for data. If a create fails, the stack rolls back and removes what it built. If an update fails, it rolls back to the last good state.
ဘာလဲ
To scale a design, split a big template into nested stacks, which are reusable parts such as a network stack. StackSets deploy the same stack to many accounts and Regions from one place. For DR, keep the same template ready for the recovery Region, so you can build the whole environment there in minutes with only parameters changed. Parameters, mappings and conditions let one template serve development and production.
ဘာလဲ
Related services: AWS Service Catalog lets administrators publish approved products, often CloudFormation templates, that teams launch themselves. The AWS Serverless Application Repository is a catalog of ready-made serverless applications to find, deploy and publish.
မှတ်ထားရန်
- Change set: preview before you update.
- Drift detection: find manual changes.
- DeletionPolicy: Delete, Retain or Snapshot. Use Retain or Snapshot for data.
- A failed create or update rolls back by default.
- Nested stacks reuse parts. StackSets deploy to many accounts and Regions.
မှတ်ထားရန်
- The same template builds a DR environment in another Region.
စာမေးပွဲမှာ
- “Find out whether someone changed resources outside the template” points to drift detection.
- “Keep the database when the stack is deleted” points to DeletionPolicy Retain or Snapshot.
- “Deploy the same resources to every account and Region in the organization” points to StackSets.
- “Preview the effect of an update” points to a change set.
ဒါတွေနဲ့ မရောပါနဲ့
AWS Elastic BeanstalkDeploy code and let AWS run the platform. A deployment policy sets how updates roll out.
AWS Systems ManagerSecure server access and fleet operations with no inbound ports and no bastion hosts.
AWS ConfigRules, conformance packs, automatic remediation and multi-account views, and how Config differs from CloudTrail and CloudWatch.
ဒီ task ထဲမှာ · 2.2
- Regions and AZs as the HA building block
- Multi-Region designs
Route 53
- Disaster recovery strategies
Elastic Disaster Recovery
- Failover and distributed design patterns
- AWS Well-Architected Framework
- Immutable infrastructure and deployments
CloudFormation
- Database high availability
- Storage durability and replication
CloudWatch
Health Dashboard
X-Ray
- Service Quotas
- Making legacy apps reliable without code changes
- Migrating workloads to AWS
- Choosing purpose-built services
- Managed AI services recap
Backup
Load Balancing
RDS Proxy
- Throttling strategies