RDS Instance: Allow Public Access

Enabling Public Access to an RDS Instance
How to Allow Public Access to an RDS Instance
Tasks
- Verify Existing RDS Instance: Confirm that the RDS instance - devops-rdsis already created.
- Configure Public Access: Set the RDS instance - devops-rdsto be publicly accessible.
- Check Default Port: Ensure the RDS instance is accessible on the default port - 3306.
Steps
- 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 
aws rds describe-db-instances --db-instance-identifier devops-rds --query "DBInstances[0].MasterUsername"
- 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