Creating a custom endpoint - Amazon Aurora
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating a custom endpoint

Create a custom endpoint using the Amazon Web Services Management Console, Amazon CLI, or the Amazon RDS API.

To create a custom endpoint with the Amazon Web Services Management Console, go to the cluster detail page and choose the Create custom endpoint action in the Endpoints section. Choose a name for the custom endpoint, unique for your user ID and region. To choose a list of DB instances that remains the same even as the cluster expands, keep the check box Attach future instances added to this cluster clear. When you choose that check box, the custom endpoint dynamically adds any new instances as you add them to the cluster.

Create custom endpoint page with fields for endpoint identifier, instance type selection, and static/exclusion options.

You can't select the custom endpoint type in the Amazon Web Services Management Console. All custom endpoints you create through the Amazon Web Services Management Console have a type of ANY.

To create a custom endpoint with the Amazon CLI, run the create-db-cluster-endpoint command.

The following command creates a custom endpoint attached to a specific cluster. Initially, the endpoint is associated with all the Aurora Replica instances in the cluster. A subsequent command associates it with a specific set of DB instances in the cluster.

For Linux, macOS, or Unix:

aws rds create-db-cluster-endpoint --db-cluster-endpoint-identifier custom-endpoint-doc-sample \ --endpoint-type reader \ --db-cluster-identifier cluster_id aws rds modify-db-cluster-endpoint --db-cluster-endpoint-identifier custom-endpoint-doc-sample \ --static-members instance_name_1 instance_name_2

For Windows:

aws rds create-db-cluster-endpoint --db-cluster-endpoint-identifier custom-endpoint-doc-sample ^ --endpoint-type reader ^ --db-cluster-identifier cluster_id aws rds modify-db-cluster-endpoint --db-cluster-endpoint-identifier custom-endpoint-doc-sample ^ --static-members instance_name_1 instance_name_2

To create a custom endpoint with the RDS API, run the CreateDBClusterEndpoint operation.