Public VCF as-a-Service - Configuring and managing your Edge Gateways

Vedi come Markdown

Find out how to configure your first Edge Gateway on Public VCF as-a-Service, then create and manage the others from the OVHcloud Control Panel

Objective

An Edge Gateway is the network component that connects your Public VCF as-a-Service organisation to the public network. It is essential for your virtual machines to access the Internet.

This guide explains how to configure your first Edge Gateway upon delivery of Public VCF as-a-Service, and how to create, edit and delete Edge Gateways from the OVHcloud Control Panel.

Warning

Edge Gateways are managed exclusively from the OVHcloud Control Panel. This feature is not available in the VMware Cloud Director interface.

Requirements

  • A Public VCF as-a-Service Advanced offer (the Edge Gateway feature is not available with the Standard offer)
  • An IP block linked to your Advanced organisation. Linking is done from the Network > Public IP Addresses menu of the OVHcloud Control Panel. An IP block can only be linked to a single Advanced organisation (this feature is not available for Standard organisations)

OVHcloud Control Panel Access

  • Direct link:
  • To access your services: Hosted Private Cloud > Public VCF as-a-Service > Select your VCF service

Instructions

Select your organisation, then your Virtual Datacenter and click the Edge Gateway tab.

Configure your first Edge Gateway upon delivery

When your Public VCF as-a-Service organisation is delivered, an Edge Gateway is automatically created and associated with your IP block. It appears in the Edge Gateway tab of your Control Panel.

This Edge Gateway is ready, but for your virtual machines to access the public network, you must create a NAT rule on this Edge Gateway from the VMware Cloud Director interface.

Configure a NAT rule on your Edge Gateway

Log in to your VMware Cloud Director interface, then go to Networking > Edge Gateways. Click your Edge Gateway, then the NAT tab and click New.

The two most common rule types are:

SNAT — outbound Internet access
DNAT — inbound access to a VM

A SNAT (Source NAT) rule allows your virtual machines to access the Internet. Outbound traffic is translated from the VM's private IP address to a public IP address from your IP block.

When to use it? To allow your VMs to initiate connections to the Internet (updates, downloads, API calls, etc.).

Fill in the following fields:

FieldValue
NameRule name (e.g. snat-to-internet)
ActionSNAT
Source IPIP address or range of your VMs' private network (e.g. 192.168.1.0/24)
Translated IPPublic IP address from your IP block
Port (optional)Source port to translate (e.g. 443). If left empty, applies to all traffic

Click Save to apply the rule. It takes effect immediately.

Info

You can create several NAT rules on the same Edge Gateway and enable or disable them individually as needed.

Configure firewall rules

By default, a firewall rule blocks all traffic on your Edge Gateway. You must create allow rules for traffic to pass through.

From the VMware Cloud Director interface, go to Networking > Edge Gateways. Click your Edge Gateway, then the Firewall tab and click New.

Fill in the following fields:

FieldDescription
NameRule name (e.g. allow-outbound)
DirectionIN-OUT to allow outbound traffic, IN for inbound only
SourceSource IP or Any for all origins
DestinationDestination IP or Any for all destinations
ServiceRelevant port and protocol (e.g. TCP:443) or Any for all traffic
ActionAllow to permit, Drop to block
Warning

Rules are evaluated from top to bottom. Place your allow rules before the default block rule, otherwise traffic will be blocked before reaching your rules.

Click Save to apply.

Create a new Edge Gateway

You can create up to 5 Edge Gateways per Virtual Datacenter.

From the Edge Gateway tab, click Create an Edge Gateway.

Fill in the requested information:

FieldDescription
NameYour Edge Gateway's name (can be changed later)
IP SpaceIP block to assign to this Edge Gateway (block delivered with the organisation or ordered additionally)

Click Create to confirm.

Info

In your VMware Cloud Director interface, the IP block assigned to your Edge Gateway is visible as an IP Space object. An IP block can only be assigned to one Edge Gateway at a time. Deleting an IP Space in the VCD interface does not detach the IP block from your organisation in the OVHcloud Control Panel. The link between an IP block and your organisation remains manageable from the Network menu of your Control Panel.

Edit an Edge Gateway

You can edit the name and the IP block assigned to an existing Edge Gateway.

From the Edge Gateway tab, click the ... button to the right of the relevant Edge Gateway, then Edit.

Change the name and/or the IP block as needed, then click Edit to confirm.

Warning

Changing the IP block assigned to an Edge Gateway may temporarily interrupt the network connectivity of the virtual machines that use it.

Delete an Edge Gateway

From the Edge Gateway tab, click the ... button to the right of the Edge Gateway to delete, then Delete.

Warning

Deleting an Edge Gateway is irreversible. All virtual machines connected through this Edge Gateway will immediately lose their access to the public network.

Go further

Questa pagina ti è stata utile?