Hi everyone, sorry for the trivial question, but I’m new to MongoDB.
I have created a mongodb cluster in replicaset mode (3 nodes) on Azure AKS and I connect to this through IPs.
Following the reboot or a new deployment the IPs will change and therefore I would like to assign a URI to the hosts that is always the same.
What are the parameters to be evaluated? How can I do this?
Skip to main content
Looks like you need a dynamic DNS provider.
You have to provide an static IP in mongodb network access policy,
When we create/delete/restart (deploy) any kubernates pod or any serverless (ex, lamda) they get new IP so mongodb won’t recognaise and allow read/write so you have to setup an NAT IP for your pods. It can be achiveable via load balance also.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
What is the point of Atlas Vercel integration? | 3 | 778 | Dec 2024 |
SSO issue with IdP Azure EntraID (okta, mongodb, saml) | 1 | 407 | Mar 14 |
pymongo function cannot connect to MongoDB Atlas | 1 | 932 | May 2024 |
Failure connecting Amazon Bedrock knowledge bases to MongoDB Atlas | 6 | 1.1k | Jul 2024 |
Local atlas deployment raise “Get “https://production.cloudflare.docker.com … EOF” error | 0 | 321 | Jul 2024 |