
- #Connecting robo 3t to aws lightsail through ssh install
- #Connecting robo 3t to aws lightsail through ssh update
- #Connecting robo 3t to aws lightsail through ssh download
#Connecting robo 3t to aws lightsail through ssh install
Save this file with any name with this (*.ppk) extension.ĭownload PUTTY through below mentioned link, and after that, install this file into your system. Now Open PUTTYgen and click on ‘load’ and select the downloaded SSH key file and after that click on the ‘save private key’ file.
#Connecting robo 3t to aws lightsail through ssh download
Follow the below screenshot to download the SSH key in Lightsail.ĭownload PUTTYgen through below mentioned link (For SSH), and install this file into your system. So you need to download the SSH key of this instance. In this article, I am assuming that you already have a WordPress instance in Lightsail. For that, first, we need to create an instance.
#Connecting robo 3t to aws lightsail through ssh update
You can test the connection by running the following command in an SSH terminal: mysql -h -P 3306 -u -pĪnd that’s all there is to it! If you want to use RDS in your application you just need to update the database credentials in your application to use the credentials associated with your RDS instance.Suppose you want a database backup of any instances ‘ in AWS Lightsail WordPress ‘ through putty or SSH.

Now that you have hooked everything together, you should be able to connect to your RDS instance from your Lightsail instance. Step 4: Test Your the Connection Between RDS and Lightsail Then, make sure to save the rule by clicking on the orange Save rules button. As you can see below, we set the type to MYSQL/Aurora, port 3306 (which may be different depending on your configuration), and the Source to a CIDR that identifies our specific private IP address for our Lightsail instance (172.26.5.7/32 in our case). Then, add the rule to allow inbound traffic to RDS from your Lightsail instance. Once you’re in your RDS instance’s Security Group settings, click on Edit Inbound Rules: Then, click on the Security group ID, in our case, sg-12345678910. Now, you need to find the Security Group that is associated with your RDS instance. To do this, first you need to go to the EC2 service and click on Security Groups in the left sidebar underneath the Network & Security label. So, you need to add a rule to your RDS Instance’s Security Group that allows inbound requests from the private IP address that is associated with your Lightsail Instance. Now that you’ve enabled VPC peering and have copied your private IP address, you need to make sure that any requests you make from your Lightsail instance will make it past the Security Group rules that have been set up for your RDS instance. Step 3: Update Your RDS Instance’s Security Group Settings Copy the private IP address as we will use it in the next step. So, in our example below, the private IP address is 172.26.5.7. The Private IP address is shown next to Private IP. This will bring up a page like the image shown below. Simply go to your main Lightsail dashboard and find the instance you want to connect an RDS instance to and click on the name of the instance.

Step 2: Get your Lightsail Instance’s Private IP Address Simply click on the check box next to the region that holds your RDS Instance. This will bring you to the VPC Peering area.

Now, click on the Advanced tab (visible below): Now, click on the Account link that appears in the drop down. Go to Lightsail and click on Account in the top right corner (visible in the image below). So, make sure to select the region that is associated with your RDS instance. You need to start off by connecting, also known as VPC Peering, your Lightsail Virtual Private Cloud (VPC) with the VPC where your RDS instance lives. So, how do you connect RDS to Lightsail? There are 4 simple steps to connecting your RDS instance to Lightsail. I had never done this before and the documentation out there isn’t as simple as it should be. I created an RDS instance for a client the other day and needed to connect it to their Lightsail instance.
