Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aurora serverless V2 connection

I've created an Aurora MySQL serverless db cluster in AWS and I want to connect to it from my computer using mySQL Workbench. I've entered the endpoint as well as master user and password, however when I try to connect , it hangs for about one minute and then it says that cannot connect (no further info is given). Also trying to ping the endpoint, it resolves the name but don't get any answer. I've read all the documentation from AWS but I really cannot find how to connect. In the vpc security group I've enabled all inbound and outbound traffic on all ports and protocols. The AWS doc says to enable public access in DB settings but I cannot find such an option.

like image 389
lviggiani Avatar asked Jan 30 '26 20:01

lviggiani


1 Answers

You can't give an Amazon Aurora Serverless V1 DB cluster a public IP address. You can access an Aurora Serverless V1 DB cluster only from within a virtual private cloud (VPC), based on the Amazon VPC service. For Aurora Serverless V2 you can make a cluster public. Make sure you have the proper ingress rules set up and enable public access in database configuration. For more information, see Using Amazon Aurora Serverless. https://aws.amazon.com/premiumsupport/knowledge-center/aurora-private-public-endpoints/ .

like image 73
Ahmed Abdelazim Avatar answered Feb 02 '26 09:02

Ahmed Abdelazim