Elastic Beanstalk connect to RDS from shell SSH
I have a python application on an Elastic Beanstalk EC2 instance which is connected to an PostgreSQL RDS. My application works fine and uses the environment variables that are set by Elastic Beanstalk to connect with the database: os.environ['RDS_DB_NAME'] os.environ['RDS_USERNAME'] os.environ['RDS_PASSWORD'] os.environ['RDS_HOSTNAME'] os.environ['RDS_PORT'] However, this doesn't work when I login on the EC2 instance with SSH. The RDS environment variables are not set. Since my application works in the browser, I think it cannot be the security groups. I've also tried to access the variables