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:
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
Post a Comment