Skip to content

Consolidate dashevo AWS account into dashdev #19

Open

Description

@dashinfraclaw

Summary

The dashevo AWS account has accumulated significant spend on mostly legacy/unused infrastructure. A migration plan consolidates everything worth keeping into the primary dashdev account and eventually closes dashevo.

Status (2026-03-20)

Initial cleanup done — old snapshots, unattached volumes/EIPs, zombie instances deleted. Remaining: DNS seeds, CloudFront/S3 static sites, Insight decision.

Phases

  • Phase 0-1: Delete waste (completed)
  • Phase 2: Delete dead Insight infra (ALBs, ASGs, EFS, WAF)
  • Phase 3: Migrate S3 + CloudFront distributions to dashdev
  • Phase 4: Migrate DNS seeds (zero-downtime overlap approach)
  • Phase 5: Decommission OpenVPN (confirmed unused)
  • Phase 6: Decide Insight fate (migrate/downsize/decommission)
  • Phase 7: Final cleanup, close account

Key Dependencies

  • ACM certificate DNS validation for CloudFront migration
  • DNS record ownership for dash.org, dashmate.org, grovedb.org, dashpay.io

Activity

  1. ktechmidas commented on Nov 20, 2026

    @ktechmidas
    Contributor

    Status update, 2026-11-20

    Re-surveyed the dashevo account (read-only) and finished phase 2.

    Done today

    • Phase 2 complete. Deleted the old Insight stack: the two 2022 load balancers (mainnet-insight.dashevo.org, testnet-insight.dashevo.org) with their target groups, WAF, auto-scaling groups, launch configurations, EFS and security groups. They had had no backends since March and were answering every request with 503.
    • Phase 5 mostly complete. The OpenVPN instance was already gone. Removed its auto-scaling group, launch configuration, security group, DNS record and five failing health checks. Remaining: its IAM role and one bucket.
    • Deleted three legacy testnet EFS file systems from 2017–18 (277 GB, unused for over 15 months).

    Live Insight and both DNS seeders were checked afterwards and are healthy. Estimated saving is about $55–60 a month, out of roughly $440.

    Still open

    • Phase 3, static sites. Ten CloudFront distributions, six with real traffic: media.dash.org, dashpay.io, paper.dash.org, proposal.dash.org, www.dashmate.org, www.grovedb.org. Four of the sites deploy from GitHub Actions into this account, so their workflows move with them. electrum.dash.org and www8.dash.org have no DNS record and can simply be deleted.
    • Phase 4, DNS seeds. Both seeders (mainnet and testnet) still run here. dnsseed.dash.org and test-dnsseed.dash.org resolve through dashevo.org names, which should be dropped during the move.
    • Phase 6, Insight. Still undecided. It is a single hand-built instance serving insight.dash.org, explorer.dash.org and api.dash.org, at about 228 million requests a month.

    Not covered by the original plan

    • Backups. The website and forum hosts back up daily into a 3.6 TB bucket here, in standard storage with no expiry rule. This is the largest avoidable cost (about $83 a month) and needs a new home or a lifecycle policy.
    • Dash Core build mirror. The dash-depends-sources bucket is the FALLBACK_DOWNLOAD_PATH in Core's depends/Makefile. Bucket names cannot move between accounts, so this needs a plan on the Core side before the account can go.
    • WordPress media. The website uploads to the media.dash.org bucket here.
    • Domain registrations. dashevo.org, dashforum.org and dashtalk.org are registered in this account and need transferring.
    • Phase 7 needs rethinking. dashevo is the management account of the AWS Organization that dashdev belongs to, so it cannot simply be closed. Billing and the Organization have to move first.

    Suggested order

    Seeders (phase 4), then static sites (phase 3), then backups and the build mirror, with the Insight decision (phase 6) in parallel. Phase 7 becomes its own issue.

    Survey and cleanup prepared by infraclaw (Claude Code) and approved by latte.

  2. ktechmidas commented on Nov 20, 2026

    @ktechmidas
    Contributor

    Status update 2, 2026-11-20: phases 3 to 6 done

    Everything that ran in dashevo now runs in dashdev. dashevo holds no compute, no load balancers, no CloudFront, no Lambda, no logs and no registered domains.

    Done

    • Phase 3, static sites. www.grovedb.org, www.dashmate.org, dashpay.io, paper.dash.org, proposal.dash.org and media.dash.org are served from dashdev (one private bucket behind CloudFront, plus a media bucket for WordPress). The four site repositories deploy to dashdev through GitHub OIDC roles. All old distributions are deleted. One slip on the way: www.dashmate.org did not resolve for about four minutes at 12:21 UTC.
    • Phase 4, DNS seeds. New mainnet and testnet seeders run in dashdev on addresses from our own pool. dnsseed.dash.org and test-dnsseed.dash.org no longer depend on dashevo.org names. The old seeders are deleted.
    • Phase 5, OpenVPN. The remaining role and bucket are deleted.
    • Phase 6, Insight. Decision: migrate like for like. The host was copied into dashdev and insight.dash.org, explorer.dash.org and api.dash.org were switched at 18:13 UTC with no interruption; old and new were compared request by request first. The old host and load balancer are deleted. Still Core 22: the Core 24 upgrade before activation is separate work and still open.

    Also moved (not in the original plan)

    • Backups. Website and forum hosts back up into a new dashdev bucket that moves objects to an archive class after 30 days. The full history (1.67 million objects, 3.6 TB) was replicated and verified version by version. The old bucket is being emptied by an expiry rule.
    • DNS. The zones dashevo.org, dashtalk.org, dashmate.org, grovedb.org and dashpay.io are served from dashdev and all five delegations are switched. The registrations dashevo.org, dashtalk.org and dashforum.org were transferred to dashdev.
    • OpenAI proxy behind dashpay.io. Moved. Note: the OpenAI account behind it has no credits, so that feature was already not working before the move.
    • Archive. The leftover buckets (Terraform states, old site copies, old logs) were copied into one archive bucket in dashdev and then deleted.

    Phase 7: cleaned up, but the account cannot be closed yet

    Deleted in dashevo: all CloudFormation stacks, the legacy VPCs, 100 GB of old WAF logs, AWS Config, unused certificates, and the IAM users, groups, roles and policies of everything that moved. What remains:

    • AWS Organization and billing. dashevo is the management and paying account. This has to move before the account can go, and needs its own issue.
    • Dash Core build mirror. dash-depends-sources is still FALLBACK_DOWNLOAD_PATH in Core's depends/Makefile. Needs a change on the Core side first.
    • dashevo-infra bucket. A few old files in it are public by direct link (a 2017 whitepaper PDF, old masternode lists). Access logging is on to see whether anything still fetches them. While preparing the archive, those links returned 403 for about nine minutes (17:39 to 17:48 UTC).
    • Short waits. The old DNS zones go after 2026-11-22 (cached delegations). The old backup and media buckets go once their expiry rules have emptied them.

    Expected saving: most of the roughly $440 a month this account cost. What stays is billing-report storage, the build mirror and a few dollars of keys.

    Migration carried out by infraclaw (Claude Code) at latte's direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions