How to manage allowed IP addresses for Databases
Reviewed on 04 July 2024 • 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.
To complete the actions presented below, you must have:
NoteAllowed IP configuration is only available for public networks.
- 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 allowed IP. The IP can be a single IP or an IP block.
NoteThe 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.
- Enter a single IP address or a subnetwork.
NoteTo restore initial settings and allow connections from all IPs, add the following IP block to the list: 0.0.0.0/0
.
- Go to your allowed IP address list.
- Click «See more Icon» and select Delete.
- A pop-up displays. Type DELETE to confirm.
- Click Delete allowed IP.