AWS - CloudOps Engineer Associate Study Guide

    3: Deployment, Provisioning, and Automation

    This chapter covers the operator surface for delivering and updating workloads on AWS: image and container build pipelines, infrastructure as code, multi-account distribution, container platforms, deployment strategies, third-party tooling, and the failure modes that derail production rollouts. Each section pairs the operator knobs with the troubleshooting patterns the SOA-C03 exam tests at intermediate depth.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Provision and maintain AWS resources with governed self-service through AWS Service Catalog, including portfolio sharing, constraints, and TagOptions.
    • Build and distribute Amazon Machine Images (AMIs) and container images through EC2 Image Builder pipelines and weave that automation into broader repeatable-process automation.
    • Define infrastructure as code with AWS CloudFormation (stacks, change sets, drift detection, StackSets) and AWS CDK, and apply AWS Systems Manager capabilities (State Manager, Automation runbooks, Patch Manager, Parameter Store, Session Manager, Run Command, Inventory, Fleet Manager) for state enforcement and day-2 operations.
    • Share resources across Regions and accounts with AWS Resource Access Manager (AWS RAM) and CloudFormation StackSets, and wire event-driven automation through AWS Lambda, Amazon S3 Event Notifications, Amazon EventBridge, and AWS DevOps Agent.
    • Operate containers on Amazon ECS, Amazon EKS, Amazon ECR, and AWS Fargate, and orchestrate multi-step workflows with AWS Step Functions.
    • Implement deployment strategies (blue/green, rolling, canary) and pick the right Elastic Beanstalk deployment policy for the constraint.
    • Manage Terraform and Git alongside native AWS tooling without losing state ownership or audit visibility.
    • Identify and remediate deployment-time failures: subnet IP exhaustion, CloudFormation rollback states, and IAM permission errors.

    Executive Summary

    • Infrastructure as code on AWS is grounded in AWS CloudFormation as the engine and AWS CDK as the higher-level synthesizer, with change sets and drift detection as the primary safety surface for operators.
    • StackSets and AWS RAM are the two distribution mechanisms for multi-account, multi-Region operations: StackSets deploy stack instances, RAM shares existing resources by ARN.
    • EC2 Image Builder, Amazon ECR, Amazon ECS, Amazon EKS, and AWS Fargate together cover the image plane and the runtime plane for containerized and EC2-based workloads.
    • Deployment strategies are scored by downtime, rollback speed, capacity overhead, and blast radius; pick the cheapest strategy that still meets the rollback objective.
    • Most deployment-time outages collapse to three families: subnet IP exhaustion, CloudFormation UPDATE_ROLLBACK_FAILED or ROLLBACK_COMPLETE states, and IAM permission errors at the role boundary, the resource-policy boundary, or the permissions-boundary attached to a service-linked role.

    Assumptions

    • Reader is comfortable with AWS CLI, IAM principals and roles, and the CloudWatch and AWS Systems Manager primitives covered in Chapter 1.
    • Multi-AZ topologies, EC2 Auto Scaling, AWS Backup, and Amazon Route 53 failover patterns from Chapter 2 are reused without redefinition.
    • All examples use the fictional AWS account ID 111122223333 and Region eu-west-1 unless a multi-Region scenario calls for an additional Region.
    • The CloudWatch agent, SSM Automation, EventBridge, and CloudTrail audit conventions defined in Chapter 1 are reused with their original names.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account