Getting started with OVHcloud Public Cloud Gateway
Create and manage Public Cloud Gateways using the OVHcloud Console, API, ovhcloud-cli, or Terraform
Objective
An OVHcloud Gateway provides secure outbound connectivity (SNAT) for instances on a private network subnet. It is also required on that subnet to use Floating IPs for public exposure of those private resources.
This guide explains how to create, list, update, and delete a Public Cloud Gateway using the OVHcloud Console, the OVHcloud API, ovhcloud-cli, or Terraform.
Requirements
- A Public Cloud project in your OVHcloud account
- A private network with at least one subnet in the target region (see Configuring vRack for Public Cloud)
- For OVHcloud API: OVHcloud API credentials (First steps with the OVHcloud API)
- For ovhcloud-cli: ovhcloud-cli installed and configured with your credentials
- For Terraform: Terraform installed and the OVH provider configured (How to use Terraform with OVHcloud)
OVHcloud Console Access
- Direct link:
- Navigation path:
Public Cloud> Select your project >Network>Gateway
Instructions
Gateway models
Before creating a Gateway, choose the model that matches your bandwidth requirements:
Please note that, at this time, size 2XL is not available within the Mumbai, Singapore, and Sydney regions.
Create a Gateway
From your Public Cloud project, click Gateway in the left-hand menu under Network, then click Create a Gateway.
- Name the gateway. Enter a Gateway name.
- Select a region. In Select a region, choose the region where your private instances are deployed.
- Select a size. In Select size, pick the gateway model based on your bandwidth needs (see the table above).
- Attach a network. In Attach to a specific private network, select an existing private network, or click
Create a private networkto create one inline. - Click
Create a gatewayto confirm. Gateway provisioning takes a few minutes.
Once created, the gateway appears in the Gateway section, and its attached private network is visible under Private Network.
Only single-region private networks are supported by Gateway.
List your Gateways
From your Public Cloud project, click Gateway in the left-hand menu under Network.
The page lists all gateways in your project with their region, model, status, and attached network.
Update a Gateway
You can update the name or model (size) of an existing gateway.
To change the model (size), click the ... menu next to your gateway in the Gateway list, then select Modify size. Select the new size, then click Modify size.
To change the name, click the name of your gateway to open its page, click the Change name icon next to the name, enter the new name, then confirm.
Delete a Gateway
Deleting a gateway is irreversible. Instances relying on it for outbound connectivity will lose Internet access.
From the Gateway list, click the ... menu next to your gateway, then select Delete and confirm.
Go further
- Creating a private network with Gateway
- Attaching a Floating IP to a Public Cloud instance
- Public Cloud Networking concepts
- How to use Terraform with OVHcloud
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.
Join our community of users.