From 1e2ba4da64190b3ada6d651192ac1bb4d53cd60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 16 Aug 2021 08:54:37 +0200 Subject: [PATCH] upload/azure: use cheaper storage accounts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, we used RAGRS which means that all our data was always replicated to at least two regions for increased safety. This is cool but expensive, this PR switches the API to use LRS that just uses one region. Signed-off-by: Ondřej Budai --- internal/upload/azure/azure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/upload/azure/azure.go b/internal/upload/azure/azure.go index 8b773963a..0f1e34f67 100644 --- a/internal/upload/azure/azure.go +++ b/internal/upload/azure/azure.go @@ -67,7 +67,7 @@ func (ac Client) CreateStorageAccount(ctx context.Context, subscriptionID, resou result, err := c.Create(ctx, resourceGroup, name, storage.AccountCreateParameters{ Sku: &storage.Sku{ - Name: storage.StandardRAGRS, // TODO: investigate the default value + Name: storage.StandardLRS, Tier: storage.Standard, }, Location: &location,