Skip to content

Repoint marketing distribution to www.heliumedu.com (phase 2 of 3)#57

Draft
alexdlaird wants to merge 4 commits into
feature/legacy-shutdown-phase-1-2026-08-01from
feature/legacy-shutdown-phase-2-2026-08-01
Draft

Repoint marketing distribution to www.heliumedu.com (phase 2 of 3)#57
alexdlaird wants to merge 4 commits into
feature/legacy-shutdown-phase-1-2026-08-01from
feature/legacy-shutdown-phase-2-2026-08-01

Conversation

@alexdlaird
Copy link
Copy Markdown
Member

Phase 2 of the Aug 1, 2026 frontend-legacy shutdown. Stacked on phase 1 (#52) — phase 1 must apply first to free the www.heliumedu.com CloudFront alias.

Changes

  • Recreate the marketing ACM cert covering www.heliumedu.com and landing.heliumedu.com (DNS-validated via existing Route53 records)
  • Re-alias the existing marketing CloudFront distribution from landing.heliumedu.com to www.heliumedu.com; attach a CloudFront function that 301s /planner** and /settings** to https://app.heliumedu.com/
  • Add a redirect-only S3+CloudFront for landing.heliumedu.comhttps://www.heliumedu.com{path}
  • Route53: new www.heliumedu.com A-alias; repoint landing.heliumedu.com to the new redirect distribution
  • moved blocks rename *.landing*.marketing in state without recreating the CF distribution

Apply runbook

Apply global immediately after phase 1's prod apply to minimize downtime.

Linked PRs — do not merge before Aug 1, 2026

Merge in order:

  1. Move site to www.heliumedu.com; drop Helium Classic links www#2 — marketing site reconfigured for www (supersedes closed Enable/disable maintenance mode during deploy #1)
  2. Tear down legacy frontend hosting and Twilio (phase 1 of 2) #52 — infra phase 1
  3. Repoint marketing distribution to www.heliumedu.com (phase 2 of 2) #53 — this PR (phase 2)
  4. Remove heliumcli dependency (infra phase 3) #55 — infra phase 3 (removes heliumcli)
  5. Remove deprecated legacy frontend code, UserProfile, and Twilio SMS platform#967 — platform deprecated-API removal

Rollback

Revert in reverse order. Note: legacy S3 buckets are gone after phase 1 apply; rollback past that requires repopulating from a snapshot.

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 26, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@alexdlaird alexdlaird force-pushed the feature/legacy-shutdown-phase-1-2026-08-01 branch from 38eb38e to 986826f Compare May 29, 2026 04:55
…ding

Phase 2 of August 1, 2026 legacy shutdown. Stacked on
feature/legacy-shutdown-phase-1-2026-08-01 — phase 1 must apply first to
release the www.heliumedu.com CloudFront alias. See MIGRATION.md for the
full apply runbook.

- Recreate the marketing ACM cert covering www.heliumedu.com (primary) and
  landing.heliumedu.com (SAN), validated via DNS
- Re-alias the existing marketing CloudFront distribution from
  landing.heliumedu.com to www.heliumedu.com; attach a viewer-request
  function that 301-redirects /planner** and /settings** to
  https://app.heliumedu.com/ for support-article and Helium Classic links
- Add a redirect-only S3+CloudFront for landing.heliumedu.com that 301s
  to https://www.heliumedu.com{path} for inbound legacy links
- Update Route53 to point www.heliumedu.com at the marketing distribution
  and landing.heliumedu.com at the new redirect distribution
- Use moved blocks to rename the existing landing resources to marketing
  in state without recreating the CloudFront distribution
Add a handler branch to catch requests whose URI ends with `.html` and return a 301 Moved Permanently redirect to the same path with the `.html` suffix removed. This complements the marketing site's static-path redirects in astro.config.ts by handling arbitrary legacy `*.html` URLs that crawlers may still have indexed.
Legacy frontend bookmark and /app convenience redirects now live in
projects/www's astro.config.ts alongside /app, /status, etc. The
CloudFront function and its .html-stripping rule are no longer needed
since legacy `.html` URLs were never in the marketing sitemap.
@alexdlaird alexdlaird force-pushed the feature/legacy-shutdown-phase-2-2026-08-01 branch from c429b4d to a44ebf3 Compare May 29, 2026 04:56
@alexdlaird alexdlaird changed the title Repoint marketing distribution to www.heliumedu.com (phase 2 of 2) Repoint marketing distribution to www.heliumedu.com (phase 2 of 3) May 29, 2026
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

Successfully merging this pull request may close these issues.

1 participant