amazon web services - Where can I find the IP address or CIDR notation of my Elastic Beanstalk app? -


my web application deployed on aws elastic beanstalk , supposed access mongodb database deployed on mongodb atlas.

in order make database queries possible, have whitelist ip addresses of servers accessing database:

enter image description here

the problem can find ip address of app.

where can find ip address of app?

you cannot control public ip addresses of elastic beanstalk instances cannot whitelist them hosted mongodb provider.

your best option use nat egress , associate static ip(s) (elastic ip) nat instance(s). here's example.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -