Amazon Virtual Private Cloud (VPC) is the isolated network you define inside AWS. It is an IP address range split into subnets, with route tables, internet and NAT gateways, and security groups that decide which traffic can flow in and out. Almost every AWS workload runs inside a VPC, from a single EC2 instance to an EKS cluster.

Private connectivity gets a lot of coverage here. Several guides explain VPC endpoints, gateway versus interface endpoints, PrivateLink endpoint services and VPC Lattice service networks. Other posts walk through Site-to-Site VPN and Client VPN setup, list the security groups an EKS cluster creates, and give a decision matrix for choosing NAT per AZ, a single NAT or regional NAT in EKS environments. You will also find Terraform example code that builds a VPC with security groups and EC2 instances, and a comparison of the AWS Load Balancer Controller and the Gateway API Controller for VPC Lattice.

If you're preparing for interviews, there are 50 VPC questions with answers and a set of hands-on AWS assignments. An application runtime design post shows where the VPC sits next to CloudFront, Route 53, RDS and WAF. The posts are useful for cloud engineers, platform teams running EKS and anyone preparing for AWS roles.

Start here

Latest Amazon VPC articles

How to setup Kubernetes AWS Gateway API Controller on Amazon EKS?

The AWS Gateway API Controller lets you use Kubernetes Gateway API resources (Gateway, HTTPRoute, GRPCRoute) on Amazon EKS. Instead of creating a load balancer, the controller turns…

Read More

AWS Architect & Design – Decision Matrix: NAT per AZ vs Single NAT vs Regional NAT for EKS Environments

Final comparison table (all approaches) Approach Architecture (AZ / NAT) Design Cost profile Parity to PROD Terraform complexity Risk Best-practice fit Pros Cons Typical fit (envs) A….

Read More

AWS: Creating AWS Network Diagrams: Tools and Best Practices

A clear network and communication flow diagram helps you visualize AWS infrastructure, document architecture, and communicate effectively with teams. Here’s a guide to building these diagrams efficiently,…

Read More

AWS – EKS – How to make EKS API Server Private

Deploying to a Private EKS Cluster Using Terraform Cloud (TFC) By default, Terraform Cloud (TFC) workspaces require network-level access to the EKS API endpoint to deploy workloads…

Read More

AWS Tutorials: VPC Lattice User Guide

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Difference between AWS Load Balancer Controller Vs Kubernetes Gateway API Controller for AWS VPC Lattice

AWS Load Balancer Controller vs Kubernetes Gateway API Controller for AWS VPC Lattice Overview Table Feature AWS Load Balancer Controller Kubernetes Gateway API Controller for VPC Lattice…

Read More

AWS Tutorials: AWS Gateway API Controller Setup Verification Checklist on EKS

✅ AWS Gateway API Controller Setup Verification Checklist for Kubernetes Gateway API (EKS) This guide ensures a full production-ready setup for AWS Gateway API Controller integrated with…

Read More

EKS Tutorials: Types of Security Groups Created or Used in an EKS Cluster

When you set up an Amazon EKS (Elastic Kubernetes Service) cluster, AWS automatically creates and/or requires several security groups to manage access to the control plane, worker…

Read More

AWS Tutorials: What is a Prefix List in AWS?

Here’s a complete guide to Prefix List and PREFIX_LIST_ID – particularly useful in AWS networking contexts such as Route Tables, Security Groups, and Network ACLs. 🔰 What…

Read More

AWS Tutoriaols: A Comprehensive Guide to AWS VPC Endpoint Services

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

AWS VPC Endpoints: A Comprehensive Guide

What is an AWS VPC Endpoint? An AWS VPC Endpoint enables you to privately connect your VPC to supported AWS services and VPC Endpoint services without using…

Read More

AWS Tutorials: AWS VPC VPN Complete Guide

Here’s a complete guide for AWS VPC VPN — ideal for tutorials, study, and implementation. This tutorial will help you understand Virtual Private Network (VPN) connections within…

Read More

AWS Tutorials: VPC – PrivateLink and Lattice Complete Guide

Let’s start from the basics and build up a clear understanding step-by-step. 🔹 Step 1: Understanding the Core Networking Concepts 1. VPC Network (Virtual Private Cloud) 🔹…

Read More

Differnece between AWS Resource Access Manager and Amazon VPC Lattice

Let’s clearly differentiate these two AWS services in simple, practical terms: 📌 AWS Resource Access Manager (RAM) Simple Definition:RAM allows you to share AWS resources (like VPC…

Read More

AWS Tutorials: Amazon VPC Lattice Complete Guide

AWS VPC Lattice is a networking service provided by Amazon Web Services (AWS) that simplifies how you connect and manage different services across multiple Virtual Private Clouds…

Read More

Top 50 Interview questions and Answers on AWS VPC

Here are 50 top questions and detailed answers on AWS VPC: Basics of AWS VPC 1. What is AWS VPC? AWS VPC (Virtual Private Cloud) is a…

Read More

Secure Connectivity from Public to Private: Introducing EC2 Instance Connect Endpoint

No more Bastion hosts!! AWS announces EC2 Instance Connect Endpoint, a new feature that allows you to connect securely to your instances and other VPC resources from…

Read More

Design Application Runtime in AWS Cloud

List of AWS services Reference Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry…

Read More

AWS Tutorials: AWS VPC endpoints AKA AWS PrivateLink & AWS VPC endpoint services

AWS VPC endpoints AKA AWS PrivateLink A VPC endpoint enables connections between a virtual private cloud (VPC) and supported services, without requiring that you use an internet…

Read More

AWS Assignment

Part – 1: General AWS Assignment: Computing AWS Lab & Exercise: VPC – Virtual Private Cloud Assignment AWS Cloudformation Lab and Assignment AWS Storage Write an answer…

Read More

AWS Certified SysOps Administrator – Chapter – 3

Review Questions You have implement a Classic Load Balancer. You now need to collect some Information, specifically what is the IP address of the client making the…

Read More

AWS Certified SysOps Administrator – Chapter – 1

Assessment Test You notice in the AWS Management Console that Your Amazon Elastic Compute Cloud (Amazon EC2) Instance State is Failed. What would cause this? Loss of…

Read More

AWS Certified Solutions Architect Exam Guide – Chapter-4

Understand what a VPC is and its core and optional components.An Amazon VPC is a logically isolated network in the AWS Cloud. An Amazon VPC is made…

Read More

AWS Lab & Exercise: VPC – Virtual Private Cloud Assignment

Problem Statement: Create a VPC. put 4 subnets into it with 2 private and 2 public in 2 different availability zones add 2 routing tables, 1 public…

Read More

AWS Solution Architect Certification Free Tutorials [Session 1 – 7 ]

Session 1 AWS Solution Architect Certification Tutorials EC2 | Debug.School Session 2 AWS Solution Architect Certification Tutorials VPC Part1 Session 3 AWS Solution Architect Certification Tutorials VPC…

Read More

Example of Terraform Code for Lab and Demo

Example Code of Terraform AWS VPC Terraform Hello world Program Terraform example program for aws_security_group, aws_instance and provisioner Working with Terraform AWS provider, resources aws_key_pair Rajesh KumarI’m…

Read More

AWS Interview Questions and Answer Part – 31

What is the definition of a managed policy? Custom policy controlled by the customer Deployed by the customer Created and maintained by AWS (Ans) Policies applied to…

Read More

AWS Interview Questions and Answer Part – 30

If resources at AWS have been created by a no other account, what feature can be enabled to share access to resources? Cross Account Access (Ans) Creating…

Read More

AWS Interview Questions and Answer Part – 28

Security Groups are: Stateless – traffic strictly filtered Stateless – return traffic not allowed (Ans) Stateful – return traffic allowed Stateful – traffic strictly filtered Read replicas…

Read More

AWS Virtual Private Cloud (VPC) – Demo

Hi Folks ! , In this tutorial we will be creating our own custom VPC.This VPC will have : Public and Private Subnets Route Table configuration for…

Read More

Amazon VPC: frequently asked questions

What is the difference between a public and a private subnet in AWS VPC?

A public subnet's route table has a route to an internet gateway, so resources with public IPs can be reached from the internet. A private subnet has no such route. It usually reaches the internet outbound through a NAT gateway.

What is the difference between gateway and interface VPC endpoints?

Gateway endpoints are route table targets and support only Amazon S3 and DynamoDB. Interface endpoints are elastic network interfaces with private IPs in your subnets. They are powered by AWS PrivateLink, work with many AWS and partner services, and are billed per hour and per GB processed.

How do security groups differ from network ACLs?

Security groups are stateful and apply to network interfaces such as those on EC2 instances, and they only support allow rules. Network ACLs are stateless and apply at the subnet level. They support both allow and deny rules, which are evaluated in rule-number order.

Do I need one NAT gateway per Availability Zone?

One NAT gateway per AZ keeps outbound traffic working if an AZ fails and avoids cross-AZ data charges, so it is the usual choice for production. A single NAT gateway costs less and is common in dev and test environments, but it is a single point of failure.