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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠