In 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 MoreIn this blog,we will see how can we earn money with your AWS Skill. There are several ways you can earn money using Amazon Web Services (AWS): 1: Offer your services as an AWS consultant or solution architect: You can use your expertise in AWS to help businesses design, migrate, and manage their applications and …
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 install PHP 5.6 on Amazon Linux 2 OS. Step 1: First we need to install the dependencies: 1 > sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 2 3 > wget https://repo.ius.io/ius-release-el7.rpm 4 5 > sudo rpm -Uvh ius-release*.rpm Step 2: So all dependencies are …
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 MoreIn this blog, we will create a script in AWS Lambda which will help viewer request points to your root URL (http://www.example.com) instead of to a specific object in your distribution (http://www.example.com/index.html). Note: It will help mainly in Hugo and other Serverless website hosting on AWS environment. Lets …
Read MoreToday we will learn how to provide root permission to your SSH user. So, We can provide SSH user root permission either move them in root user group or We can add simple line in sudoers file to provide root permission. Lets use the first method. Provide ROOT permission to this user by move it to root user. 1usermod -aG …
Read MoreToday I will show you, how can you create you private and public key using ssh-keygen command. Connect to you Linux system. Open Linux terminal. Run below command to generate keys. 1ssh-keygen -t rsa -b 2048 Enter the name of the key and press Enter Now private and public key has been generated. Now you can use those …
Read More