Open in app

Sign In

Write

Sign In

Md Shadekur Rahman
Md Shadekur Rahman

184 Followers

Home

About

Published in AWS in Plain English

·Pinned

How to Clean Up DynamoDB Records Through Time-to-Live (TTL)

Archive obsolete table records into the S3 bucket — One way you can remove any DynamoDB table record is via hard delete operations such as DeleteItem or BatchWriteItem with DeleteRequest. These delete operations have to be triggered by administrators or any user who has delete privilege. On top of that, these deletes are real-time. …

AWS

3 min read

How to Clean Up DynamoDB Records Through Time-to-Live (TTL)
How to Clean Up DynamoDB Records Through Time-to-Live (TTL)
AWS

3 min read


Published in AWS in Plain English

·Pinned

CloudWatch Log Records— Send Critical Ones to a Slack Channel

Solve it by Lambda attached to an SNS topic — You have a custom logger in place for a lambda function in your AWS account and this logger writes JSON records to CloudWatch through that lambda log group. Now out of all these log records being dumped in the log group, you want to send all logs that contain the…

AWS

3 min read

CloudWatch Log Records— Send Critical Ones to a Slack Channel
CloudWatch Log Records— Send Critical Ones to a Slack Channel
AWS

3 min read


Published in coding interview preparation

·Mar 12

Leetcode: Split the Array to Make Coprime Products

Leetcode hard (it’s all about prime factors though) — Problem Description You are given a 0-indexed integer array nums of length n. A split at an index i where 0 ≤ i ≤ n-2 is called valid if the product of the first i + 1 elements and the product of the remaining elements are coprime. For example, if…

Leetcode

3 min read

Leetcode: Split the Array to Make Coprime Products
Leetcode: Split the Array to Make Coprime Products
Leetcode

3 min read


Published in coding interview preparation

·Feb 27

Leetcode: House Robber IV

A tricky Binary Search problem — Problem Description There are several consecutive houses along a street, each of which has some money inside. There is also a robber, who wants to steal money from the homes, but he refuses to steal from adjacent homes. The capability of the robber is the maximum amount of money he…

Python

5 min read

Leetcode: House Robber IV
Leetcode: House Robber IV
Python

5 min read


Published in AWS in Plain English

·Feb 7

Why did I enable Kinesis Data Stream on my DynamoDB table

extended fan-out architecture with DynamoDB being the data producer — In my current project as a lot of business needs were unfolding that would require listening to various types of changes/updates on DynamoDB table (single table), I couldn’t handle all of those using just a single DynamoDB stream that comes with the table. DynamoDB stream can connect to maximum two…

AWS

4 min read

Why did I enable Kinesis Data Stream on my DynamoDB table
Why did I enable Kinesis Data Stream on my DynamoDB table
AWS

4 min read


Published in AWS in Plain English

·Dec 11, 2022

How do I create lambda layer in AWS SAM template

Case study: installing python libraries — In my work, we have multiple lambda functions where they all need to use Google’s translate python library. We used to install this same python library multiple times, one for each lambda function. This approach increased the time of lambda SAM deployment. We solved this problem by creating a common…

AWS

2 min read

How do I create lambda layer in AWS SAM template
How do I create lambda layer in AWS SAM template
AWS

2 min read


Published in AWS in Plain English

·Nov 21, 2022

How did I Fix CloudFormation throttling issue

Use case: deploying AppSync stack — In my work, a throttling issue started to happen at the time of deploying a CloudFormation stack that creates/modifies AppSync resources such as mutations, functions and queries. We run that stack (a yaml file) locally from any developer’s computer to a specific AWS account using a python script. In our…

Cloudformation

3 min read

How did I Fix CloudFormation throttling issue
How did I Fix CloudFormation throttling issue
Cloudformation

3 min read


Published in AWS in Plain English

·Oct 13, 2022

Create Single Eventbridge Rule for Uploads on Multiple S3 Buckets

With the purpose of triggering a lambda to store metadata in DynamoDB — In my current work, I had to find a way to trigger a single lambda based on the file uploads on two separate buckets. The purpose of triggering the lambda is to update the DynamoDB table with file/object metadata. One obvious solution is to create two lambda functions where each…

AWS

2 min read

Create Single Eventbridge Rule for Uploads on Multiple S3 Buckets
Create Single Eventbridge Rule for Uploads on Multiple S3 Buckets
AWS

2 min read


Published in coding interview preparation

·Oct 10, 2022

Leetcode: Paths in Matrix Whose Sum Is Divisible by K

A Dynamic Programming (DP) problem — You are given a 0-indexed m x n integer matrix grid and an integer k. You are currently at position (0, 0) and you want to reach position (m - 1, n - 1) moving only down or right. Return the number of paths where the sum of the elements…

Leetcode

3 min read

Leetcode: Paths in Matrix Whose Sum Is Divisible by K
Leetcode: Paths in Matrix Whose Sum Is Divisible by K
Leetcode

3 min read


Published in AWS in Plain English

·Oct 6, 2022

AWS SAM template: Globals section

How it helped to eliminate confusions in code — In my work, we use AWS SAM template to define the serverless architecture in DEV, QA and PROD AWS accounts/environments. The template file in this architecture contains the definition of all lambda functions, lambda permissions, apis, event source mappings etc. Now there were some common environment variables being used across…

Aws Sam

2 min read

Aws Sam

2 min read

Md Shadekur Rahman

Md Shadekur Rahman

184 Followers

Cloud Software Engineer. Editor of https://medium.com/coding-interview-preparation publication

Following
  • Cher Hin Chong

    Cher Hin Chong

  • Francine Fallara

    Francine Fallara

  • Farhan Tanvir

    Farhan Tanvir

  • Venessa Yeh

    Venessa Yeh

  • Devansh- Machine Learning Made Simple

    Devansh- Machine Learning Made Simple

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech