Skip to Content
Asterrr's Handbook
Service cheat sheets

Operations and deployment

CloudFormation, Systems Manager, Config, CloudWatch and CodeDeploy with the limits and signals the exam asks about.

templateinfrastructurealarmsdrift and complianceCodePipelineCodeBuildCloudFormationCodeDeployCloudWatchAWS Config
From code to a running, monitored workload. Each stage has one service the exam expects you to name.

CloudFormation

FeatureUse it for
Change setsPreview what an update will change before running it
StackSetsOne template to many accounts and Regions
Drift detectionFind resources changed outside the stack
DeletionPolicyRetain or Snapshot to keep data when a stack is deleted
Nested stacksReuse a template and get around size limits
Custom resourcesRun code, often Lambda, during create, update or delete
cfn-init and cfn-signalConfigure an instance and tell the stack it is ready
Limits500 resources and 200 parameters per template. A direct template body up to 51,200 bytes, up to 1 MB from S3

Systems Manager

CapabilityUse it for
Run CommandOne-off commands on many instances
State ManagerKeep instances in a desired configuration
Patch ManagerBaselines and maintenance windows
AutomationRunbooks, including cross-account and approvals
Session ManagerShell access with no inbound ports or SSH keys
Parameter StoreConfiguration values, standard up to 4 KB and advanced up to 8 KB
InventorySoftware and configuration collection

Monitoring and deployment

ServiceOne-line fact
CloudWatch metricsStandard resolution is 1 minute, high resolution is 1 second. Basic EC2 monitoring is 5 minutes
Metric retention1-minute data for 15 days, 5-minute for 63 days, 1-hour for 455 days
Logs subscription filterStream log events to Kinesis, Firehose or Lambda, with at most two per log group
AWS ConfigRecords configuration history and checks rules, remediation runs SSM Automation
CodeDeploy EC2In-place or blue/green
CodeDeploy LambdaCanary, linear or all-at-once traffic shifting
CodeDeploy ECSBlue/green with listener shifting

No SSH keys, no bastion

"Access instances without opening port 22 or managing keys" is Session Manager. Add logging to S3 or CloudWatch Logs for audit.

On this page