You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
──────────────────────────────────
Project: infracost/azure-devops-github-demo/terraform
Module path: terraform
~ azurerm_linux_virtual_machine.my_vm
+$199 ($59 → $258)
~ Instance usage (Linux, pay as you go, Basic_A2 → Basic_A4)
+$199 ($58 → $257)
Monthly cost change for infracost/azure-devops-github-demo/terraform (Module path: terraform)
Amount: +$199 ($207 → $406)
Percent: +96%
──────────────────────────────────
Key: ~ changed, + added, - removed
3 cloud resources were detected:
∙ 3 were estimated, 2 of which include usage-based costs, see https://infracost.io/usage-file
Infracost estimate: Monthly cost will increase by $199 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
┃ Project ┃ Cost change ┃ New monthly cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━┫
┃ infracost/azure-devops-github-demo/terraform ┃ +$199 (+96%) ┃ $406 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━┛
Governance checks
🔴 4 failures
App Service - consider upgrading Premium service plans to v3: The Premium v3 pricing tier gives faster processors, SSD storage, memory-optimized options, and double the memory-to-core ratio of the Premium v2 tier. With the performance advantage, you could save money by running your apps on fewer instances. For example, the P2v2 plan provides 2 cores, 7 GB of RAM, and 250 GB of storage for $161/month. The P1v3 plan gives 2 cores, 8 GB of RAM, and 250 GB for $124/month, savings of 23%. Additionally, Premium v3 plans are eligible for savings plans and reserved instance pricing, opening opportunities for further savings.
azurerm_app_service_plan.my_app at terraform/main.tf:37
Switch sku.size from P1v2 to P0v3
in project infracost/azure-devops-github-demo/terraform
Virtual Machines - consider upgrading basic A series machines to an Av2 machine: Upgrade to the Av2-series of machine to get a better performance using a newer Intel Xeon processor. There is no cost benefit upgrading from Basic A, however Basic and Standard A series will retire 31 August 2024. For a Standard A upgrade though, for example, a A3 instance (with 4 cores, 7 GB RAM and 285 GB temporary storage) has a monthly cost of $175 (East US region); in comparison a A4 v2 instance (4 cores, 8 GB RAM, 40 GB storage) costs $139. This is a 20% saving for a more performant machine.
azurerm_linux_virtual_machine.my_vm at terraform/main.tf:6
Upgrade Basic_A4 to a VM in the Av2-series.
in project infracost/azure-devops-github-demo/terraform
FinOps tags: FinOps tags enable us to report on and optimize cloud costs, please see https://acme-inc.atlassian.com/finops/tagging for more information.
azurerm_linux_virtual_machine.my_vm at terraform/main.tf:6
Environment has invalid value production. Must be one of Dev, Stage, Prod
in project infracost/azure-devops-github-demo/terraform
Threshold warning
At least one project exceeded per-project threshold. Cost increased by $199, threshold was $10. This example Guardrail shows how you can monitor pull request costs, and trigger actions when your defined thresholds are exceeded. You can adjust it from https://dashboard.infracost.io > Governance > Guardrails. You have a 14 day trial of this feature as it's part of Infracost Cloud.
🟢 48 passed
46 FinOps policies, 0 Tagging policies, and 2 Guardrails passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Update the instance size of
azurerm_linux_virtual_machinetoBasic_A4and modify the service tag inazurerm_app_service_plantoweb-app1.azurerm_app_service_plantoweb-app1for better identification.Modified files (1)
Latest Contributors(2)
azurerm_linux_virtual_machineto enhance performance.Modified files (1)
Latest Contributors(2)