How to Connect Private RDS PostgreSql Instance using Pgadmin locally?

0

Enter image description here Hello experts, From above Architecture diagram you can able to get all the required information. Here is the doubts:

  • My goal is to connect RDS Postgresql Engine from my pgadmin locally and to build a dashboard using tableau from that RDS Database.
  • My Ec2 instance will do data extraction process and store it into DB, Now I need to access the database whenever my EC2 instance is turned off or directly connect to DB from my pgadmin locally, However it should present in private subnet. Any guidance and help will be really thankful to you. As I'm beginner please help to solve this problem. 🙏🙂🙏
2回答
2

You're right that the DB should be in a private subnet. In an enterprise environment you typically access it from local desktops via Direct Connect or site-to-site VPN. In other situations you have a few options including Client VPN, an EC2 jump/proxy server to tunnel through or using an AWS Workspace to run pgadmin.

エキスパート
回答済み 2年前
profile pictureAWS
エキスパート
レビュー済み 2年前
  • First thankyou for your comment, I'll try your solution and I hope this will solve my problem🙂🙏

0

To add on @skinsman answer, In addition to setting up network (VPN or DirectConnect), You will have to ensure that <br/>

  1. Security group should allows IP range of your client machines (postgreSQL clients) to Amazon RDS
  2. You would also need to resolve DNS from onpremise, you will require DNS Resolver to resolve RDS DNS from onpremise. REF: https://aws.amazon.com/blogs/security/how-to-set-up-dns-resolution-between-on-premises-networks-and-aws-using-aws-directory-service-and-amazon-route-53/
AWS
SachinS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ