Skip to content

Deployment of the same environment in multiple regions #10657

Answered by wasker
wasker asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  1. Have a separate AZD "shared" project, where shared resources (KV, DB, etc.) go. This is pure Bicep IaC, deployed first and in general has its own lifecycle, disconnected from the Aspire-based project.
  2. Add a new serviceEnvironment parameter to the Aspire-based project.
  3. Create and deploy "prod-<region1>" and "prod-<region2>" environ…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wasker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant