Altinn / altinn-events

Altinn platform microservice for handling events
MIT License
1 stars 2 forks source link

Start using Custom Domain Name for Events (Storage) #500

Open ootneim opened 6 months ago

ootneim commented 6 months ago

Start using Custom Domain Name for Events. We start with Events and see if everyting is OK before migrating the other "apps"

Storage Account Name Custom Domain Name
altinnprodstorage01.blob.core.windows.net sa-prod-platform01.svc.altinn.cloud
altinnprodstorage02.blob.core.windows.net sa-prod-events01.svc.altinn.cloud
altinnprodstorage03.blob.core.windows.net sa-prod-delegation01.svc.altinn.cloud
altinnprodstorage04.blob.core.windows.net sa-prod-delegation02.svc.altinn.cloud
altinnprodstorage05.blob.core.windows.net sa-prod-registry01.svc.altinn.cloud

Custom Domain Name is using CDN with caching off. Caching can be enabled if needed.

ootneim commented 6 months ago

@SandGrainOne Here is the issue for Events to start using Custom Domain Name insted of Storage Account Name.

SandGrainOne commented 5 months ago

This will require som thought. Events doesn't have the server name listed anywhere in any code. The value is added through a KeyVault secret. The secret and the value is being defined by terraform.

We need to make proper plan for how to perform this change with as little downtime as possible. Or more importantly without the loss of Events.