Finding a Cluster’s Endpoints

    To find a cluster’s endpoints using the console

    1. In the navigation pane, choose clusters.

    2. From the list of clusters, choose the name of the cluster you are interested in.

    3. To connect to this cluster, scroll up to the Connect section. Locate the connection string for the shell and a connection string that can be used in the application code to connect to your cluster.

      ![

    Using the AWS CLI

    To find the cluster and reader endpoints for your cluster using the AWS CLI, run the describe-db-clusters command with these parameters.

    Parameters

    • --db-cluster-identifier—Optional. Specifies the cluster to return endpoints for. If omitted, returns endpoints for up to 100 of your clusters.

    • --region—Optional. Use the --region parameter to specify the Region that you want to apply the command to. If omitted, your default Region is used.

    The following example returns the , endpoint (cluster endpoint), and ReaderEndpoint for sample-cluster.

    For Linux, macOS, or Unix:

    For Windows:

    Output from this operation looks something like the following (JSON format).