← Back to Home

Deploying & Managing Infrastructure at Scale

AWS CLF-C02 — CloudFormation, CDK, Beanstalk, CI/CD, Systems Manager, and More

AWS CloudFormation

A declarative way to define your AWS infrastructure as code using JSON or YAML templates.

Key Concepts

Benefits of IaC

Exam Tip:

CloudFormation = IaC using templates (JSON/YAML). If the question asks about "repeating infrastructure across environments" or "infrastructure as code," think CloudFormation.

AWS CDK (Cloud Development Kit)

Define cloud infrastructure using familiar programming languages instead of JSON/YAML.

Key Point:

CDK = write infrastructure in programming languages → compiles to CloudFormation templates. CDK does NOT replace CloudFormation; it generates CloudFormation.

AWS Elastic Beanstalk

A Platform as a Service (PaaS) for deploying applications. Developer-centric view of deploying an application on AWS.

What Beanstalk Handles

What You Control

Key Features

Exam Tip:

Beanstalk = PaaS, developer focused, still have full control of resources. You just upload your code. If the question mentions "developer-centric" or "deploy application quickly without managing infrastructure," think Elastic Beanstalk.

AWS Developer Tools (CI/CD Pipeline)

AWS CodeDeploy

AWS CodeCommit

AWS CodeBuild

AWS CodePipeline

AWS CodeArtifact

AWS CodeStar

ServicePurposeThink Of
CodeCommitSource controlGitHub / GitLab
CodeBuildBuild & testJenkins CI
CodeDeployDeploy to serversAutomated deployment
CodePipelineOrchestrate CI/CDPipeline coordinator
CodeArtifactPackage repositorynpm registry / Nexus
CodeStarUnified dev dashboardProject management
Exam Tip:

Remember the pipeline flow: CodeCommit (code) → CodeBuild (build/test) → CodeDeploy (deploy). CodePipeline orchestrates all of them together.

AWS Cloud9

A cloud-based Integrated Development Environment (IDE).

AWS Systems Manager (SSM)

Manage your EC2 and on-premises infrastructure at scale. A hybrid AWS service.

Key Features

Session Manager

Patch Manager

Parameter Store

Exam Tip:

Session Manager = secure shell without SSH/port 22. Parameter Store = store secrets/configuration. If the exam says "access EC2 without SSH keys," think SSM Session Manager.

AWS OpsWorks

Managed Chef and Puppet service for automated server configuration.

Key Point:

OpsWorks is the go-to answer when the exam mentions Chef or Puppet. It's a managed service for these configuration management tools.

Deployment & IaC Services Comparison

ServiceCategoryKey Differentiator
CloudFormationIaCTemplates (JSON/YAML), declarative
CDKIaCProgramming languages, compiles to CFN
Elastic BeanstalkPaaSUpload code, everything managed
CodeDeployDeploymentDeploy to EC2/on-prem, hybrid
CodePipelineCI/CD OrchestrationEnd-to-end pipeline
SSMOperations MgmtManage EC2 + on-prem at scale
OpsWorksConfig MgmtChef / Puppet