Blog

How to Install Terraform

How to Install Terraform Install Terraform CLI Project Structure terraform-aws-ec2/ ├── main.tf ├── variables.tf main.tf variables.tf  Here, the provider tells Terraform that you’re working with AWS as your cloud provider. resource defines a resource block that tells Terraform to create an EC2 instance. variable.tf file  is used to define input variables, making your config reusable and configurable. Running Terraform Initialize the project Initializes plugins/providers and backend. Plan the changes Shows what Terraform intends to do.

Read More »

How to Create a RAID 6 Array on Linux

When you’re managing critical data, redundancy is non-negotiable. RAID 6 Array on Linux is a powerful solution that offers fault tolerance and ample usable storage. The process of creating a RAID 6 array using mdadm on a Linux system is described below. What is RAID 6? RAID 6 (Redundant Array of Independent Disks, level 6) stripes data across multiple drives while also storing two parity blocks per stripe. This allows the array to survive two

Read More »

How to Access an AWS RDS MySQL Database Using MySQL Workbench via EC2 and Private Key

Accessing an AWS RDS MySQL database from MySQL Workbench can sometimes be tricky, especially when the RDS instance is not publicly accessible. One common solution is to use an EC2 instance as a jump host or bastion host. In this guide, we’ll walk you through how to securely access your RDS MySQL database using MySQL Workbench, leveraging a private key for SSH tunneling via your EC2 instance. Prerequisites Step 1: Set Up Your EC2 Instance

Read More »

How to install and configure ProxySQL

For Ubuntu/Debian: Start the ProxySQL service: Access the Admin Interface Use the MySQL client to connect to ProxySQL’s admin interface: Default credentials is admin. Port 6032 is used for admin and  6033 is used for SQL traffic Add a MySQL Backend Server Now let’s add a backend MySQL server to ProxySQL: Apply the configuration Check if the server was added: Add a MySQL User Add a user that will connect through ProxySQL: — Apply the

Read More »

How to Enable Brotli Compression on NGINX Using ngx_brotli

If you’re running NGINX in production, performance and response size matter — a lot. Reducing the size of HTTP responses can have a huge impact on site speed, bandwidth costs, and ultimately user experience. While gzip has been the default compression tool for years, there’s a newer, better contender: Enable Brotli Compression on NGINX. With better compression ratios than gzip (often 15–25% smaller), and performance that’s comparable or even faster, Brotli has quickly become the

Read More »

How to Install Node.js on Ubuntu 24.04

If you’re ready to build server‑side apps or front‑end tooling using Node.js, you’ll want a solid setup. In this post, we’ll go through multiple ways to install Node.js on Ubuntu 24.04, and help you pick the method that best matches your needs. Why Node.js + Ubuntu 24.04? Prerequisites Methods to Install Node.js We’ll cover three major methods. Each has pros & cons. Method Pros Cons Apt from Ubuntu’s default repos Easiest, minimal setup Version might

Read More »

 AWS Inter-Region VPC Peering for RDS Replica Access

Create an RDS Read Replica in Another Region Create Inter-Region VPC Peering Connection Go to VPC Dashboard in the source region (us-east-1): Accept the peering request in the target region’s VPC dashboard (us-west-2). Update Route Tables Each VPC must be aware of how to route traffic to the other: In us-east-1: Destination: 10.1.0.0/16 (CIDR of target VPC) Target: Peering Connection ID In us-west-2: Do the same, but route to 10.0.0.0/16. Modify Security Groups Adjust security

Read More »

How to Migrate Route 53 Domains Between AWS Accounts

When moving infrastructure between AWS accounts, one common task is migrating DNS records in Amazon Route 53. Instead of manually copying records, we can export them from the source account and import them into the destination account. This ensures consistency and reduces the chance of misconfiguration. In this guide, we’ll walk through How to migrate a Route 53 domains and its records from one AWS account to another. Prerequisites Step 1: Create a New Hosted

Read More »

How to Migrate Amazon S3 Data Across Accounts and Regions Using the AWS CLI

Migrating data between Amazon S3 buckets across AWS accounts and Regions can be a common requirement during cloud restructuring, account isolation, or data archiving strategies. We’ll copy data from a source bucket in one AWS account to a destination bucket in another account, potentially in a different Region. This process ensures that the destination account becomes the new owner of the objects, and we’ll achieve this through AWS S3 data transfer using AWS CLI. Tools

Read More »

How do I assume an IAM role using the AWS CLI

Introduction Cross-account access is a common need in AWS environments—especially when managing resources across multiple accounts. This guide walks you through securely assuming an IAM role in a destination AWS account using the IAM AWS CLI from a source account via temporary credentials. Prerequisites Step 1: Install the AWS CLI If you haven’t already, install the AWS CLI Verify installation: Step 2: Configure the AWS CLI with IAM User Credentials Use the IAM user credentials

Read More »

Subscribe and get your first issue fixed for Free!

Looking for server support and 24x7 monitoring?

Have doubts? Connect with us now.