Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi folks,
I have a Rails 4 app which I want to deploy and first I have to connect it to the DB. So I went to the Postgres console and ran:
create role somosprof with createdb createrole replication login password ‘mySafePWSD’;
And the user was properly created. Then I placed the configuration info into the config/database.yml file:
production: adapter: postgresql encoding: unicode database: somosprofessores_production pool: 5 username: somosprof password: mySafePWSD
But when I run rake db:migrate I get the following error:
[root@somosp somosprofessores]# RAILS_ENV=production rake db:create
You no longer need to have jasmine.rake in your project, as it is now automatically loaded
from the Jasmine gem. To silence this warning, set "USE_JASMINE_RAKE=true" in your environment
or remove jasmine.rake.
FATAL: Peer authentication failed for user “somosprof”
What is going on? Please help me, this is very urgent and I have no idea on why it isn’t working