Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating to Static Web Apps plan #1966

Closed
orta opened this issue Aug 2, 2021 · 2 comments
Closed

Migrating to Static Web Apps plan #1966

orta opened this issue Aug 2, 2021 · 2 comments

Comments

@orta
Copy link
Contributor

orta commented Aug 2, 2021

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..

  1. 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.
  2. Then we migrate www. over to the SWA

Then we turn off the AppService.

@brillout

This comment has been minimized.

@typescript-bot
Copy link
Collaborator

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.

@typescript-bot typescript-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants