Creating and Managing VPCs
This guide explains how to create a Virtual Private Cloud (VPC) in CloudRaya using the Control Panel.
Creating a VPC allows you to define custom IP ranges, subnets, and network access rules for your Virtual Machines.
Before You Begin
Before creating a VPC, make sure that:
- You have access to the CloudRaya Control Panel
- You are working inside the correct Project
- You understand that a VPC is scoped to a single Cloud Zone
If you are new to VPC concepts, see:
Accessing the VPC Page
To manage VPCs:
- Open the CloudRaya Control Panel
- Navigate to Dashboard → Network → VPC
This page displays all VPCs created within your project.
You can filter VPCs by Cloud Zone.
Creating a New VPC
To create a new VPC, click Add VPC and follow the guided steps.
Step 1: Select Network Size
Choose the main network size for your VPC.
- The network size defines the total private IP capacity of the VPC
- Network size is selected using CIDR notation, such as
/19or/20 - Larger networks support more subnets and Virtual Machines
This network acts as the parent address space for all subnets.
Step 2: Choose the VPC IP Range
After selecting the network size, choose the IP address range for the VPC.
- Available IP ranges are generated based on the selected network size
- CloudRaya prevents overlapping IP ranges within the same Cloud Zone
Once selected, this IP range becomes the foundation of your VPC.
Step 3: Create Subnets
Next, define one or more subnets inside the VPC.
For each subnet, configure:
- Subnet size (CIDR)
- IP address range within the VPC network
Subnets determine where Virtual Machines are placed.
Multiple VMs can be deployed within the same subnet.
Step 4: Configure Access Control Lists (ACL)
In the final step, configure Access Control List (ACL) rules for the VPC.
During this step, you can:
- Set the ACL name
- Review default allow rules for common ports
- Add custom ingress or egress rules if needed
ACL rules control network traffic for all subnets and VMs associated with this VPC.
After reviewing the configuration, click Add VPC to create the network.
Viewing VPC Details
Once created, the VPC appears in the VPC list.
To view detailed information, click View Detail.
From the VPC detail page, you can see:
- VPC CIDR and subnet configuration
- Applied ACL rules
- Associated Cloud Zone
- Traffic statistics for the VPC
Traffic Statistics
Each VPC includes traffic monitoring features.
You can view:
- Total data sent and received
- Traffic over a selected time range
- VPC-level network usage trends
This helps you understand and monitor network activity within your environment.
Using a VPC When Creating a Virtual Machine
When creating a Virtual Machine:
- If no custom VPC exists, CloudRaya automatically uses the default VPC
- If one or more custom VPCs exist, you can:
- Select a VPC
- Choose a subnet within that VPC
- Apply the associated ACL automatically
This allows networking to be defined before the VM is deployed.
When Should You Create a Custom VPC?
Creating a custom VPC is recommended when you need to:
- Separate environments such as production and staging
- Control private IP address allocation
- Apply custom network access rules
- Prepare for VPN connectivity
- Design a structured network layout
For simple workloads, the default VPC is sufficient.
Next Steps
After creating a VPC, you can continue with:
-
Fine-tune network access rules.
-
Deploy VMs inside your VPC and subnets.
-
Expose selected services to the internet.
-
Connect external networks securely to your VPC.
📄 VPN