top of page

Create Amazon RDS PostgreSQL and Connect using psql and pgadmin

  • Apr 14, 2021
  • 1 min read
  • Login to Amazon AWS Console and Open Amazon RDS Section

ree

  • Follow the following steps to create a RDS PostgreSQL Database

ree
  • Click on Create Database

ree
ree

Note: Version 13 doesn't have Free Tier Option. So, this will be chargeable.


ree

ree

ree

Use the smallest configuration.

ree

ree

ree

ree

For this post, we are using Public Access as Yes. In real life scenario it should be always No.

ree

ree

ree

ree

Click on Create Database, It will create the Database. Make sure to delete the database after doing your learning as this will incur cost.

ree

  • Now the RDS is ready.

ree

Following are my RDS Database Details. I am showing the connection details here because I am going to delete the instance as soon as I am done creating this post.


ree

Connect the RDS Database from my local VM using psql

[root@basevm ~]# psql --host=mypostgres.cvemhwjuocr5.us-east-2.rds.amazonaws.com --port=5432 --username=postgres --password
Password:
psql (13.2)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

ree

Connect from pgadmin4 GUI Tool

ree

ree

ree

Click on Save to Connect.


After successful connection, following page will appear.

ree

Thanks for Reading my post. Hope it helps.


 
 
 

Recent Posts

See All

Comments


Post: Blog2_Post

Subscribe Form

+919811970620

  • Facebook

©2020 by oracleandcloud. Proudly created with Wix.com

bottom of page