Today, 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 MoreToday I will show you, how can you get SSH private key from AWS console and convert that key into public key. So, that you can use that key for create a SSH user. So, First lets with downloading a key from AWS Console. To create your key pair. Please follow the below steps: Open the Amazon EC2 console at …
Read MoreToday we will create new user that can connect to my Linux instance/Server using SSH key Authentication method. When you launches a Linux server, a default system user account created with administrative access to the server. If you wants multiple users access to the instance, it's a security best practice to create a …
Read MoreToday we will learn, how to create AWS Cloudformation script. So in this script, we will create a VPC and two subnets. One public subnet and one private subnet. First, we have to define the script Cloudformation template format version. 1{ 2 "AWSTemplateFormatVersion": "2010-09-09", 3 "Description" : "Create 8 private …
Read More