Cosmos Database
Cosmos Database Gremlin Deployment
We have manually deployed Cosmos Database Gremlin using the Azure portal. Currently, Cosmos Database Gremlin is being deployed in the development subscription in the West US region. We will be using this Cosmos Database Gremlin centrally as we don't need this database on each subscription. It was deployed manually because we wouldn't be able to whitelist the subnet of different subscriptions while running Terraform. Also, the data inside the Cosmos Database Gremlin doesn't need to be different, so we use this Cosmos Database Gremlin for all environments. Currently, private connectivity from Azure AI Search won't be achievable due to Microsoft's limitations, so we need to connect to the Cosmos Database Gremlin publicly. However, that doesn't mean we will be exposing our database publicly. We will be whitelisting a particular public IP on the Cosmos end for connectivity. According to Microsoft, private connectivity on the Cosmos database is in preview mode, so until then, we need to connect to the database publicly by whitelisting the public IP of the source.