putrule
Category: AWS
React App to AWS Amplify
AWS tutorial Github domain hosting create github repo clone github repo create react app npx create-react-app . 4. add all
AWS Lambda Retry
Use AWS::Lambda::EventInvokeConfig to limit retries Example: Resources: function: Type: AWS::Lambda::Function Properties: Handler: index.handler Role: arn:aws:iam::123456789012:role/lambda-role Code: ZipFile: | exports.handler =
AWS Elastic Search ISM Policy
Tutorial: Prerequisites Your OpenSearch Service domain must be running Elasticsearch version 6.8 or later. Your domain must have UltraWarm and cold storage enabled. You
AWS Cloudwatch Alarm
For Lambda: MyNewAlarm: Type: AWS::CloudWatch::Alarm Properties: AlarmName: “AlarmNameGoesHere” AlarmDescription: “Alarm if lambda errors out too many times” Namespace: “AWS/Lambda” MetricName:
Reprocess AWS DB Stream
Note: DLQ for failed lambda invokation stores stream information, not the record itself Solution: You need to call get-shard-iterator, and then
AWS EventBridge Pipe to Cloudwatch to Firehose
Cloudwatch logs subscription consumer example code
AWS Kinesis to Eventbridge Pipe to Kinesis
Tutorial: Set up from Console https://www.eliasbrange.dev/posts/debug-dynamodb-with-eventbridge-pipes-and-cloudwatch/ Sample in pipe: { “kinesisSchemaVersion”: “1.0”, “partitionKey”: “1”, “sequenceNumber”: “49590338271490256608559692538361571095921575989136588898”, “data”: “SGVsbG8sIHRoaXMgaXMgYSB0ZXN0Lg==”, “approximateArrivalTimestamp”: 1545084650.987,
AWS Firehose to Elastic Search
How many shards are needed in a new elastic search domain Kinesis firehose destination to elastic search Firehose delivers to
AWS Event Bridge Pipe Filtering
Kinesis to Kinesis Overview code example Data filtering example Filtering kinesis json example Event Bridge Pipe sources Event Bridge Pipe