Introduction: In this tutorial, we'll explore how to leverage the power of AWS Lambda to fetch XML data from a source and store it in a DynamoDB table. AWS Lambda is a serverless computing service that allows you to run code without provisioning or managing servers. We'll guide you through setting up the necessary …
Read MoreIf you're working with data in AWS, you might find yourself needing to transfer data between services. For example, you might have a CSV file stored in an S3 bucket that you want to insert into a MongoDB database running on Amazon DocumentDB. In this tutorial, we'll show you how to use Lambda to automate this process. …
Read MoreToday I will show you, how you can restart your AWS ECS services using Lambda (Python) and Cloudwatch. Step 1: Create a Policy which has ECS services update permission and has Cloudwatch permission. Create new Policy and paste the below policy in it: 1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Effect": …
Read MoreIn this blog, we will write a python lambda code which will restart our ECS services. Please follow the below steps to achieve this. Step 1: Create IAM policy for an IAM Role. Copy the below policy and paste it in your IAM policy. 1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Sid": "VisualEditor0", 6 "Effect": …
Read MoreToday we will write a python code in lambda which will connect with our mongodb Atlas and list all databases. Step 1: Install Dependencies packages in Lambda Layers. 1Package: 21: pymongo 32: dnspython Note: To learn how to add python packages in lambda layers. Use the this [link] …
Read MoreToday we will learn, how to create and upload python package in lambda layer. First we will create lambda fuction in python which will create our python package and upload that in S3 bucket. Step 1: Open you AWS account. Step 2: Open IAM service console. Step 3: Create IAM policy for an IAM Role. Copy the below policy …
Read MoreIn this blog, we will create a script in AWS Lambda function which check the API status and send the mail to the recipient via AWS SES. Step 1: Open you AWS account. Step 2: Open IAM service console. Step 3: Create IAM policy for an IAM Role. Copy the below policy and paste it in your IAM policy. 1{ 2 "Version": …
Read MoreIn this blog, we will create a script in AWS Lambda function which will generate the presigned url of s3 object and then will send the email using AWS SES. Step 1: Open you AWS account. Step 2: Open IAM service console. Step 3: Create IAM policy for an IAM Role. Copy the below policy and paste it in your IAM policy. 1{ …
Read MoreToday we will see how we can trigger lambda from SNS topic. Note: By this method you can broadcast same message to mutiple lambda and other AWS service. 1: create SNS topic: 2: create subscription in your topic, select lambda protocol and select your lambda function: 3: Now, when any application trigger SNS, then …
Read MoreToday, my customer came up with a requirment, where they want to do filtering and processing in customer emails. So, Let see how to acheive this we need to do the following this: 1: verify your domain in SES. Note: You have to select North Virginia region for this activity. 2: add MX record in your domain. 3: then we …
Read More