Why are my Amazon Aurora cluster endpoints in the Creating status?

2 minute read
0

I created an Amazon Aurora cluster, and my Aurora cluster endpoints are in the “Creating” status.

Short description

When you use Amazon Relational Database Service (Amazon RDS) console to create an Aurora cluster, the cluster populates with an Aurora DB instance. Or, if you have a Multi-AZ configuration, then it populates with two instances. After you create the cluster and the Aurora DB instances are in the Available status, the Aurora endpoints also become Available.

To create your cluster, you can run create-db-cluster in the AWS Command Line Interface (AWS CLI) or use the CreateDBCluster API call. If you use either of these APIs, then you create an empty Aurora cluster without any DB instances. In this case, your Aurora endpoints in the Amazon RDS console are in the Creating status.

To create DB instances for the cluster, run the create-db-instance or the CreateDBInstance API.

Resolution

Note: If you receive errors when running AWS CLI commands, make sure that you're using the most recent version of the AWS CLI.

To populate your existing Aurora cluster with Aurora DB instances, run create-db-instance or CreateDBInstance.

The following example command uses the AWS CLI to create an Aurora DB instance for an existing Aurora cluster:

aws rds create-db-instance --db-instance-identifier sample-instance
     --db-cluster-identifier sample-cluster --engine aurora-mysql --db-instance-class db.r4.large --db-parameter-group aurora_pg --publicly-accessible

After you create the Aurora DB instance and your Aurora DB instance is in the Available status, the Aurora endpoints also enter the Available status.

Related information

Creating an Amazon Aurora DB cluster

Tools to build on AWS

AWS OFFICIAL
AWS OFFICIALUpdated 6 months ago
2 Comments

no need for the --port param when adding an instance to an aurora cluster you get an error with that param An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation: The requested DB Instance will be a member of a DB Cluster. Set database endpoint port number for the DB Cluster.

replied 9 months ago

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

profile pictureAWS
MODERATOR
replied 9 months ago