HomeManaged DatabasesPostgreSQL and MySQLHow to
Manage allowed IPs
Jump toUpdate content
How to manage allowed IP addresses for Databases
Published on 11 May 2019
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.
Security & Identity (IAM):
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
- You have an account and are logged into the Scaleway console
- You have a PostgreSQL or MySQL Database Instance
How to add an IP address
- Click PostgreSQL and MySQL in the Managed Databases section of the Scaleway console side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the database information page.
- Click Allowed IPs tab. A list of your allowed IP addresses displays.
- Click Add IP. The IP can be a single IP or an IP block.
The IP must be specified in CIDR format, i.e.
198.51.100.135/32for a single IP or
198.51.100.0/24for an IP block.
- Enter a single IP address or a sub-network.
To restore initial settings and allow connections from all IPs, add the following IP block to the list:
How to delete an IP address
- Go to your allowed IP address list.
- Click «Delete Icon».
- Click Delete your IP.