Introduction A security group controls the traffic that is allowed to reach and leave the instance. It is a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of an instance. Prerequisites Implementation Step 1: Log into… Continue Reading How to replace a security group of an EC2 instance in AWS

Introduction Amazon Route 53 is a scalable and highly available Domain Name System service. We can perform the three main functions on route53 services such as domain registration, DNS routing, and health checking Prerequisite Implementation Step 1: Sign in to the AWS console https://aws.amazon.com/ Step 2: Search the Route 53… Continue Reading How to create an ‘A’ record in AWS – Route 53

Introduction: In this section we are going to see how to install AWS cli tool and configure access key in Ubuntu 20.04 in a vps. Prerequisites: Procedure: Step 1: Update the current apt repository $ sudo apt update Step 2: Download the latest version of AWS cli tool $ curl… Continue Reading How to install AWS cli and configure access key in Ubuntu 20.04 

Introduction: In this article, We have to learn, how to get instance-id, instance-type, Public key, and Security groups name on an AWS server without AWS console login credentials. Prerequisite: Step1: Login to the Instance with Sudo or root access Step2: Update and install curl on the instance/server with the below… Continue Reading How to get details from the AWS instance?

Step1: Login to the AWS accountStep2: Navigate to the S3 bucket and go to permissions Step3: Click on edit bucket policy and add the below policy: {“Version”: “2008-10-17”,“Id”: “S3PolicyId1”,“Statement”: [{“Sid”: “IPAllow”,“Effect”: “Deny”,“Principal”: {“AWS”: “” }, “Action”: “s3:“,“Resource”: “arn:aws:s3:::bucket-name/*”,“Condition”: {“NotIpAddress”: {“aws:SourceIp”: [“ip1”,“ip2”]}}}]} Step 4: Click on save changes

Step 1:- Login to the AWS Management console Step 2:- Search AWS Amplify on the search bar and click on it. Step3:- Select GET STARTED and on Deliver section click on GET STARTED Step 4:-  Navigate All Page > New tab > Host web app Step 5:- Choose “Deploy without… Continue Reading How to deploy a code on AWS Amplify

Remove server name from Apache headers:- It is essential to remove Apache server header to hide Apache server information and protect your website from malicious attackers. Here’s how to remove server name from Apache response header using htaccess. You can use it to hide the Apache version and server type… Continue Reading Hide server details and disable TLSV1.0 and TLSV1.1

When you get the above error, please follow the below steps. 1) Checked the file where the Javaheapmemory needs to be increased. Developers can help you on this. 2) After identifying the file, increase it accordingly. For example:- If the current value is 2048m then increase it to 4096m. Issue… Continue Reading java.lang.OutOfMemoryError: Java heap space

MySQL replication should work without problems even if the servers are restarted, databases created and removed, data flowing in and out. Sometimes, however, there are errors that are breaking the replication process. It is good to know once such situation appears. Please find the bash script below which gives the… Continue Reading MySQL replication status alerts with bash script

Inroder to avoid giving the PEM key to the user or employee and adding the user or employee key in the servers, Amazon introduced Amazon EC2 instance connect. Whenever employee leaves the company simply delete the IAM user, no need to go to each server, search for his or her… Continue Reading SSH access through IAM with EC2 instance connect.