Using NAT Gateways in AWS

Zeeshan BaigBlog

Overview In AWS you can design your own network using VPC (Virtual Private Cloud).  You can assign your own IP address ranges and split your network into Public and Private Subnets. In simple words, Public Subnet is like Green Zone where … Read More

How to Fix Redis CLI Error Connection Reset by Peer

Zeeshan BaigBlog

Overview Recently we faced an issue with an AWS ElastiCache Redis instance when trying to test the connections from EC2 Instance using Redis CLI, we faced the following error $ ./redis-cli -c -h my-redis-server -p 6379 my-redis-server:6379> set a “hello” Error: … Read More

AWS How to Copy EBS Volumes to Different Account

Zeeshan BaigBlog

Overview It is common for an organization to have multiple AWS accounts, In my opinion, it’s a best practice to have different accounts for DEV, QA, and PROD environments. One of the reasons, just in case of any security compromise … Read More

Terraform Using AWS S3 Remote Backend

Zeeshan BaigBlog

Overview These days Terraform is the industry’s go-to tool for Infrastructure automation. Terraform allows you to write infrastructure as a code, which you can manage via source control and one of many benefits is that you can keep track of … Read More

How to Collect Custom Metrics from AWS EC2 Instances

Zeeshan BaigBlog

Overview Monitoring is a critical part of any cloud infrastructure and it is important to maintain reliability, availability, and performance of your AWS cloud applications. There are 2 main types of monitoring you can do on AWS EC2 Instances as … Read More

Assigning Public IPs to AWS EC2 Instances

Zeeshan BaigBlog

Quick post today, recently a customer asked us that they have created a new VPC in AWS but when they launch an EC2 instance in a public subnet, they don’t see a public IP assigned to it. To assign automatically … Read More