Skip to content

Add durable Windows VM management, nightly shutdown, and 60-day costs - #49

Merged
AnsonShie merged 13 commits into
mainfrom
feat/windows-a11y-batch-vms-eip
Sep 3, 2026
Merged

AnsonShie merged 13 commits into
mainfrom
feat/windows-a11y-batch-vms-eip

Conversation

@AnsonShie

@AnsonShie AnsonShie commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Keep GitHub Actions batch provisioning for 1–20 Windows VMs, remove Elastic IP allocation, use dynamic public IPv4 addresses, and report instance and network details.
  • Persist admin-only VM assignment metadata in SQLite. Admins can manage assignments; users search by exact instance ID and receive the private IP and cost details.
  • Add a scheduled Lambda workflow that stops managed Windows VMs every day at 01:00 Asia/Taipei.
  • Replace the 14-day Cost Explorer and Elastic IP estimate with CUR 2.0 plus Athena, providing rolling 60-day effective VM costs and explicit availability states.

Rollout notes

  • The workflow provisions the cost-reporting foundation and scheduler before deploying the Portal.
  • Initial CUR delivery can take up to 24 hours. Older history may require an AWS Support backfill.
  • Existing VMs are not rebuilt by this PR; recreate them through the workflow if they need the updated networking behavior.
  • No live AWS deployment or production mutation was performed while implementing this PR.

Verification

  • uv sync --frozen
  • Portal test suite: 57 passed
  • Lambda test suite: 3 passed
  • Ruff check and format check passed
  • cfn-lint passed for all four CloudFormation templates
  • Ansible syntax check passed with local optional-collection warnings
  • Docker build could not complete locally because the base-image registry timed out; the PR validation workflow now performs the Docker build

Notes

  • The implementation plan and design documents remain local ignored files and are not included in this PR.

AnsonShie and others added 11 commits August 23, 2026 23:07
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
@AnsonShie AnsonShie changed the title Add batch Windows VM deployment with Elastic IP costs Add durable Windows VM management, nightly shutdown, and 60-day costs Aug 29, 2026
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:17 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:24 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:26 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:30 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:38 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production August 30, 2026 11:44 — with GitHub Actions Failure
Co-authored-by: Codex <codex@openai.com>
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production September 3, 2026 12:24 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production September 3, 2026 12:29 — with GitHub Actions Failure
@AnsonShie
AnsonShie had a problem deploying to a11y-village-production September 3, 2026 12:34 — with GitHub Actions Failure
Include the merged Traefik config path fix from PR #48.

Co-authored-by: Codex <codex@openai.com>
@AnsonShie
AnsonShie deployed to a11y-village-production September 3, 2026 12:46 — with GitHub Actions Active
@AnsonShie
AnsonShie deployed to windows-a11y September 3, 2026 12:47 — with GitHub Actions Active
@AnsonShie
AnsonShie merged commit 01bccb2 into main Sep 3, 2026
5 checks passed
@AnsonShie
AnsonShie deleted the feat/windows-a11y-batch-vms-eip branch September 3, 2026 12:55

This branch was successfully deployed

2 active deployments
windows-a11y — 3d33480c Deployed Sep 3, 2026 by AnsonShie via launch ec2 from windows a11y ami #5
a11y-village-production — 3d33480c Deployed Sep 3, 2026 by AnsonShie via deploy #18
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