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...4 min read·awsmantra.comMay 26, 2023
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 ...5 min read·awsmantra.com1SApr 21, 2023
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...4 min read·awsmantra.comMar 22, 2023
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...4 min read·awsmantra.com1GMar 7, 2023
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/...3 min read·awsmantra.com2DBFeb 6, 2023