Article

Table of Contents
Theme:
Was this article helpful?

6  out of  8 found this helpful

Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $600 by adding new articles.

How to Create a Vultr Virtual Private Cloud (VPC)

Last Updated: Fri, Mar 25, 2022
FAQ Linux Guides Networking Windows Guides

Introduction

Vultr has renamed Private Networking to Virtual Private Cloud (VPC). You'll see both VPC and Private Network in our documentation during this transition. These are the same feature; only the name has been changed.

A Vultr Virtual Private Cloud (VPC) is an easy-to-configure private network system with powerful configuration tools. With a Vultr VPC, you can create shared or segmented private networks.

VPC Diagram

You can use a VPC to segment your cloud servers into logical groups or harden your public interface while allowing permissive access from other cloud servers in the same VPC. You can run your backups, replication, and other back-end tasks in complete privacy without exposing the traffic to the public internet.

VPCs are entirely private, even from each other. Other customers cannot see traffic on your VPC private network, and your VPCs cannot pass traffic to each other. If you need to pass traffic between your VPCs or to another customer's VPC, you can set up VPC peering. See the VPC Peering guide for more details.

VPC Features

  • VPCs cannot span locations.
  • Vultr does not bill for VPC bandwidth.
  • A VPC supports up to 126 cloud server instances.
  • All Vultr instance types, except Bare Metal, can use VPCs.
  • For optimal performance, set the VPC adapter MTU to 1450.
  • Vultr supports multiple VLANs over a single VPC with 802.1q tags.
  • VPCs do not have DHCP. You must manually configure the IP addresses or supply your own DHCP server.
  • You can create up to five VPCs per location. If you require more, please contact our engineering team.

We provide network configuration examples for many popular operating systems on the server's Settings page. Select IPv4, and then follow the networking configuration link to view the examples.
Note: Your network adapter name may not match these examples. See How to Find the Network Adapter Names for a Vultr Cloud Server to learn more.

How to Create a VPC

  1. Navigate to the Network tab.
  2. Select the VPC Networks menu item.
  3. Click the blue plus icon.
  4. Choose Add VPC Network.

    NetworkConfig

  5. Select a location.

  6. Accept an automatic IP range or configure it manually. If you choose manual configuration, you'll find a helpful link to our subnet calculator.

    NetworkConfig

    You can use any RFC1918 private address range, 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16. When you attach Vultr products such as Load Balancers to the VPC, they will automatically choose non-conflicting addresses.

  7. In most cases, you should choose the Auto-Assign option in Manage Routes. If your configuration requires advanced configuration, choose Configure Custom Routes and use the Set Routes section.

    Add VPC

  8. Give the VPC a name and click Add Network.

After you've created a VPC, you can assign it to an instance. To be compatible with other Vultr products, like Load Balancers, use addresses in the same range you chose in step 6.

Assign or Delete an Instance VPC

Add VPC

Navigate to the server Settings page and click IPv4. If you haven't created a VPC yet, use the Manage link to create one. You'll find it next to the VPC Network title.

  • To detach a VPC from an instance, use the trashcan icon.
  • To attach a VPC to an instance, select the VPC from drop-down selector, then click Attach VPC.

The server will reboot to activate the network adapter.

Manage VPCs via the API

The Vultr API offers several endpoints to manage VPCs.

Manage a Network

List All VPCs

Manage the VPC for an Instance

  • List the VPCs for an instance.
  • Attach a VPC to an instance.
  • Detach a VPC from an instance.

More Information

Here are some additional resources that may be helpful:

Want to contribute?

You could earn up to $600 by adding new articles.

このウェブサイトの日本語版は情報提供のみを目的とした翻訳であり、英語版が優先されます。