Soru

Zorluk: OrtaEstimating GCP Costs with the Pricing Calculator

A cloud engineer is using the Google Cloud Pricing Calculator to model monthly expenses for an application workload deployed on Google Compute Engine across a 30-day month (720 total hours). The workload requires 10 virtual machines (`e2-standard-4`), each priced at an un-discounted base compute rate of 0.10perhour.Thecompanypurchasesa3yearCommittedUseDiscount(CUD)forE2instances,whichprovidesa450.10 per hour. The company purchases a 3-year Committed Use Discount (CUD) for E2 instances, which provides a 45% discount on the compute hourly rate. Each VM also requires a 100 GB Standard Persistent Disk attached, priced at 0.04 per GB per month (storage pricing is not subject to CUDs). What is the total net monthly cost, in USD, for compute and disk storage across all 10 virtual machines combined?

Cevap: 436 USD

Cevap

The net total monthly cost for compute and disk storage across all 10 virtual machines combined is $436.
The baseline compute cost per VM for 720 hours is 72.00(72.00 ( 0.10 * 720). A 3-year Committed Use Discount reduces compute costs by 45%, bringing the compute cost per VM down to 39.60(39.60 ( 72.00 * 0.55). Each VM's 100 GB persistent disk costs 4.00permonth(1004.00 per month (100 * 0.04) and is not subject to compute CUD discounts. Combining compute (39.60)andstorage(39.60) and storage ( 4.00) yields 43.60perVMpermonth.For10VMs,thetotalnetcostis43.60 per VM per month. For 10 VMs, the total net cost is 43.60 * 10 = $436.00.

Adım Adım Çözüm

1
Calculate the un-discounted baseline compute cost for a single virtual machine running continuously for 720 hours.
72.00perVM(72.00 per VM ( 0.10/hour * 720 hours)
Establishing the baseline monthly compute expense before applying committed use discounts.
2
Apply the 45% Committed Use Discount (CUD) rate to the compute portion of the instance.
39.60perVM(39.60 per VM ( 72.00 * 0.55)
Committed Use Discounts reduce hourly compute rates for committed workloads.
3
Calculate the monthly storage cost for 100 GB of Standard Persistent Disk attached to a single VM.
4.00perVM(100GB4.00 per VM (100 GB * 0.04/GB)
Persistent disk storage is billed separately at a flat monthly rate per GB and is not eligible for Compute Engine CUDs.
4
Sum the net compute cost and storage cost for one VM, then scale by 10 total VMs.
436.00totalmonthlyexpense((436.00 total monthly expense (( 39.60 + $4.00) * 10)
The aggregate workload cost must reflect both discounted compute resources and attached persistent storage for all provisioned instances.

Anahtar Kavram

Estimating Compute Engine infrastructure costs using Committed Use Discounts (CUDs) and correctly differentiating between discount-eligible compute resources and non-eligible persistent disk storage.
Bu soruyu puanla