Skip to content

Cloud Run: Right-size market-data service CPU to 1 vCPU - #104

Open
cloud-guardian-sh[bot] wants to merge 1 commit into
mainfrom
remediation/cloud-run-market-data-cpu-1
Open

Cloud Run: Right-size market-data service CPU to 1 vCPU#104
cloud-guardian-sh[bot] wants to merge 1 commit into
mainfrom
remediation/cloud-run-market-data-cpu-1

Conversation

@cloud-guardian-sh

Copy link
Copy Markdown
Contributor

Summary

This PR right-sizes the market-data Cloud Run service to use 1 vCPU. The violation suggests a reduction to 1 vCPU, indicating that the deployed service is likely configured with higher CPU, or 1 vCPU is the recommended optimal size. This change aligns the IaC with the target 1 vCPU.

Changes

  • Updated the google_cloud_run_v2_service.market_data resource in terraform/modules/market-data/main.tf to set cpu = "1" within the resources.limits block.

Estimated Monthly Savings

Optimizing CPU allocation for Cloud Run services can lead to significant cost reductions. If the service was previously consuming more than 1 vCPU and is now provisioned at 1 vCPU, this change could lead to potential savings. For each 1 vCPU reduced in a continuously running service, estimated monthly savings are approximately $60.

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

Terraform Plan 馃摑

Show Plan
No plan file found

Environment: dev
Project: shorted-dev-aba5688f
Image Tag: pr-104

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.

0 participants