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.
- Click on the 'Firewall rules' icon on the Overview tab of your cluster details page, and this will bring up the firewall rules module.
- Enter all the subnets you wish to provide access to your cluster.
- Enter your CIDR’s one-by-one, and click 'Add' after each is entered.
- 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.
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.
- Go to the Settings tab.
- Click Rules, then Firewall rules.
- Enter the CIDR that should have access to all of your clusters.
- 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].
Updated 3 months ago