Practicing Happiness to Boost your Success

One thing can help us to figure out this problem that is Happiness of our mind which is an actual happiness because of our inner satisfaction. We don’t have to pay for it. No one can force us to be…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to setting ssh tunnel for AWS RDS via bastion host

Our RDS db is hosted on Amazon. Our Bastion(Jumphost) can connect to the db. Connections to the db are not allowed outside of the internet.

This creates a tunnel from my local machine to the Bastion:

This will forward port 3307 from your local desktop to the remote MySQL rds server through your Public facing bastion EC2 instance.

You can easily set up this tunnel every time you log into your remote EC2 instance and log into it with whatever name you prefer:

Then, just:

An example using mysql:

For more info man ssh:

Add a comment

Related posts:

Is There a War on Straight Alpha Black Men?

If for some chance you have no idea as to who Phil of the Advise Show is, he’s probably the biggest black YouTuber in the YouTube negrosphere meaning, he probably has the most followers (over 1…

Ang Marginswap ay magpapalawak ng mga oportunidad sa DeFi sa Avalanche na may kakayahan sa Cross Margin Trading

Magdadala ang Marginwap ng leveraged trading, lending, at borrowing sa mga native at non-native assets sa Avalanche. Ilulunsad ng Marginswap ang disentralisadong money market sa Avalanche ngayong…

4 Ways to Fix Your Husker Homesickness

Even though you might be off campus this summer, you don’t have to feel any Husker homesickness! You can bring the Big Red feeling to wherever you are in the world. Read on to see a few of our…