Search code examples
ruby-on-railsamazon-web-servicesapartment-gem

Rails Multi tenancy using Apartment gem on Amazon AWS


I have previously used apartment on Heroku, but now for a client, I am evaluating if it can be used on AWS. Is there a tutorial that shows how to use the apartment gem on Amazon AWS?

After reading https://aws.amazon.com/running_databases/ , I am not sure how to setup my database. Should I install postgres on my instance or should I use RDS? Does the RDS allow creating multiple schemas if I use Postgres.

Thanks.


Solution

  • Apartment isn't tied to any hosting provider. It just uses Postgres (by default) for its db. Heroku vs AWS/RDS won't matter.