Verify Existing RDS Instance: Confirm that the RDS instance devops-rds
is already created.
Configure Public Access: Set the RDS instance devops-rds
to be publicly accessible.
Check Default Port: Ensure the RDS instance is accessible on the default port 3306
.
Navigate to the RDS service and search for instance.
RDS → Databases → devops-rds → Modify
Connectivity → Publicly Accessible
Click Continue
.
Select Apply immediately
Edit the inbound rules to allow traffic on port 3306 by opening it to 0.0.0.0/0
.
To get username
Now let’s connect with endpoints.
Let’s try to connect the mysql from outside with the username, endpoints and password which we already created on devops-rds.
Boom!! We are able to access the mysql from our localhost too.
#cloud #aws #cloudcomputing #rds #mysql #happlearning