Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GZRS for Storage Account by default #16

Open
bb-froggy opened this issue Aug 10, 2023 · 2 comments
Open

Use GZRS for Storage Account by default #16

bb-froggy opened this issue Aug 10, 2023 · 2 comments

Comments

@bb-froggy
Copy link
Member

The price is very low in all cases and the additional availability is nice.

bb-froggy pushed a commit that referenced this issue Jul 4, 2024
@bb-froggy
Copy link
Member Author

We must detect whether GZRS is available in the selected region and switch to ZRS or LRS if not

@bb-froggy bb-froggy reopened this Jul 4, 2024
@bb-froggy
Copy link
Member Author

Bicep seemingly provides no function to check which SKU is available in a given region. Furthermore, it seems there is no fallback mechanism if a SKU is not available.

We can maintain a list of regions where GZRS is available, synchronized from here: https://learn.microsoft.com/en-us/azure/storage/common/redundancy-regions-gzrs . They probably won't remove regions, only add new ones, so this shouldn't result in deployment failures.

If GZRS is not available, possibly we can still go for ZRS if the region is in this list: https://learn.microsoft.com/en-us/azure/storage/common/redundancy-regions-zrs

If this is also not available, we use LRS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant