All services

Networking & Content Delivery

Amazon VPC

Your own logically isolated network in AWS.

Official docs

Overview

Virtual Private Cloud lets you define IP ranges, subnets, route tables, gateways and security groups. Every modern AWS workload runs inside a VPC.

When to use it

  • Isolating workloads per environment (dev/stage/prod)
  • Connecting AWS to on-prem via VPN or Direct Connect
  • Running RDS, ElastiCache, EKS in private subnets

Setup

  1. Use the VPC Wizard or Terraform. Choose CIDR like 10.0.0.0/16.
  2. Create public subnets (with route to Internet Gateway) and private subnets (with NAT).
  3. Create Security Groups (stateful) and NACLs (stateless).
  4. Enable VPC Flow Logs to CloudWatch for auditing.

How to use

List VPCs
aws ec2 describe-vpcs
Create a security group
aws ec2 create-security-group --group-name qa-sg --description 'QA test runners' --vpc-id vpc-0123

QA use cases

  • Run private load tests against an internal ALB by placing load generators in the same VPC.
  • Use VPC peering to let a shared QA tooling VPC reach service VPCs without going through the internet.