PostgreSQL Firewalls

Lock down access to your PostgreSQL clusters with advanced firewall rules at ScaleGrid.

Once you have a PostgreSQL hosting deployment in the cloud, it’s important to lock down access to the intended clients. You can do this using the firewall options in your ScaleGrid PostgreSQL console on the cluster details page.

Cluster-Level Firewall Rules

  1. Click on the 'Firewall rules' icon on the Overview tab of your cluster details page, and this will bring up the firewall rules module.
  2. Enter all the subnets you wish to provide access to your cluster.
  3. Enter your CIDR’s one-by-one, and click 'Add' after each is entered.
  4. Once you’re comfortable that you have all the options listed, you can click 'Configure', and this will start the configure firewall rules job.

You can monitor the progress of this job from your Jobs tab. Once it’s done, it will show up in the completed state like you see here.

Account-Level Firewall Rules

If you have common CIDR’s that need access to all of your clusters, you can define account-level firewall rules that allow you to grant CIDR’s access across all of your clusters.

  1. Go to the Settings tab.
  2. Click Rules, then Firewall rules.
  3. Enter the CIDR that should have access to all of your clusters.
  4. Click 'Add', and once you have all your CIDR’s listed, click 'Save' to save all of your account-level firewall rules.

If you have any further questions on how to configure firewalls for your PostgreSQL cluster, please reach out to us at [email protected].