Using Console
Using CLI
modify-cluster
command. Replace <cluster-identifier>
with the actual Cluster Identifier and <new-port>
with the desired port number (e.g., 5432) by running the following command:Using Python
<cluster_id>
with the ID of your Redshift cluster and <new_port>
with the desired non-default port value:
update_redshift_port.py
) and run it using Python: