The intention of this documentation is to provide the building blocks to create critical CloudWatch alarms which are fit for onboarding to Incident Detection and Response. It contains specific alarm best practices for AWS Services commonly used in the Retail & Consumer Packaged Goods Industry.
Overview
Retail and consumer packaged goods (CPG) organizations use AWS to power e-commerce platforms, order management systems, inventory services, and customer-facing applications. End users are shoppers browsing, searching, and purchasing products. "Down" means customers cannot browse catalogues, complete checkouts, or receive order updates.
Operational characteristics for Incident Detection and Response:
- Extreme seasonal peaks — Black Friday, Prime Day, holiday season, and flash sales produce traffic spikes orders of magnitude above baseline. Alarms must account for predictable high-volume periods without generating false positives.
- Revenue-per-minute sensitivity — Every minute of checkout unavailability has a direct, quantifiable revenue impact. Latency increases correlate to cart abandonment.
- Event-driven order pipelines — Order placement triggers downstream workflows (payment, inventory reservation, fulfilment, notification). Queue backlogs cascade through the pipeline.
Baseline Alarms
For alarm configurations (metric names, thresholds, periods, statistics), see the individual IDR recommended AWS service articles linked below. This page identifies which services matter for retail & CPG workloads and why.
Critical Path Architecture
Retail workloads typically have two distinct critical paths:
Path 1 — Storefront & Checkout (browse, search, cart, payment)
Shopper --> CloudFront --> ALB --> Compute (ECS/EKS)
--> Data Store (DynamoDB/RDS)
|
+--> API Gateway (payment, search)
Path 2 — Order Fulfilment Pipeline (post-checkout processing)
Order Event --> Lambda/Compute --> SQS (fulfilment queue)
--> Downstream Services
Critical Path Services
| Service | Role in Workload | Why It Matters |
|---|
| CloudFront | Content delivery for product pages, images, and storefront assets | Errors degrade the browsing experience for all shoppers |
| Elastic Load Balancer | Entry point for storefront and checkout services | Single point of failure for all shopper-facing traffic |
| API Gateway | Payment APIs, search APIs, partner integrations | Errors block checkout completion or product discovery |
| ECS | Storefront application, checkout services, catalogue services | Task failures degrade browsing or block purchases |
| EKS | Microservices for search, recommendations, pricing | Pod/node failures disrupt product discovery and personalisation |
| Lambda | Order processing, event handlers, data transformations | Errors or throttles block order pipeline stages |
| DynamoDB | Product catalogue, shopping cart, session state, inventory | Throttling blocks product lookups; cart data loss causes abandoned purchases |
| RDS | Order records, customer accounts, transaction history | Database unavailability = orders cannot be placed or retrieved |
| SQS | Order fulfilment queues, inventory update queues, notification queues | Queue backlog = delayed order processing, customers not receiving confirmations |
| Kinesis Data Streams | Clickstream ingestion, real-time inventory updates, pricing feeds | Processing lag means stale inventory data or delayed personalisation |
Industry-Specific Threshold Considerations
| Service | Consideration | Reason |
|---|
| ALB / API Gateway | Tighter latency thresholds than default | Every 100ms of added latency increases cart abandonment; checkout SLOs are typically sub-500ms |
| DynamoDB | Higher baseline capacity for peak events | Flash sales drive 10-50x normal read traffic; throttling during peak = lost revenue |
| SQS | Lower message age tolerance for order queues | Delayed order processing erodes customer trust and triggers support contacts |
| Kinesis | Lower iterator age tolerance during peak events | Stale inventory data during a sale leads to overselling |
| ALB | Use anomaly detection on traffic volume during sale events | Static thresholds will either miss genuine drops during peaks or false-alarm during normal periods |
Reference Architectures
Industry-Specific Operational Notes
- Peak event readiness — Major sale events (Black Friday, Prime Day, seasonal launches) require pre-event alarm validation. Confirm that thresholds accommodate expected traffic increases and that anomaly detection models have been re-baselined.
- Cart abandonment correlation — Latency spikes at ALB and API Gateway directly correlate to increased cart abandonment. Treat latency alarms as revenue-impacting during peak traffic.
- Inventory consistency — DynamoDB Global Tables or Kinesis-fed inventory systems require tight replication/processing lag monitoring. Overselling during a flash sale due to stale data creates fulfilment failures and customer dissatisfaction.
- Deployment freezes — Most retailers enforce code freezes during peak selling periods (November–December, major sale events). Alarms firing during freeze windows require different escalation paths since deployments cannot be rolled back easily.
- Multi-region active-active — Large retailers often run active-active across regions for availability during peak. DynamoDB Global Tables replication latency is critical during these periods.