Skip to content

Create and Attach a VPC (Network)

This guide explains how to create a Virtual Private Cloud (VPC) environment using Horizon, consisting of a network, a subnet, and a router to provide connectivity for your instances.

Prerequisites

  • Access to your Horizon dashboard.
  • Project quota for Networks, Subnets, and Routers.

Steps

Track your progress. Data is saved locally in your browser.
Checklist: None

Create the Network and Subnet

  1. Navigate to Network > Networks in the left sidebar.
  2. Click Create Network.
  3. In the Network tab:
    • Network Name: Enter a name (e.g., internal-vpc).
  4. In the Subnet tab:
    • Subnet Name: Enter a name (e.g., subnet-1).
    • Network Address: Enter a CIDR (e.g., 192.168.10.0/24).
    • Gateway IP: Usually the first IP (e.g., 192.168.10.1), or leave blank to use the default.
  5. In the Subnet Details tab:
    • Enable DHCP: Keep checked.
    • DNS Name Servers: Add entries (e.g., 8.8.8.8) if needed.
  6. Click Create.

Create and Configure the Router

To allow the VPC to communicate with the Internet or other networks, you need a router.

Alpha / Beta Notice

During the Stud I/O Cloud private alpha / beta, a router with a default gateway is added to the project upon request.

The actions below are only applicable to specific network, not generally available. In any other case you can continue to the next step.

  1. Navigate to Network > Routers.
  2. Click Create Router.
  3. Router Name: Enter a name (e.g., vpc-router).
  4. External Network: Select the public/external network provided by the cloud.
  5. Click Create Router.

Connect the Network to the Router

  1. On the Routers page, click the name of your router.
  2. Go to the Interfaces tab and click Add Interface.
  3. Select the Subnet you created in Step 1.
  4. Click Submit.

Attach VPC to an Instance

  1. When creating a new instance (see Create Basic Instance), navigate to the Networks tab.
  2. Move your new VPC network to the Selected networks column.
  3. If the instance is already running, you can attach an interface via Compute > Instances > Actions > Attach Interface.