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 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 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 MoreToday we will learn, How to Deploy "Lambda@Edge" from Lambda console. Lets start the implementation: Step 1: Go to your Lambda function. Step 2: From Designer, Click on "Add Trigger". Step 3: Select "cloudfront" from the trigger. Step 4: Click on "Deploy to Lambda@Edge". Step 5: Now, You have to enter your CloudFront …
Read MoreToday we will learn, How to Deploy "Lambda@Edge" from cloudfront console. Lets start the implementation: Step 1: Open CloudFront console, and Select your CloudFront Distributions. Step 2: In your CloudFront Distributions, Select "Behaviors" tab. Step 3: Select your "default" Behaviors and Click on "edit". Step 4: From …
Read More