The algorithm is the same as above and clustered database environment will be created but with no public IP attached.

Once the environment is ready, go to the Endpoints at the Settings section and click on Add to create new port mapping.

Choose the Node you need to access and PostgreSQL service Name. The rest parameters will be generated automatically: Private Port, Protocol, Public Port, and Access URL.

A port mapping to the database master node may look like this.

If necessary do the same for the Slave node of the database cluster.