David Kimura PRO said over 5 years ago on Deploying to AWS Elastic Beanstalk :
When you ssh into the EC2 instance, try doing this to get the database created. ``` sudo su bundle exec rails db:create exit ``` I believe they've changed the permissions of the ec2 user and you cannot login as the www user.