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.

How to set up Gitlab Backups within Amazon S3 Bucket Date: 30-08-2021 Step 1: Log in to the GitLab server via SSH as root. Step 2: Use the following command to create the backup if you’ve installed GitLab with the Omnibus package.# gitlab-rake gitlab:backup:create Step 3: This backup creates an… Continue Reading How to set up Gitlab Backups within Amazon S3 Bucket

If you face the above error in any of your RDS replicas, please follow the below steps. When you face this issue you will also see the lag between your master and replica. The status of the “Replication state” will be in “error” state. Check the status of the slave… Continue Reading Read Replica Replication Error – SQLError

Please follow the below steps to upgrade the Redis node type Login to AWS In the searchbar type “Redis” or “Elastic cache” Select your Clustername You can see “Actions” above. Click on that. Click “Modify” “Modify cluster” dialog box will appear. Select the node type you want to upgrade. ex:-… Continue Reading Upgrade Redis Node type