Follow the below steps to create VPC in AWS Step1: Login to the AWS consoleStep2: Navigate to the VPC board Step3: On the VPC Dashboard, choose Launch VPC Wizard. Step 4: Choose VPC only and give Name tag, private IPv4 address and then click on create. Now VPC will be created.To check… Continue Reading How to create VPC in AWS

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

Please follow the below steps to setup backup of mysql database from server to Amazon s3. Login to AWS console, create IAM user, download the credentials and attach AmazonS3Full access policy to the IAM user. Install AWS CLI and configure by following the below commands. apt install awscli -y aws… Continue Reading Automate MySQLdump Backup from server(backend) to Amazon S3

Login to AWS console and go to S3. Create a new S3 bucket or if you want to copy the objects to another existing bucket, you can use it. Install and configure the AWS Command Line Interface (AWS CLI) with the below steps.a) curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip”b) unzip awscliv2.zipc) sudo… Continue Reading How to copy objects from one bucket to another bucket in the same region.

How To Add DNS Record In AWS Lightsail Date : 24-10-2020 Step : 1 Login to your AWS account. Step : 2 Select lightsail option. Step : 3 Select networking option. Step : 4 Choose the domain you want to add DNS records. Step : 5 Click add record option.… Continue Reading How To Add DNS Record In AWS Lightsail

How To Integrate SendGrid With Postfix Step : 1 Edit the file /etc/postfix/main.cf smtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_sasl_security_options = noanonymoussmtp_sasl_tls_security_options = noanonymoussmtp_tls_security_level = encryptheader_size_limit = 4096000relayhost = [smtp.sendgrid.net]:587 Save and close the file. Step : 2 Edit the file /etc/postfix/sasl_passwd [smtp.sendgrid.net]:587 yourSendGridUsername:yourSendGridPassword Add your sendgrid user name and password, you… Continue Reading How To Integrate SendGrid With Postfix

Step 1: Verify that the EC2Config service is running Before you attempt to reset the administrator password, verify that the EC2Config service is installed and running. You use the EC2Config service to reset the administrator password later in this section. To verify that the EC2Config service is running Open the… Continue Reading Resetting the Windows administrator password using EC2Config

How to add swap memory on AWS/EC2 linux instance DATE : 29-04-2020 Hello!! Let us know how to enable swap file system. There are two methods of adding swap memory in aws ec2 instance. INTRODUCTION: Swap memory is useful for systems having memory issue due to less memory. If your… Continue Reading How to add swap memory on AWS/EC2 linux instance

Ansible automation – Logging user-data script output for EC2 Date Posted: 06-10-2017 When you write ansible playbooks, you may want to log the user_data output of EC2 instance launch. To achieve this, add these below codes at the top of your script vi user_data.sh #!/bin/bash -e exec > >(tee /var/log/user-data.log|logger… Continue Reading Ansible automation – Logging user-data script output for EC2

Date Posted: EFS is a aws service which is similar to NFS service where we can add a single disk across multiple servers. The advantage of using EFS is we dont have to worry about data storage. Limitation: EFS has a limited to few regions as of now and it… Continue Reading Working with EFS (Elastic File System)