Setup RDS MySQL server that is accessible over the internet

 Setup RDS MySQL server that is accessible over the internet

Steps:-

1. Search for RDS service in AWS console.


2. Create a database


3. Give appropriate name and password.


4. Make your Database publicly accessible.


5. Finally create database.


6. RDS successfully created.

    


7. Now let's connect to the RDS using AWS CLI. First generate the authentication token with following command

                       aws rds generate-db-auth-token \                                                                   
                    --hostname database-1.cn2qjigxwzyc.us-east-2.rds.amazonaws.com \
                    --port 3306 \
                    --region Ohio \
                    --username admin
8. Once token is generated, you may connect to Mysql using the following command





Comments

Popular posts from this blog

Creating Virtual Machine in Oracle Virtual Box

Setting up Replication in S3 Bucket

Setup DynamoDB and perform CRUD