I'm pretty newbie at aws. I've installed all I need at ec2 (free tier) and what left is db. I want to use Postgresql. I googled but I found so-called Amazon RDS for PostgreSQL (Beta). I'm not sure whether this was what I need. And what I need is just Postgresql. The question is, do I have to download and install Postgresql manually (via ssh) as if I did at my local computer or buy one somewhere at aws?
1 Answer
You have two options:
- Use RDS. Everything is managed, and very easy to set up, but its not free.
- Install PostgreSQL on your local instance. Will use more resources of your already very small instance. You should be able to install it using a package manager if you are on linux.
7 Comments
datasage
@Alex Yes, RDS is a separate service. Although they may have a free tier option.
Incerteza
one more thing, not related to this question: do I have to install web server in order to launch the website in Rails/Django/Scala/etc?
datasage
@Alex Generally yes. With most web application stacks its a good idea to set a web server in front of the application server.
Incerteza
at my local machine I can just do "rails s" or "rails thin" or "play". Can I do the same in ec2? Is this a good solution?
datasage
@Alex you will want to run rails as a daemon, independent of your terminal session. Look at something like phusion passenger.
|