How to Create and Manage VPC on CloudRaya

How can we help?
< All Topics
Print

How to Create and Manage VPC on CloudRaya

What is VPC?

A Virtual Private Cloud (VPC) is a virtual network dedicated to your CloudRaya environment. It offers enhanced control over your networking configuration, allowing for the isolation of resources, advanced access control lists (ACLs), and simplified management of network segmentation and IP addressing.

Configuring VPC in CloudRaya

Step 1: Access the VPC Menu

Log in to your CloudRaya account and navigate to the Networking menu > VPC.

On the Virtual Private Cloud tab, a list of the VPC networks that we already have in a particular region/location will appear.

Step 2: Create a VPC Network

To start creating a VPC network, we can click on the Create VPC button.

On the Create Virtual Private Cloud page, fill in the following fields:

    1. Location: Select the region for the VPC Network (e.g., Seattle).
    2. VPC Name: Enter a name for your VPC network.
    3. Description: Provide a brief description of the VPC network.
    4. IP Address & Network Size: Specify the Super Network IP (e.g., 10.10.23.0) and Network Size (/24). The system will display the available IP ranges.
    5. If so, we can click on Create VPC.

Step 3: Configure VPC Details

After creating the VPC network, you’ll be directed to the VPC Details page. This page includes several tabs and sections to customize your VPC settings.

  1. Detail Virtual Private Cloud: Review the information about your VPC.
  2. Assigned VM: View the VMs assigned to this VPC.
  3. VPC Subnet: View and manage your subnets.
  4. Access List: Manage ACL rules for your subnets.

Step 4: Create a Subnet

In the VPC Subnet section, click Create Subnet.

On the Create Subnet page, fill in the following fields:

  1. Subnet Name: Enter a name for the subnet.
  2. Description: Provide a description for the subnet.
  3. IP Address & Network Size: Specify the subnet range within the Super Network (/24). The range of the subnet must still be within the range of the Super Network that we created earlier (/24). For example, a subnet IP of 10.10.23.1 with a network size of (/28).
  4. ACL Rules: A collection of firewall rules that we can customize. We can specify which ports we want to open. You can choose the Default ACL Rules for a predefined configuration from CloudRaya, create custom ACL rules if you want to add specific rules, or use existing ACL rules you have created previously, which will also appear here.
  5. If so, Click Create Subnet.

Step 5: Manage Subnet Lists

The newly created subnet will appear in the list. You can perform various actions such as:

  • Detail: View subnet information and VM members.
  • Edit Subnet: Edit the subnet name and description.
  • Change ACL: Adjust the ACL Rule for the subnet.
  • View ACL Rules: View and manage ACL rules.
  • Delete: Delete the subnet. However, please make sure that there are no VMs attached to this subnet before doing so.

Step 6: Manage ACL Profiles

In line with the previous ACL Rules explanation on the Create Subnet process, once we finish creating the subnet, the ACL Profile will be displayed in this section. If you chose the default or custom configuration, the new ACL Profile will appear here. If you selected existing ACL rules, no new ACL Profile will be created.

In the ACL profile that we already have, we can manage several things such as changing its name, viewing the collection of rules, to deleting this profile.

Step 7: Manage ACL Rules

Now let’s explore the rules within each ACL profile.

In the ACL Rules menu, you’ll see a list of ports you want to manage, their protocol types, CIDR lists, traffic types, and actions (whether you want to allow or deny traffic for each protocol, and port). You can manage each port individually or remove ports as needed.

Note:
The rule number determines the order in which the system reads these ACL rules. The system reads the rules in ascending order.

To understand traffic types:

  • Egress: Traffic leaving our VM.
  • Ingress: Traffic entering our VM.

For example, If we try to translate the set of rules above, it will be as follows:
Allow all ports with TCP and UDP protocols from 1 - 65535 from our VM, to be able to go to the internet.
And allow ports 22, 3389, 80, 443 with the TCP protocol to be able to enter our VM.

You can also add new rules by clicking the Create Rule button.

Traffic Statistic Tab

Check the traffic history and total data transfer used by the VPC Network.

Conclusion

In this article, we covered a brief overview of VPC, and how to configure and implement it within CloudRaya.

For a video tutorial, visit: YouTube Video.

For further questions, reach out to us via live chat or email our support team. Explore more insights on CloudRaya’s blog and Knowledge Base. Start creating new VMs and add CloudRaya’s VPC today!

 

Table of Contents

Ready, Set, Cloud

Ready, Set, Cloud