title: AWS, RDS: How to migrate +40GB Postgres database from AWS ec2 instance to RDS using hard disk files?
body: <p>It seems migrating Postgres database using data directory is viable:</p>
  
  <p><a href="https://www.digitalocean.com/community/tutorials/how-to-move-a-postgresql-data-directory-to-a-new-location-on-ubuntu-16-04" rel="nofollow noreferrer">How To Move a PostgreSQL Data Directory to a New Location on Ubuntu 16.04</a></p>
  
  <p>But in case of RDS because <code>SSH</code>ing to the RDS is not possible I am here to ask if there is any way to speed up my Postgres database migration.</p>