Go, with conditions
Execution shape: Full cutover: one migration window ยท Complexity: small
Confidence: medium โ full basis in What This Assessment Rests On.
terraform apply.Timeline if you execute: full cutover in one migration window, small complexity โ stages and duration drivers in the Timeline section.
Next action: set the three contact emails in the Terraform variables, then follow the migration guide phase by phase.
operations_email, billing_email, security_email) in terraform.tfvars before terraform plan โ checklist in MIGRATION_GUIDE.md โ nothing can be applied until then.baseline.tf, the account security baseline (GuardDuty, CloudTrail, budget alerts); keep it unless your account already carries these controls.terraform apply โ credits do not apply retroactively.2 Heroku resources on one app (acme-web) were mapped to AWS targets. No add-on is deferred.
| Heroku app | Heroku primitive | AWS target |
|---|---|---|
| acme-web | web formation (compute) | Elastic Beanstalk โ t3.small, load-balanced, 1 to 2 instances |
| acme-web | Heroku Postgres add-on (database) | RDS PostgreSQL โ db.t4g.medium, Multi-AZ, 64 GB storage |
| Tier | Est. Monthly AWS | What the tier means here |
|---|---|---|
| Premium | Est. $210/mo | Premium equals Balanced because every line that can take a resilience uplift is already Multi-AZ in this design; there is no higher-availability variant to price. |
| Balanced | Est. $210/mo | Right-sized on-demand pricing for the mapped design: one load-balanced Beanstalk environment and one Multi-AZ RDS instance. |
| Optimized | Est. $182/mo | Balanced with a Compute Savings Plan at 30% on the Beanstalk EC2 component only, 1-year no-upfront at the mid-point rate. The RDS line is unchanged: db.t4g.medium is Generation 4 and Database Savings Plans cover Generation 7 and newer instances only. |
Balanced is the figure to plan around. Premium shows what the same design costs with every resilience uplift applied โ here nothing is left to uplift, so it matches Balanced. Optimized shows Balanced after every eligible commitment discount; it is a ceiling on savings, not a second design.
No Heroku baseline was available for this run (no invoice or contract was supplied), so no side-by-side comparison is shown.
All figures are estimated monthly costs from cached AWS pricing (us-east-1), accuracy ยฑ5โ10%; they exclude data transfer, support plans and any Activate credits.
| Posture | Est. monthly | vs Balanced | What you commit to |
|---|---|---|---|
| Balanced on-demand | Est. $210/mo | โ | Nothing โ pay as you go |
| Balanced with Compute Savings Plans | Est. $182/mo | โ$28/mo | 1-year no-upfront hourly compute commitment |
| Balanced with Database Savings Plans | Est. $210/mo | โ (not eligible) | Nothing today โ db.t4g.medium is Generation 4 and Database Savings Plans cover Generation 7 and newer classes only; a db.m7g or db.r7g class would qualify |
| Optimized | Est. $182/mo | โ$28/mo | Every eligible commitment at its mid-point rate โ here the Compute Savings Plan only |
Savings Plan savings are incremental to the Balanced on-demand figure and are not additive to the Optimized tier โ Optimized already includes them at the mid-point rate. The two rows that reach $182 are the same money counted once.
Line-level opportunities: Appendix B.1 โ Savings Plans and Reserved Instances.
Developer workflow priority was rated important, not critical, in Clarify.
| Heroku today | On AWS | Status | Your estate |
|---|---|---|---|
git push heroku main + buildpacks | CI builds a container image and deploys it to Elastic Beanstalk | Generated โ a GitHub Actions deploy workflow per app | 1 buildpack app, 0 already containerized; 1 on Beanstalk, 0 on Fargate/EKS |
| Pipelines and promote | Environments per stage with the same image promoted between them, approval-gated | Generated โ an approval-gated promote.yml for the Beanstalk app; Build for the pipeline stages and environments themselves | 0 pipelines covering 0 apps |
| Review apps | An ephemeral environment per pull request, torn down on merge | Build (or buy) | not enabled |
| Config vars | Parameter Store / Secrets Manager, injected at deploy; config:set becomes one CLI call | Covered โ one secrets binding per sensitive key is generated; you import the values | 8 config var keys across 1 app |
heroku run / one-off dynos | ECS Exec or eb ssh; one-off tasks as a run-task call | Covered โ different command for the target | โ |
heroku logs --tail | CloudWatch Logs live tail | Covered | โ |
| Release phase | A pre-deploy job in the workflow that runs before traffic shifts | Build | 1 release process type |
| Scheduler add-ons | EventBridge Scheduler | Covered โ schedules recreated by you; no Terraform is emitted for the schedules themselves | 0 scheduler add-ons mapped, 0 deferred |
ps:scale | Autoscaling policy or one CLI call | Covered | โ |
| Add-on marketplace | Each add-on becomes an AWS service wired by the generated Terraform | No equivalent to the marketplace itself | 1 add-on mapped (Postgres), 0 deferred |
The rows marked Build are a platform layer your team owns: a deploy pipeline for Fargate, EKS and manual-deploy apps, a promote step for every app that gets no generated promote.yml, release steps, review-app automation, and a thin command wrapper. It is weeks of platform work, not months, and it is the same for every app.
Shape: Full cutover: one migration window. This is a stage order with its duration drivers, not a staffed schedule and not a commitment.
Duration drivers: a small estate (two services, none deferred), a Multi-AZ database migrated by dump and restore (20 GB estimated), and a maintenance window of Sunday at 04:00 UTC for database patching. The cutover and rollback procedure stays in MIGRATION_GUIDE.md.
| Risk | Impact | Likelihood | Mitigation |
|---|---|---|---|
| The traffic pattern is not confirmed; a sustained always-on load would raise the compute estimate. | High | Medium | Confirm the dyno run pattern before cutover sizing; the Balanced figure assumes the current formation. |
| The estimate rests on cached pricing and may move within the ยฑ5โ10% accuracy band. | Medium | Low | Re-run Estimate against live pricing before committing to a Savings Plan. |
| Setting | Assumed value | Design consequence |
|---|---|---|
| Container registry | Amazon ECR | Images are published to one ECR repository (ecr.tf), which the Cloud Native Buildpacks path requires. |
| Containerization method | Cloud Native Buildpacks (Heroku builder) | Images are built from the same source with the Heroku builder; no Dockerfile is needed. |
| AWS Activate status | Unknown | The credits guidance stays neutral; no tier or amount is claimed. |
Confidence: medium โ some material inputs assumed (the container registry, the containerization method and your Activate status are documented defaults). Region, compliance, availability, maintenance window, database HA, migration approach and method, DNS strategy, compute target, deploy method, log retention and cost posture were confirmed by you; the containerization status was extracted from your Heroku inventory.
Estimates based on cached AWS pricing (us-east-1 cache), accuracy ยฑ5โ10%.
One row per Heroku resource the design mapped. Sizes are the ones the generated Terraform provisions; you can change them in the variables before applying.
| Heroku app | Source | AWS service | Size |
|---|---|---|---|
| acme-web | web formation | Elastic Beanstalk (Docker on 64bit Amazon Linux 2023) | t3.small, load-balanced, 1 to 2 instances, rolling deployments |
| acme-web | Heroku Postgres add-on | RDS PostgreSQL | db.t4g.medium, Multi-AZ, 64 GB storage |
Estimated monthly whole dollars per line, from cached AWS pricing (us-east-1 cache), accuracy ยฑ5โ10%. No Heroku baseline was supplied, so there is no comparison column.
| Line | Premium | Balanced | Optimized |
|---|---|---|---|
| Elastic Beanstalk (EC2, ALB, LCU, EBS) | Est. $115/mo | Est. $115/mo | Est. $87/mo |
| RDS PostgreSQL (db.t4g.medium Multi-AZ) | Est. $95/mo | Est. $95/mo | Est. $95/mo |
| Total | Est. $210/mo | Est. $210/mo | Est. $182/mo |
Premium equals Balanced on every line: the RDS rate already includes Multi-AZ and the Beanstalk EC2 rate has no availability-zone uplift. Optimized applies the Compute Savings Plan to the EC2 component only ($92 of the $115 Beanstalk line, a $28 discount) and leaves the RDS line at its Balanced figure: db.t4g.medium is Generation 4, and Database Savings Plans cover Generation 7 and newer instances only (a db.m7g or db.r7g class would qualify at 20%). Optimized is $210 โ $28 = $182 per month, $2,184 per year.
| Optimization | Target | Monthly savings | Commitment | Effort |
|---|---|---|---|---|
| Compute Savings Plans | Elastic Beanstalk | Est. $28/mo | 1-year no-upfront | low |
| Database Savings Plans | RDS | None โ db.t4g.medium is Generation 4; Database Savings Plans cover Generation 7 and newer classes only (db.m7g or db.r7g would qualify at 20%) | 1-year no-upfront, not applicable today | n/a |
Activate credits don't cover RI/Savings Plan upfront costs โ they apply only to the ongoing discounted hourly rate.
Files Generate produced in the migration directory, one line each:
terraform/ โ main.tf (Beanstalk environment, RDS instance, networking), variables.tf, outputs.tf, security.tf, baseline.tf (account security baseline), ecr.tf (the image repository for the buildpack app), dns.tf (Route 53 weighted cutover records for www.acme.example), .gitignore, terraform.tfvars.exampleMIGRATION_GUIDE.md โ the phase-by-phase cutover and rollback procedure, including the dump and restore steps and the three-contact-email checklistREADME.md โ how to apply the packscripts/migrate-postgres.sh โ dump and restore of the Heroku Postgres add-on into RDS.github/workflows/deploy-eb.yml and promote.yml โ the generated deploy and approval-gated promote workflows for the Beanstalk appgeneration-warnings.json โ unsupported or skipped resources (none on this run)Written after this report by the completion step: validation-report.json, heroku-estate.xlsx, plan.json (when their writers succeed).
| Artifact | Contents |
|---|---|
preferences.json | Your Clarify answers and their provenance |
heroku-resource-inventory.json | The discovered Heroku estate |
aws-design.json | The AWS mapping per resource |
estimation-infra.json | The three cost tiers, the commitment opportunities and the recommendation |
| Question | Your choice | Source | Design consequence |
|---|---|---|---|
| Which AWS region should your infrastructure be deployed to? | us-east-1 | User answer | Every resource is created in this region; pricing is this region's. |
| Do you need to meet any compliance frameworks? | None | User answer | No extra controls beyond the account baseline. |
| What availability level does your production workload need? | Multi-AZ | User answer | RDS PostgreSQL with a Multi-AZ standby; applies to every data service. |
| When should AWS perform maintenance operations? | Sunday at 04:00 UTC | User answer | Sets the RDS and Beanstalk maintenance window. |
| What should the primary environment be called in AWS resource naming and tags? | acme | User answer | Becomes the Terraform environment variable (resource names and the Environment tag); never changes the architecture or the estimate. |
| How important is keeping the Heroku developer workflow? | Important | User answer | Changes what the report says must still be built; never changes the Terraform. |
| What high-availability configuration do you want for PostgreSQL on AWS? | Multi-AZ | User answer | RDS PostgreSQL with Multi-AZ enabled. |
| How do you want to phase the migration? | Full cutover | User answer | One migration window; no interim database exposure section in the guide. |
| How would you like to migrate your PostgreSQL data to AWS? | Dump and restore | User answer | Selects the dump and restore procedure in the guide. |
| How do you want to manage DNS for your migrated services? | Route 53 | User answer | Generates dns.tf with weighted cutover records. |
| Which compute target should formations use? | Elastic Beanstalk | User answer | Resolves the web formation to one Beanstalk environment. |
| How do you want to deploy code changes to Elastic Beanstalk? | GitHub Actions | User answer | Generates the deploy and promote workflows. |
| How long should application logs be retained? | 30 days | User answer | CloudWatch Logs retention of 30 days. |
| How do you want to handle alerting and on-call notifications? | CloudWatch Alarms + SNS | User answer | Recorded for your operations runbook; the generated Terraform emits no application alarms or on-call wiring for this answer (the account baseline's budget notifications are separate; see Appendix G), so the choice never moves the estimate. |
| How aggressively should we optimize for cost vs. operational safety? | Balanced | User answer | Right-sizing margin applied to the Balanced tier. |
| Is your application already containerized? | Buildpack only | Extracted from your Heroku inventory | Adds the Containerization Prerequisites section to the guide and asks how images are built. |
| Where should container images be stored for your containerized workloads? | Amazon ECR | Default applied | Images are published to one ECR repository (ecr.tf), which the Cloud Native Buildpacks path requires. |
| How should buildpack apps get a container image? | Cloud Native Buildpacks (Heroku builder) | Default applied | pack build with the Heroku builder, ECR repositories, no Dockerfile. |
| Have you applied for AWS Activate credits? | Unknown | Default applied | Drives only the credits callout wording; never moves the estimate. |
The account baseline baseline.tf applies. The three contact emails must be set before terraform plan. Removing baseline.tf plus those three contact variables opts out.
| Control | Setting | What it does | Threat mitigated |
|---|---|---|---|
| Alternate contacts | Operations, billing and security emails | Routes AWS notices to a named person | An incident reaches nobody who can act |
| Password policy | 14 characters, reuse 24, maximum age 90 days | Enforces console password strength and rotation | Weak console passwords |
| S3 public-access block | Account-wide | Blocks public bucket policies and ACLs | Accidental public buckets |
| Default EBS encryption | Enabled | Encrypts every new volume at rest | Data exposure from a stolen volume |
| IAM Access Analyzer | Account analyzer | Flags resources shared outside the account | A policy or bucket becomes public |
| IMDSv2 | Required on Beanstalk instances | Requires a session token for instance metadata | Credential theft through server-side request forgery |
| CloudTrail | 30-day retention | Records every API call | Who changed what |
| Monthly budget | Alerts at 80% and 100% | Emails billing when spend crosses the thresholds | Bill shock |
| GuardDuty | Enabled | Detects unusual API activity and compromised instances | Credential theft and resource hijacking |
Pricing provenance. Estimates based on cached AWS pricing (us-east-1 cache), accuracy ยฑ5โ10%. The estimate carries no measured, assumed and unknown lists; the confidence line in What This Assessment Rests On stands in for them.
Exclusions. Data transfer, AWS Support plans, Activate credits and the people cost of the platform layer the Developer workflow section describes are not priced. No Heroku baseline was available, so no saving is stated.
Design and generation warnings. None.
Terraform validation. This report is written before the Terraform is validated; see the validation report the completion step writes.
| Term | Meaning |
|---|---|
| Estimated monthly run rate | What the AWS resources are expected to cost per month at list price, before credits. It is not the full ownership cost: staffing, tooling and operating labor are not priced in this report. |
| Balanced / Premium / Optimized | The three pricing tiers: right-sized on-demand; the same design with every resilience uplift applied; Balanced with every eligible commitment at its mid-point rate. |
| Savings Plan | A one- or three-year hourly spend commitment in exchange for a lower rate on compute or database usage. |
| Multi-AZ | A database with a synchronous standby in a second availability zone; the standby takes over on failure. |
| Elastic Beanstalk | The managed service that runs the web formation's container behind a load balancer and handles deployments. |
| Cloud Native Buildpacks | The tooling that turns the buildpack app's source into a container image with the Heroku builder, without a Dockerfile. |
| GuardDuty | The AWS threat-detection service the account baseline enables. |