-
I'm looking to deploy a prod environment in multiple regions. My plan is to share KV, Log Analytics, and CosmosDB instances between regional ACA deployments. I'd like to avoid managing non-compute resources separately/manually. Is there some recipe I could follow to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like in Aspire/AZD environment and location have strong connection, which complicate what I want to achieve. The environment is deployed into a single resource group in a single location; it's impossible to deploy same environment into a different location once one location is present. After experimenting with a few ideas, the approach I arrived at is:
In other words, I deploy "prod" environment of the shared project first (KV and DB), then I deploy "prod-eastus" and "prod-westus" environments of the Aspire-based project where I use coordinates of the shared KV and DB as parameters and set |
Beta Was this translation helpful? Give feedback.
It looks like in Aspire/AZD environment and location have strong connection, which complicate what I want to achieve. The environment is deployed into a single resource group in a single location; it's impossible to deploy same environment into a different location once one location is present.
After experimenting with a few ideas, the approach I arrived at is:
serviceEnvironment
parameter to the Aspire-based project.