You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, the TypeScript website is pseudo static. We treat it as a static website (and have been using azure blob storage for the staging website for the last year) but in reality its an AppService app (configured by Web.config) emulating a static website.
The mismatch from the pseudo static hosting has been the root cause of most downtime for the site, and I don't really want anyone else to have to learn the details there.
To Static Web App (SWA)
The TS site is exactly what Static web apps is built for. We've been deploying to SWA on every staging build, and I recently added a fancy alias https://static.staging-typescript.org/ which I've been using as my main website for dev etc. SWAs have been out of beta for a while now and it's time to migrate prod.
Proposal
Everything is up and ready, we just need to migrate DNS to point to the SWA on prod. We can migrate in a two-step process to de-risk, because SWA just got access to be able to create apex domains, so we can handle #14#23 and in the process not initially migrate www..
We migrate https://typescriptlang.org to use the SWA - this domain does not work today, it never has. We use that to be sure everything is working.
Then we migrate www. over to the SWA
Then we turn off the AppService.
The text was updated successfully, but these errors were encountered:
Hello! As per #2804, we are automatically closing all open issues. Please see #2804 for a description of what issues and PRs can be accepted going forward.
Why Migrate?
Today, the TypeScript website is pseudo static. We treat it as a static website (and have been using azure blob storage for the staging website for the last year) but in reality its an AppService app (configured by
Web.config
) emulating a static website.The mismatch from the pseudo static hosting has been the root cause of most downtime for the site, and I don't really want anyone else to have to learn the details there.
To Static Web App (SWA)
The TS site is exactly what Static web apps is built for. We've been deploying to SWA on every staging build, and I recently added a fancy alias https://static.staging-typescript.org/ which I've been using as my main website for dev etc. SWAs have been out of beta for a while now and it's time to migrate prod.
Proposal
Everything is up and ready, we just need to migrate DNS to point to the SWA on prod. We can migrate in a two-step process to de-risk, because SWA just got access to be able to create apex domains, so we can handle #14 #23 and in the process not initially migrate
www.
.https://typescriptlang.org
to use the SWA - this domain does not work today, it never has. We use that to be sure everything is working.www.
over to the SWAThen we turn off the AppService.
The text was updated successfully, but these errors were encountered: