VPC Overview
The VPC (Virtual Private Cloud) functionality allows you to group your virtual machines in a completely isolated virtual private network, with internal Layer 2 communication, ideal for secure, segmented, and organized environments.
π What is a VPC?
A VPC is a private virtual network where connected virtual machines share the same IP range and can communicate with each other directly, as if they were on the same local network.
- Machines receive private IPs via DHCP.
- All traffic between them is encapsulated in a private tunnel.
- VPCs do not communicate with each other by default.
Key Components
Supported Network Components
Component | Purpose | Description |
---|---|---|
Single VPC Network | Isolation and Organization | Create a single private network to group and isolate your virtual machines. |
Route Table | Traffic Control | Defines internal routing between VMs and outbound traffic to the internet via gateway. |
VPN Gateway | Secure Remote Access / NAT | Enables secure remote access via VPN and also acts as NAT Gateway for internet outbound traffic. |
Per-VM Firewall | Security Control | Individual firewall rules applied directly to virtual machines. |
Private IP Assignment | Private Addressing | Private IPs are automatically assigned via DHCP to each VM in the VPC. |
Network Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β VPC: my-vpc (192.168.0.0/24) β
β β
β ββββββββββββββββββββββββ βββββββββββββββββββββββββββββ β
β β Application Server β β Database Server β β
β β Node.js / Express β β PostgreSQL β β
β β 192.168.0.10 β β 192.168.0.20 β β
β ββββββββββββββββββββββββ βββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββββββββββ βββββββββββββββββββββββββββββ β
β β Cache Server β β Web/API Server β β
β β Redis β β Nginx / Apache β β
β β 192.168.0.30 β β 192.168.0.40 β β
β ββββββββββββββββββββββββ βββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββββββββββββββββββββββββ β
β β VPN Gateway (UDP) β β
β β Acts as: β β
β β β’ VPN Gateway β β
β β β’ NAT Gateway for external exit β β
β β Public IP: 181.41.200.23 β β
β ββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Internet
Benefits
π Security & Isolation
- Complete network isolation from other customers
- Multiple layers of security controls
- Private IP addressing within your network
ποΈ Control & Flexibility
- Full control over IP addressing and routing
- Custom network configurations
- Integration with on-premises networks
π Scalability
- Easily scale your network as needs grow
- Support for thousands of instances
- Elastic network interfaces
π‘οΈ Compliance
- Meet regulatory requirements
- Data residency controls
- Audit trail capabilities
Common Use Cases
Multi-tier Applications
- Web, application, and database tiers
- Isolated security zones
Hybrid Cloud Connectivity
- Extend on-premises networks
- Seamless integration
Development Environments
- Isolated testing environments
- Resource segregation
Getting Started: Ready to create your first VPC? Check out our VPC Configuration Guide for step-by-step instructions.