Skip to content

Commit

Permalink
feat!(publick8s/updates.jenkins.io) switch Storage Account to Premium…
Browse files Browse the repository at this point in the history
… to decrease costs (BREAKING) (#682)

Related to
jenkins-infra/helpdesk#2649 (comment)

This PR switches to a `Premium` storage account kind for
updates.jenkins.io to remove costs related to file storage transactions.
The storage costs will increase from $0.09 to $0.50 which is ...
affordable... to say the least (compared to the expected decrease of
~$320 transaction cost).


Note:
- The update center job is not trying to update storage
- Services azure.updates.jenkins.io and mirrors.updates.jenkins.io have
been uninstalled

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal committed May 2, 2024
1 parent e463475 commit 13d2d28
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions updates.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ resource "azurerm_resource_group" "updates_jenkins_io" {
}

resource "azurerm_storage_account" "updates_jenkins_io" {
name = "updatesjenkinsio"
resource_group_name = azurerm_resource_group.updates_jenkins_io.name
location = azurerm_resource_group.updates_jenkins_io.location
account_tier = "Standard"
account_replication_type = "LRS"
min_tls_version = "TLS1_2" # default value, needed for tfsec
name = "updatesjenkinsio"
resource_group_name = azurerm_resource_group.updates_jenkins_io.name
location = azurerm_resource_group.updates_jenkins_io.location

account_tier = "Premium"
account_kind = "FileStorage"
access_tier = "Hot"
account_replication_type = "ZRS"
min_tls_version = "TLS1_2" # default value, needed for tfsec
infrastructure_encryption_enabled = true

tags = local.default_tags

Expand Down

0 comments on commit 13d2d28

Please sign in to comment.