Skip to navigationSkip to main contentSkip to footerScaleway DocsSparklesIconAsk our AI
SparklesIconAsk our AI

How to manage allowed IP addresses for Databases

Allowed IPs define remote access restrictions for your Database Instance. The default entry 0.0.0.0/0 enables any host to establish a connection.

Before you start

To complete the actions presented below, you must have:

InformationOutlineIcon
Note

Allowed IP configuration is only available for public networks.

How to add an IP address

  1. Click PostgreSQL and MySQL in the Databases section of the Scaleway console side menu. A list of your Database Instances displays.
  2. Select the geographical region of the Instance you want to manage from the drop-down.
  3. Click the database name or more iconDotsHorizontalIcon > More info to access the database information page.
  4. Click Allowed IPs tab. A list of your allowed IP addresses displays.
  5. Click Add allowed IP. The IP can be a single IP or an IP block.
    InformationOutlineIcon
    Note

    The IP must be specified in CIDR format, i.e. 198.51.100.135/32 for a single IP or 198.51.100.0/24 for an IP block.

  6. Enter a single IP address or a subnetwork.
    InformationOutlineIcon
    Note

    To restore initial settings and allow connections from all IPs, add the following IP block to the list: 0.0.0.0/0.

How to delete an IP address

  1. Go to your allowed IP address list.
  2. Click more iconDotsHorizontalIcon and select Delete.
  3. A pop-up displays. Type DELETE to confirm.
  4. Click Delete allowed IP.
SearchIcon
No Results