How do you access an Amazon RDS instance from a chrome book?

I accepted the "call Chromebook." So far, I have successfully migrated to the new Google Compute Engine from ChromeOS, which is built into the ssh terminal. But now I am faced with the task of connecting to an instance of Amazon RDS (Relational Database Service), which the consulting client has configured for me. How to do this, I did not find textbooks. I do not know if I should be in RDS, or what.

Has anyone else done this successfully?

+4
source share
2 answers

Aha, so there’s no way to directly connect to an RDS instance (Chromebook or otherwise), as Fredrick mentioned.

However, I did everything I needed by running from my Chromebook into my Google Compute Engine, and then jumping from there to my RDS instance using the standard:

me@myserver $mysql -h myrdsinstanceaddress -P 3306 -u root -p 

So the bottom line is that you have to ssh to some other server and then work from there.

+11
source

From aws documentation .

Type the following command at the command prompt to connect to the DB instance using the MySQL utility. For the -h option, replace the DNS name for your database instance. For the -P option, replace the port for your database instance. When prompted, enter the password for the primary user.

 PROMPT> mysql -h myinstance.123456789012.us-east-1.rds.amazonaws.com -P 3306 -u mymasteruser -p 
+2
source

Source: https://habr.com/ru/post/1494643/


All Articles