title: Connect aws postgres db to the vercel
body: <p>i'm trying to connect to vercel with aws postgres db  <br />
  I've created an instance of free tier rds
  and i got endpoint  <br />
  so  this  is  my server code</p>
  <pre><code> const connection = await createConnection({
  type: 'postgres',
  url: process.env.DATABASE_URL,
  logging: false,
  synchronize: false,
  
  entities: [
    User,
  ],
  });
  </code></pre>
  <p>so my main question is  how to create url <br /></p>
  <p>I've tried  DATABASE_URL=postgresql://user:password@my aws endpoint:5432/my aws database name <br />
  and not worked  vercel error said <br />
  ERROR : Task timed out after 10.01 seconds <br />
  What did I do wrong?</p>