Remove the old tt02 AKS egress range after the Sweden Central move
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- terraform
- Domain
- infrastructure
Research direction
Wait for Digdir to confirm the tt02 move is complete on the testmiljø status page, then check Grafana and verify OED still reaches its database and Service Bus. In Altinn/dd-infrastructure, edit infra/altinn-digdir-oed-tt02-rg/terraform.tfvars: remove the old aks entry and the keep-old-entry comment on aks-swedencentral. Review the Terraform plan against the expected two destroyed firewall rules and one updated Service Bus rule.
Written by the indexing model from the issue text.
Description
Background
In #1914 (PR Altinn/dd-infrastructure#117) we added the new outbound range for the Altinn Apps tt02 cluster in Sweden Central (172.130.12.192/28). We kept the old Norway East range so OED would keep working until the move was done.
Wait for Digdir to say the tt02 move is done before doing this. Digdir will post on the testmiljø status page before they remove the old addresses. The move is tentatively planned for week 48.
Change
The change goes in Altinn/dd-infrastructure. All file paths below are in that repo.
In infra/altinn-digdir-oed-tt02-rg/terraform.tfvars, remove the old aks entry from static_whitelist:
{
name = "aks"
start_ip = "51.13.16.142"
end_ip = "51.13.16.143"
},
Also remove the comment on the aks-swedencentral entry that says to keep the old entry.
Before you remove it
- In tt02 Grafana (Altinn > Public IPs > Outbound IP), check that
digdir-tt02-aks-prefix4no longer lists51.13.16.142/31. - Check that OED in tt02 still reaches its database and Service Bus after the move.
Expected plan
- 2 destroyed: the
aksfirewall rule ondd-test-pgand onoed-test-authz-pg - 1 updated in place:
dd-test-sbnloses51.13.16.142and51.13.16.143fromip_rules
Prod (altinn-digdir-oed-rg) gets its own notice and new addresses from Digdir later. That is out of scope here.
- Dominant language
- No language data
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Altinn/oed
-
Hjelpetekst - bankOpenDesignfix
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Festet gravplassOpenDesignfix
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
-
Designfix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
fmidue/logic-tasks#394 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
matomo-org/docker#422 ·
-
Triage-Needed
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pulp/pulp-oci-images#875 ·
-
build enhancement security
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
midhunhk/lib-aeapps#54 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100