Jump toSuggest an edit

Public Gateways - Quickstart

Reviewed on 27 November 2023Published on 26 May 2021

Public Gateways sit at the border of Private Networks and provide extra functionality. They provide features like SSH bastion, and services to deal with traffic entering and exiting the network (NAT). You can add a Public Gateway to each of your Private Networks.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Created an Instance or Elastic Metal server

How to create a Public Gateway

  1. Click Public Gateways in the Network section of the side menu.

  2. Click Create Public Gateway to launch the Public Gateway creation wizard.

  3. Complete the following steps in the wizard:

    • Choose an Availability Zone, which is the geographical location in which your Public Gateway will be created. Note that in order to attach a Public Gateway to a Private Network, the gateway must be in an Availability Zone within the Private Network’s region.
    • Choose a Public Gateway Type, which impacts the pricing and bandwidth of your gateway.
    • Choose an IP. You can choose to assign one of your existing Flexible IPs to your Public Gateway. Otherwise, a new IP will be automatically assigned here.
    • Choose Name for your Public Gateway, and (optionally) a description and tags.
    • Verify the Estimated Cost of your Public Gateway, based on the specifications you chose.
  4. Click Create Public Gateway to finish.

    Your Public Gateway is created and you are redirected to the Public Gateways dashboard, where your newly-created Public Gateway now displays.

How to attach your Public Gateway to a Private Network

  1. Click Public Gateways in the Network section of the side menu.

  2. Click the Public Gateway that you want to attach to a Private Network. You are taken to the Overview page for that Public Gateway.

  3. Click the Private Networks tab. A list of Private Networks attached to the Public Gateway displays.

  4. Click «Plus Icon» to attach a new Private Network to the Public Gateway. A pop-up displays.

  5. Choose to attach an existing or a new Private Network.

    • If you want to attach an existing Private Network, select Attach to an existing Private Network and choose the desired network from the drop-down list.

    Only Private Networks which are in the same region as the Public Gateway are displayed in this list.

    • If you want to create and attach a new Private Network, select Attach to a new Private Network. A default name will be suggested for you, but feel free to overwrite this with a new name of your choice.
  6. Click Attach Private Network to finish. You are taken back to the Private Networks tab, where the network you attached now appears, along with the services configured and the IP address of the Public Gateway.

    Your Private Network is now attached to your Public Gateway. You can repeat the steps above to attach more Private Networks to the same Public Gateway if you wish.

Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway