SYSTEM Cited by 2 sources
CloudFormation¶
Definition¶
AWS CloudFormation is AWS's declarative infrastructure-as-code
service. You declare a template (YAML or JSON) listing AWS
resources and their properties; CloudFormation plans and applies
the diff, tracking state in a named stack. Supports stack
updates, deletion protection (DeletionPolicy: Retain), cross-stack
references, drift detection, and change sets.
Seen in¶
- —
used to provision the
AWS::S3::Bucket(withWebsiteConfigurationindex + error document) andBucketPolicyfor Zalando's engineering blog.DeletionPolicy: Retainpreserves the bucket if the stack is deleted — a common safety measure for any production data store defined via CloudFormation. - sources/2022-04-18-zalando-zalandos-machine-learning-platform — motivating pain-point disclosure: "CloudFormation templates are highly expressive and allow developers to describe even minute details. Unfortunately, CF files can become verbose and are tedious to edit manually." Zalando addresses this with systems/zflow, a Python DSL that compiles (via AWS CDK) to a CloudFormation template, which Zalando's CDP then deploys. Canonical wiki reference for the CloudFormation verbosity problem and the Python-DSL- wrapping-CloudFormation pattern.
- sources/2024-01-22-zalando-tale-of-metadpata-the-revenge-of-the-supertools
— canonical wiki instance of the ChangeSet-as-PR-preview
shape. Zalando's post-
metadpataremediation readsCreateChangeSetfrom every AWS account in the organisation, merges into a human-readable PR comment, drops the ChangeSet, and executes on merge. See concepts/cloudformation-changeset and patterns/pr-preview-of-cloudformation-changeset. The same post also introduces cfn-lint at commit + CI time as the validation tier before ChangeSet preview.
Comparable systems¶
- Terraform (HashiCorp) — multi-cloud, providers-based, stores state externally (S3 + DynamoDB lock is the canonical backend). More ecosystem momentum than CloudFormation.
- AWS CDK — typed abstraction (TS / Python / Java / Go / C#) that synthesises to CloudFormation under the hood.
- Pulumi — typed multi-cloud, similar spirit to CDK.