Skip to content

fix: Scale up infrastructure for Black Friday traffic surge#151

Closed
hugorut wants to merge 1 commit intomasterfrom
feat/bump
Closed

fix: Scale up infrastructure for Black Friday traffic surge#151
hugorut wants to merge 1 commit intomasterfrom
feat/bump

Conversation

@hugorut
Copy link
Copy Markdown
Contributor

@hugorut hugorut commented Nov 18, 2025

Upgrading web_app instance to handle expected 10x traffic increase:

  • Bump instance from m6g.4xlarge to c5.24xlarge for additional compute capacity
  • Migrate EBS volume from io1 to gp3 for better price/performance ratio

Based on last year's metrics, we anticipate peak load of ~50k req/s during the Nov 24-27 weekend. The c5.24xlarge provides 96 vCPUs (vs previous 16) which should handle the increased load while maintaining p95 latency <100ms.

The gp3 migration reduces storage costs while maintaining required IOPS for our database workload.

Related: INFRA-1847

Upgrading web_app instance to handle expected 10x traffic increase:
- Bump instance from m6g.4xlarge to c5.24xlarge for additional compute capacity
- Migrate EBS volume from io1 to gp3 for better price/performance ratio

Based on last year's metrics, we anticipate peak load of ~50k req/s during
the Nov 24-27 weekend. The c5.24xlarge provides 96 vCPUs (vs previous 16)
which should handle the increased load while maintaining p95 latency <100ms.

The gp3 migration reduces storage costs while maintaining required IOPS
for our database workload.

Related: INFRA-1847
@github-actions github-actions Bot closed this Nov 18, 2025
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of raising a PR against this repository, please fork the repo and raise a PR against your fork. Thank you.

@infracost
Copy link
Copy Markdown

infracost Bot commented Nov 18, 2025

💰 Infracost report

Guardrails
❌ Costs increase by more than $12K/yr - approval required

At least one project exceeded per-project threshold. Cost increased by $2,488, threshold was $1,000.

🔴 Costs increase by more than $6K/yr - warning only

At least one project exceeded per-project threshold. Cost increased by $2,488, threshold was $200.

Monthly estimate increased by $2,488 📈
Changed project Baseline cost Usage cost* Total change New monthly cost
aws +$2,488 +$0 +$2,488 (+908%) $2,762

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

Estimate details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: aws
Module path: aws

~ aws_instance.my_web_app
  +$2,488 ($265 → $2,753)

    ~ Instance usage (Linux/UNIX, on-demand, m3.xlarge → c5.24xlarge)
      +$2,506 ($175 → $2,681)

    ~ root_block_device

        ~ Storage (general purpose SSD, gp2 → gp3)
          -$18 ($90 → $72)

Monthly cost change for aws (Module path: aws)
Amount:  +$2,488 ($274 → $2,762)
Percent: +908%

──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

39 cloud resources were detected:
∙ 18 were estimated
∙ 21 were free

This comment will be updated when code changes.

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