Filter data in AWS DynamoDB using AWS Lambda

Filter data in AWS DynamoDB using AWS Lambda

Greetings! Working with data in dynamodb is different from SQL databases. We are use to use select queries to search data. In dynamodb it is different. I am using dynamodb scan function to search for particular values in my database. Here I am displaying values of ColumnA by filtering particular value from ColumnB. You can find the code here. Happy Coding!Read more …
Get all EC2 instances from all regions and store it in dynamodb

Get all EC2 instances from all regions and store it in dynamodb

Greetings! In AWS we have multiple regions, if you want to check resources or services of particular region you need to switch to that region first. This script will fetch EC2 instance name, ID and type from all regions. The script has two parts which I have divided into two functions. One functions collects all the information and second adds that to dynamodb. you can skip second part and save it in csv in S3 bucket. You can find script here. Happy Coding!Read more …