The steps below were written using Ubuntu 16.04 from a Ubuntu-provided AMI on Amazon Web Services (AWS).
The exact AMI we used is ami-29f96d3e, and you should be able to easily launch an EC2 instance using this AMI from the
AWS EC2 Console.

Please skip this section if you are using a different
database or already have a supported database server running
elsewhere.

Install Postgres server:

sudoapt-getinstallpostgresql

Below we’ll create a stackdio database and grant permissions to the stackdio user for that database.

WARNING: we’re not focusing on security here, so the default
Postgres setup definitely needs to be tweaked, passwords changed, etc.,
but for a quick-start guide this is out of scope.
Please, don’t run this as-is in production.