Soru

Zorluk: OrtaEstimating GCP Costs with the Pricing Calculator

A cloud engineer is using the Google Cloud Pricing Calculator to model the net monthly infrastructure expense for an internal microservice running for a 30-day month (730 hours730\text{ hours}). The workload requires:

1. Compute Engine: 44 standard VM instances running continuously for the entire month at a base rate of $0.10\$0.10 per instance-hour. A 20%20\% Sustained Use Discount (SUD) applies automatically to all compute instance hours.
2. Storage: 200 GB200\text{ GB} of Standard Persistent Disk at $0.04\$0.04 per GB per month (storage is not eligible for SUD).
3. Network Egress: 500 GB500\text{ GB} of internet egress per month. The first 100 GB100\text{ GB} per month is free under the GCP Free Tier, and all remaining egress is billed at $0.12\$0.12 per GB.

What is the estimated net total monthly cost in USD for this workload?

Cevap: 289.6 USD

Cevap

The estimated net total monthly cost for the workload is $289.60 USD.
The net monthly cost is calculated by taking 4 continuous compute instances running for 730 hours at 0.10/hour(0.10/hour ( 292.00 baseline), applying a 20% Sustained Use Discount to compute (233.60),adding200GBstandardpersistentdiskat233.60), adding 200 GB standard persistent disk at 0.04/GB (8.00),andadding400GBofbillableegress(500GBtotalminus100GBfreetier)at8.00), and adding 400 GB of billable egress (500 GB total minus 100 GB free tier) at 0.12/GB (48.00),resultinginatotalof48.00), resulting in a total of 289.60 USD.

Adım Adım Çözüm

1
Calculate the un-discounted Compute Engine cost for all instances.
4 instances×730 hours×$0.10/hour=$292.004 \text{ instances} \times 730 \text{ hours} \times \$0.10/\text{hour} = \$292.00
Establish baseline VM compute charges over the 30-day period.
2
Apply the Sustained Use Discount (SUD) to eligible compute hours.
$292.00×(10.20)=$233.60\$292.00 \times (1 - 0.20) = \$233.60
SUD applies automatically to compute instance execution hours that run for continuous portions of the month.
3
Calculate monthly Persistent Disk storage charges.
200 GB×$0.04/GB=$8.00200 \text{ GB} \times \$0.04/\text{GB} = \$8.00
Persistent disk pricing applies to total provisioned capacity and does not receive sustained use discounts.
4
Calculate billable network egress taking the GCP Free Tier allowance into account.
(500 GB100 GB free tier)×$0.12/GB=400 GB×$0.12=$48.00(500 \text{ GB} - 100 \text{ GB free tier}) \times \$0.12/\text{GB} = 400 \text{ GB} \times \$0.12 = \$48.00
The first 100 GB of internet egress per month is covered by the GCP Free Tier, leaving 400 GB subject to standard egress rates.
5
Sum all net component costs.
$233.60+$8.00+$48.00=$289.60\$233.60 + \$8.00 + \$48.00 = \$289.60
Combine net compute, persistent disk, and network egress charges to arrive at the total monthly estimate.

Anahtar Kavram

Calculating GCP cost estimates incorporating Sustained Use Discounts (SUD), storage pricing rules, and internet egress free tier allowances.
Bu soruyu puanla