2: Design for New Solutions

    Design a deployment strategy to meet business requirements.

    A deployment strategy answers four questions for every workload: what change is shipped, how fast it propagates, who can roll it back, and what the blast radius is when it fails. Greenfield workloads on AWS face a recurring tension between two valid postures. The first posture treats deployment as a programmable supply chain: every commit produces a versioned artifact, every artifact moves through the same gates, and rollback is a redeploy of the prior artifact. The second posture treats deployment as a controlled event window with explicit human approval, smaller batches, and tighter observability windows. The SAP-C02 exam pushes the candidate toward the first posture for most stateless workloads and the second posture for regulated, stateful, or licensed workloads where the business will not absorb a bad deploy cheaply.

    The architectural decisions inside a deployment strategy converge on five concrete artifacts: an IaC stack model, a CI/CD pipeline, a change advisory or approval gate, a configuration management baseline, and a managed-service substitution plan. Each artifact carries its own failure modes and quotas that must be respected during design.

    Making advanced technologies accessible by delegating complex development and deployment tasks to AWS

    Delegation in this context means choosing managed services that absorb operational toil so the team focuses on business logic. Aurora Logistics moves a batch reporting workload from a self-managed Spark cluster on EC2 to AWS Glue. The team gives up some tuning knobs (driver memory, worker autoscaling internals) and gains job bookmarks, automatic retries, and a serverless billing model. The exam frames this as a trade-off between control and operational overhead, with the test answer almost always favoring the managed substitute when the requirement mentions reduced operational burden, scaling without forecasting, or shrinking the patching surface.

    The same pattern applies to AWS Lambda over EC2 for event-driven code, Amazon Aurora Serverless v2 over self-managed PostgreSQL on EC2 for variable workloads, Amazon API Gateway over a self-managed reverse proxy, and AWS Fargate over self-managed Kubernetes nodes. When the exam stem includes phrases like "the team has limited operational capacity" or "the company wants to focus on application code", the managed path is the intended answer even if a self-managed path would technically work.

    💡 Exam Trap: A scenario that says "the team has strong Linux operations skills and wants fine-grained control" is the inverse signal. Here the answer is usually self-managed EC2 with Systems Manager rather than a managed substitute. Read the operational posture sentence carefully.

    Configuring data and database replication

    Replication is an architectural primitive that drives both the DR pattern (covered in later sections) and day-zero performance. For new builds, the candidate chooses replication topology by data store and consistency requirement. Amazon RDS Multi-AZ DB instance maintains a synchronous standby in a different Availability Zone with automatic failover, suitable when zero data loss inside a Region is the requirement. Amazon RDS Multi-AZ DB cluster (available for MySQL and PostgreSQL) places one writer and two readers in three Availability Zones, all synchronous, and reduces failover time to seconds. Amazon Aurora replicates a single storage volume across three AZs with six copies and supports up to fifteen read replicas with replication lag under twenty milliseconds in most cases. DynamoDB global tables replicate writes asynchronously across Regions with last-writer-wins conflict resolution. Amazon ElastiCache Redis supports primary-replica replication inside a Region and Global Datastore for cross-Region asynchronous replication.

    The replication topology determines RPO. For zero RPO inside a Region, Aurora and RDS Multi-AZ DB cluster are valid. For zero RPO across Regions, no managed AWS database currently offers it at unbounded scale; the candidate must accept asynchronous replication and the corresponding small RPO. For Amazon S3, the equivalent control is Cross-Region Replication (CRR) or Same-Region Replication (SRR) on a bucket, with optional Replication Time Control (RTC) that provides a 15-minute service level agreement on replication completion.

    aws rds create-db-cluster \
     --db-cluster-identifier aurora-orders \
     --engine aurora-postgresql \
     --engine-mode provisioned \
     --master-username aurora_admin \
     --manage-master-user-password \
     --storage-encrypted \
     --kms-key-id alias/aurora-orders-key \
     --backup-retention-period 14 \
     --enable-cloudwatch-logs-exports postgresql \
     --db-cluster-instance-class db.r6g.large \
     --db-subnet-group-name aurora-private-subnets
    

    📊 Limit: Aurora supports up to 15 Aurora Replicas per DB cluster. RDS Multi-AZ DB cluster supports exactly 2 reader instances by design. DynamoDB global tables support replication across all commercial AWS Regions.

    Encryption options for data at rest and data in transit

    For data at rest, every new build defaults to AWS KMS encryption with a customer-managed key. The decision is between AWS-owned keys (no control, no audit trail in your account), AWS-managed keys (auto-rotated yearly, no key policy customization), and customer-managed keys (full control, key policy and grants, optional rotation, audit through CloudTrail). For workloads spanning Regions, multi-Region keys allow the same key material to exist as related keys in multiple Regions, simplifying cross-Region restore and replication of encrypted snapshots.

    For data in transit, ACM-issued public certificates terminate TLS at Application Load Balancers, CloudFront distributions, and API Gateway. ACM Private CA issues internal certificates for service-to-service mTLS. ALB and Network Load Balancer both support TLS 1.3 with selectable security policies. VPC endpoints use TLS to the AWS service plane; nothing further is required for in-transit protection between a VPC and an AWS service when the endpoint is consumed.

    Specifying service endpoints for service integrations

    A new workload's first network decision after subnet placement is the endpoint posture. Gateway endpoints exist only for Amazon S3 and DynamoDB; they attach to a route table and add no per-hour cost. Interface endpoints (powered by AWS PrivateLink) exist for most other AWS services and bill per hour per AZ plus data processing. The candidate chooses interface endpoints when the workload must reach an AWS service from a private subnet without traversing a NAT gateway, which both reduces cost and keeps traffic inside the AWS network. For cross-account or third-party services, AWS PrivateLink exposes a service through a Network Load Balancer in the provider account and an interface endpoint in the consumer account.

    💡 Exam Trap: A common distractor places an interface endpoint for S3 or DynamoDB. The correct primitive for these two services is a gateway endpoint unless the workload comes from on-premises through Direct Connect, in which case an interface endpoint for S3 is the supported option.

    Service quotas and limits

    Service Quotas is the unified surface for default and adjustable quotas across AWS services. A new design must enumerate the quotas that will be touched at peak load and request increases through Service Quotas or the support console well before launch. CloudFormation StackSets allows quota requests to be tracked centrally across accounts. Quotas that catch teams off guard include EC2 vCPU quotas (per instance family per Region), Lambda concurrency (default 1000 per Region per account), VPC Elastic IP addresses (default 5 per Region), and Route 53 records per hosted zone (default 10,000).

    📊 Limit: Default Lambda concurrent executions per Region per account is 1,000. Default EC2 On-Demand standard instances quota is calculated per vCPU per family. Default VPCs per Region per account is 5.

    Performance monitoring technologies

    Greenfield workloads instrument from day one. The baseline is CloudWatch metrics for compute and managed-service health, CloudWatch Logs for application logs through the unified CloudWatch agent, CloudWatch alarms for SLO breaches, AWS X-Ray for distributed tracing, and CloudWatch Synthetics for canary probes against public endpoints. Container workloads add Container Insights; serverless workloads add Lambda Insights; database workloads add Performance Insights on RDS and Aurora. The selection of monitoring tools is part of the design, not an afterthought, because alarm thresholds and dashboards must exist before the first failover test.

    Designing a rightsizing strategy

    Rightsizing in a new build is forward-looking. Without historical data, the candidate begins with conservative instance choices, enables Compute Optimizer recommendations on day one, and pairs each EC2 service with detailed monitoring and predictive scaling where applicable. Aurora Logistics uses a process that ships a workload on T-class burstable instances during the pilot phase, captures two weeks of CPU and memory metrics, then uses Compute Optimizer findings to shift to M-class general purpose or C-class compute optimized as the steady-state pattern emerges.

    ⚠️ Anti-Pattern: Provisioning the production instance family identical to the dev family on day one. Dev workloads often run a fraction of production load; production sizing must come from load testing or from an explicit capacity plan, not from copying the dev stack.

    Identifying appropriate pricing models

    The pricing model decision for a greenfield workload depends on demand predictability and interruption tolerance. Compute Savings Plans cover EC2, Fargate, and Lambda regardless of instance family or Region for a 1-year or 3-year commitment. EC2 Instance Savings Plans require an instance family and Region commitment but discount further. Reserved Instances remain available for RDS, ElastiCache, OpenSearch Service, Redshift, and DynamoDB reserved capacity. Spot Instances suit fault-tolerant batch, CI workers, and stateless web tiers. On-Demand is the default for unpredictable spiky workloads that do not warrant a commitment.

    🎯 Scenario: Aurora Logistics is launching a new SaaS product with uncertain traffic. The architect commits 50% of expected steady-state compute to a 1-year Compute Savings Plan, runs the variable upper half on On-Demand for the first quarter, and shifts a fraction of stateless workers to Spot once interruption handling is validated. After two quarters the steady-state baseline is converted to a 3-year commitment.

    💡 Exam Trap: Reserved Instances and Savings Plans cannot be cancelled before term end. A question that frames an "uncertain workload that may be discontinued" must not be answered with a 3-year commitment.

    Decision Anchor

    Choose AWS CloudFormation with a CI/CD pipeline (CodePipeline plus CodeBuild and CodeDeploy) when the team owns the workload end-to-end and ships changes frequently. Choose a hybrid model with Service Catalog products and approval gates when central platform teams must vend immutable patterns to many development teams.


    Continue with the interactive course

    Track your progress, jump into practice questions and use the Shark AI tutor inside the AWS - Solutions Architect Professional learning hub.