Connecting to Amazon Redshift
You can connect to your database using the following syntax.
cluster-name
.account-number
.aws-region
.redshift.amazonaws.com/database-name
The syntax elements are defined as follows.
-
cluster-name
Your cluster's name.
-
account-number
The unique identifier associated with your Amazon account number in a given Amazon Web Services Region. All clusters created by a given account in a given Amazon Web Services Region have the same
account-number
. -
aws-region
The code for the Amazon Web Services Region that the cluster is in.
-
database-name
Your database's name.
For example, the following connection string specifies the my-db
database
in the my-cluster
cluster in the us-east-1 Amazon Web Services Region.
my-cluster.123456789012.us-east-1.redshift.amazonaws.com/my-db