Today I had a look at PostgreSQL in Amazon RDS. Once you have an Amazon AWS account (this requires a valid credit card for verification) setup bringing up a PostgreSQL instance is pretty easy. The first 12 months are free but be sure to read about the restrictions and what is terminated by default and what is not.

Once your AWS account is ready you can login to the management console which lists all the services amazon offers:

az1

The service I am interested in is RDS (Relational database service):

az2

Once selected the “Instances” menu on the left brings up the instance management page:
az3

Of course I have to click on the “Launch DB Instance” button to bring up a new instance:

az4

Once PostgreSQL is selected take care on the next screen:
az5

Be sure you take the “free” option. Quite a few PostgreSQL versions are available:

az6

Of course we’ll use the latest one and specify the other details (don’t worry about my username. When this post is published the instance will already be deleted 🙂 ):

az7

Make sure that you always see the “Your current selection is eligible for the free tier.” message on the left side of the screen. If you do not see this you selected an option that prevents you from creation a free instance. Backups and maintenance details can be specified in the next screens:

az8
az9

And launch…ups:
az10

Not so bad 🙂 Lets correct this and launch again:

az11
az12
az13

A few minutes later the instance is ready:
az14

For sure the first thing I want to do is to connect. How do I do this? Let’s try to connect to the “endpoint” from my local machine:
az15

az16

… and I am in. So far for the setup. In the next post I’ll look at how to restrict access to this instance to specific IP-addresses to strengthen security.