Enrich DynamoDB stream (List/Map) using EventBridge Pipes and Step FunctionsUse Case:- I am sure you all remember how much boilerplate code we used to write when we convert the DynamoDB stream to the business object. Here is a small snippet of the GoLang program. m := &EntitySearch{} for name, value := range recordI...May 26, 2023 · 4 min readawsmantra.com
How to save money on AWS Transfer Family(SFTP) Server - Non-Production useUse Case:- Our company has an SFTP server in the lower environment, but we don't have regular traffic on it. Our QA team only uses it once every two weeks during production release testing. If you create an AWS SFTP server, you will be charged $0.30 ...1SApr 21, 2023 · 5 min readawsmantra.com
EventBridge Schedule to Step Functions - No-Code/No-LambdaUse Case:- We have a business use case where we need to call our nightly job for multiple tenants. Initially, I planned to use EventBridge Bus and Rules to achieve this goal. However, we discovered that EventBridge Rules has a limit of 5 targets, whi...Mar 22, 2023 · 4 min readawsmantra.com
100 millions Lambda execution and guess our AWS $$$ Bill - GoLangLittle Background:- in 2019 we started moving from server to serverless and started adopting AWS Lambda + GoLang for any new development. My chief architect and current CTO Ben Pyle(Blog) came up with the GoLang pattern which we used in all our Micro...1GMar 7, 2023 · 4 min readawsmantra.com
EventBridge Scheduler- Start/Stop ECS instanceAs I mentioned in my prior post, we used the ECS Fargate instance in my organization. During off hours, we shut down the ECS Fargate instance every day in our lower environment to cut costs. Here is a prior article where I have explained about Start/...2DBFeb 6, 2023 · 3 min readawsmantra.com