Skip to main content

Overview

To import your external database into PlanetScale, you need to allowlist PlanetScale’s IP addresses in your database firewall or security group. This lets PlanetScale connect to your database during the import process.

Where to find your IP addresses

The IP addresses you need to allowlist are shown during the import workflow on the Connect to external database step. You’ll see a blue info box on the connection page that lists all the IP addresses that need access to your external database.
IP addresses displayed on the connection step of import workflow

Provider-specific firewall guides

If PlanetScale detects that you’re connecting to a known database provider (like Amazon RDS, Aurora, Azure, GCP Cloud SQL, or DigitalOcean), you’ll also see a direct link to that provider’s firewall configuration documentation.

Important notes

  • Region-specific IPs - The IP addresses differ by region. Make sure you’re using the IPs shown for your selected region.
  • IPs may change - IP addresses can change occasionally. Always use the IPs shown in the import workflow.
  • All IPs required - You need to allowlist all the IP addresses shown, not just one.
NoteThis guide is meant to be used alongside the Database Imports guide or one of the provider-specific migration guides.

Need help?

Get help from the PlanetScale Support team, or join our GitHub discussion board to see how others are using PlanetScale.