In 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 MoreSavings Plans is a new and flexible discount model, which will provide the same discounts as Reserved Instances, in exchange for a commitment to use a specific amount (measured in dollars per hour) of compute over a one or three year period. Savings Plans are available in all AWS regions except China. You can start …
Read MoreToday we will learn, How to extend your AWS EC2 EBS volume disk without Downtime. If you are using Linux you can click on this link and follow the steps. So, Once you increases the size of an EBS volume from the AWS console, use the Windows Disk Management utility to extend the disk size to the new size of the volume. …
Read MoreToday we will learn, How to extend your AWS EC2 EBS volume disk without Downtime. If you are using Windows you can easily extend your EBS drive without downtime and without any problem. You can use this link for window process. But if come to Linux, Disk extend part will become some headache. So, Let start the process …
Read MoreToday we will learn, How to set up AWS Kinesis logging for your AWS Pinpoint service. This may be needed, when you want to create your custom Pinpoint dashboard from the logs. Lets start the configuring the logging step by step: A. Sign in to the Amazon Kinesis console in the same region that you are using for Amazon …
Read More