7. Operations (quick summary)

20 cards

Review this deck
All cards in this deck

Monitoring: CloudWatch = how it is running; CloudTrail = WHO did what (API)

7. Operations (quick summary)

Kinesis

IteratorAge (lag) | Lambda: Errors/Throttles/Duration

SQS

AgeOfOldestMessage | DMS: CDCLatency | Firehose: DeliveryToS3

Monitoring: EventBridge rule catches state changes (Glue/SFN FAILED) → SNS

7. Operations (quick summary)

Monitoring: Metric filter on logs → alarm

7. Operations (quick summary)

Monitoring: CloudTrail data events (GetObject...) must be enabled separately, extra cost

7. Operations (quick summary)

S3

overwrite partition / deterministic key

Redshift

staging + MERGE in a transaction

DynamoDB

conditional write (attribute_not_exists)

Iceberg

MERGE INTO

Kinesis+Lambda

bisect, max retry, on-failure destination (stuck shard!)

DEFAULT IS AT-LEAST-ONCE → idempotent sink: Backoff + jitter; transient → retry / permanent → DLQ immediately

7. Operations (quick summary)

Safe backfill

immutable raw + per-partition jobs + idempotent sink

Athena/Spectrum

Parquet + partition (reducing scan is king)

Glue

Flex, Auto Scaling, bookmark, Python shell

EMR

Spot TASK nodes, transient, Graviton

Kinesis/DDB

provisioned when steady

Logs

SET RETENTION

Cost: NAT → S3/DDB GATEWAY ENDPOINT (free)

7. Operations (quick summary)

Cost: Tags + cost allocation + Budgets + CUR→Athena

7. Operations (quick summary)

7. Operations (quick summary) – Flashcards – DEA-C01 | Học Dev