Access a private RDS instance with Putty
Rackspace builds your Fanatical Support for AWS (FAWS) environment on private networks. Therefore, if a customer uses an RDS database in their environment, that database must be accessed through a site-to-site VPN.
Customers without a site-to-site VPN can access their RDS private instance with Putty by using the following steps:
Accessing your private instance requires the following:
- SSH access to a Linux EC2 instance with a public IP address. This instance can be an EC2 instance within your Rackspace environment or your own AC2 instance.
- Network access to the RDS instance you want to access. For more information on FAWS user management, see User management and permissions.
- A local machine with windows and Putty installed.
- A MySQL application such as MySQL Workbench.
Connect to to private RDS instance
- Configure an SSH tunnel by finding the host name for the RDS instance you want to access. This host name should have been provided through email when you signed up for FAWS.
- Open Putty, right click the main screen, and select Change settings.
- Select Tunnels under SSH.
- In the destination box, paste the RDS instance hostname followed by port number for the application for which you are using the connect. For example, if you are using MYSQL, enter source port
:3306. This source port is used to access your RDS instance.
- Click Add > Apply.
- Connect to your EC2 instance using SSH. If you are using an EC2 instance inside your Rackspace FAWS environment, you can find your public IP address for the EC2 instance by logging into the FAWS control panel. This instance acts as your bastion server.
- Open your MySQL application, and click Connect to database.
127.0.0.1followed by the username and password provided to you by Rackspace. Click Save password.
You can now access files inside your RDS database using the MySQL application.
©2020 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License