December 23, 2024
Incident and Event Response
Amazon CloudSearch vs ElasticSearch
- CloudSearch is a managed service
- no agents to install
- no servers to manage
- Elastic Search
- requires ElasticSearch agent
- runs on EC2 instances
Amazon Inspector
- automated security assessment
- network assessment check does not require agent install
Kinesis Data Streams Performance
- develop code using Kinesis Producer Library to put data onto the streams
- use a Small Producer with the Kinesis Producer Library
- but use PutRecord operation
- Check Service Limits
- GetShardIterator
- CreateStream
- DescribeStream
- Always use the KPL when writing code for Kinesis, where possible
- Benefits: Performance, Monitoring, Asynch Performance
Kinesis Stream Re-Sharding Error
- scaled stream by increasing consumers (KCL) and re-sharding the stream
- after re-sharding an extra shard was produced
- this sometimes occurs when size of a shard is very small, like '1'
- resolve by merging small shard with adjacent shard
- the difference between StartingHashKey and EndingHashKey is normally large
Loading comments...