Skip to content

Commit

Permalink
fix(azure): adjust SKU and storage for staging (#1601)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Related to
https://digdir.slack.com/archives/C079D6PAGDS/p1734018202302459

Experiencing heavy CPU usage on the postgresql server in staging. After
some investigations, it was hard to pin down the cause. Being on a
burstable tier may be too fragile, and perhaps contribute to the high
CPU usage, so upgrading. Staging will be used by many test environments
moving forward so making it more stable with GeneralPurpose machines
makes sense.

## Related Issue(s)

- #N/A

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
  • Loading branch information
arealmaas authored Dec 13, 2024
1 parent b39c376 commit 3fb9f95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .azure/infrastructure/staging.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ param slackNotifierSku = {
}
param postgresConfiguration = {
sku: {
name: 'Standard_B1ms'
tier: 'Burstable'
name: 'Standard_D4ads_v5'
tier: 'GeneralPurpose'
}
storage: {
storageSizeGB: 32
storageSizeGB: 256
autoGrow: 'Enabled'
type: 'Premium_LRS'
}
enableIndexTuning: false
enableIndexTuning: true
enableQueryPerformanceInsight: true
}

Expand Down

0 comments on commit 3fb9f95

Please sign in to comment.