MongoDB database with AWS Elastic Beanstalk

Hi there everyone. I am currently trying to deploy my database onto AWS elastic beanstalk for global use with my website but currently failing and was wondering has anyone ever worked with integrating their MongoDB with AWS service to use for a website. Thanks again

Hi Jack,

To confirm you mean you’re deploying an application AWS Elastic Beanstalk that connects to MongoDB Atlas on AWS right?

Elastic Beanstalk is for the application tier: MongoDB Atlas is for the database.

Cheers
-Andrew

Hello @Andrew_Davidson. Right now our website is deployed onto AWS Amplify by syncing it with our github repo. We were told that looking into Using AWS Elastic Beanstalk would help try to deploy our database to use globally but still finding problems with it and stuck with how and where to go now.

Hi Jack,

Your application EB: it should have a connection string to Atlas. You may have an IP Access List issue as the EB nodes may have non-deterministic public IPs. Have you tried adding all IPs (0.0.0.0/0) to the Atlas IP Access List?

-Andrew