Configure AWS PrivateLink Across Two AWS Accounts Using NLB and VPC Endpoint Service

Configure AWS PrivateLink to establish private connectivity between two separate AWS accounts using a VPC Endpoint Service, Network Load Balancer (NLB), and Interface VPC Endpoint. Table of Contents 1. Introduction In this tutorial, we will configure an AWS VPC Endpoint Service using a Network Load Balancer (NLB) to privately expose an application hosted in a … Read more

Install and Configure OpenVPN Server and Client on Linux

How to install, and configure OpenVPN Server and Client on Linux. Table of Contents Introduction What is VPN? Why do we need a VPN? When using public Wi-Fi, your network traffic may be exposed to other users on the same network, especially when using insecure connections. For example, attackers may attempt to intercept unencrypted data, … Read more

Access Amazon S3 from a Private EC2 Instance Using a Gateway Endpoint

How to access Amazon S3 from a Private EC2 Instance Using a Gateway Endpoint Table of Contents 1. Introduction In this tutorial, we will configure an AWS VPC Gateway Endpoint to allow EC2 instances in a private subnet to access Amazon S3 without requiring internet access or a NAT Gateway. The architecture consists of two … Read more

Installing and Configuring Nginx on RHEL/AlmaLinux

How to install and configure Nginx on RHEL/AlmaLinux Check if Nginx is already installed rpm -qa | grep nginx Install nginx dnf install -y nginx Check which service is using port 80 ss -tulpn | grep :80 In this example, the httpd service is already listening on port 80. Stop the httpd service and disable … Read more

Access Amazon SQS from a Private EC2 Instance Using an Interface Endpoint

How to access Amazon SQS from a Private EC2 Instance Using an Interface Endpoint Table of Contents 1. Introduction In this tutorial, we will configure an AWS VPC Interface Endpoint to allow EC2 instances in a private subnet to access Amazon SQS without requiring internet access or a NAT Gateway. The architecture consists of two … Read more

Set up Apache HTTP Server (httpd)

How to set up Apache HTTP web server (httpd) in Linux. Table of Contents 1. Introduction In this tutorial, we will configure an httpd webserver on RHEL-based Linux distributions to serve a simple webpage. 2. Overview of httpd what is httpd? Key Information 3. Prerequisites 4. Implementation check if the httpd package is already installed … Read more

Installing and Configuring Squid Proxy on RHEL/AlmaLinux

Check if the package is installed rpm -qa | grep squid Install the package dnf install squid -y Check the installed version squid –version Enable and start the squid systemctl enable –now squid Configure Squid Edit the configuration file: vi /etc/squid/squid.conf Keep the existing default configuration, but remove or comment out the default access-control rules … Read more

Mail Servers in Linux – Postfix

Mail Servers in Linux – Postfix Table of Contents 1. Introduction In Linux, a mail server allows applications, scripts, and workloads to send email notifications. For example, when a backup job finishes running, the system can send an email to notify the administrator whether the backup completed successfully or failed. 2. What is Postfix? Postfix … Read more

Linux Task Scheduling Using systemd Timers on RHEL

Linux Task Scheduling Using systemd Timers on RHEL Table of Contents 1. Introduction In this tutorial, we will configure a systemd timer on RHEL-based Linux distributions to automate daily tasks. We will use a systemd service to execute a backup script and a systemd timer to schedule the backup automatically every day at 1:00 AM. … Read more

Building a Secure AWS VPC with Public and Private Subnets

Building a Secure AWS VPC with Public and Private Subnets: Bastion Host SSH Access Table of Contents 1. Introduction In this tutorial, we will build a basic AWS VPC architecture with public and private subnets to provide a secure environment for hosting EC2 instances. The architecture consists of a public subnet hosting a Bastion Host … Read more