Skill 3.5.6

Selecting appropriate configurations for ingestion

Key Concepts

Kinesis Data Streams: choose on-demand for unknown traffic or provisioned shards for steady traffic; pick a high-cardinality partition key to avoid hot shards; use enhanced fan-out for many consumers; set retention for replay needs. Firehose: buffer size and interval trade latency against file size and cost; enable format conversion and compression; configure a backup bucket for failed records.

Batch vs streaming: hourly or daily files can be uploaded to S3 and processed on a schedule (EventBridge Scheduler, Glue triggers); sub-minute requirements need streaming.

Secure ingestion endpoints: IAM policies for producers, KMS encryption, VPC interface endpoints for Kinesis and Firehose, Transfer Family with VPC endpoints and IP allow lists, and presigned URLs for direct browser uploads to S3.