Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How can I reduce the cost of my website's vm-instance in GCP?

I have my business website running as a vm-instance in compute engine of GCP. I get charged over 20 dollars a month. Please, any idea on what I can do to reduce the monthly cost of the vm-instance?

2 10 1,108
10 REPLIES 10

I'm not a specialist in GCP, but maybe this could help you out.

https://cloud.google.com/solutions/web-hosting

Thank you Jan-Carlos.

The link was really helpful. I was able the see the estimated price of Wordpress hosting on GCP. 

It is as I feared, I am being billed about double the estimated price as show in the link you shared.

Please see screen shots below. I am in urgent need to reducing my monthly billing. It's basically double.

 

Here's a screen shot of pricing as said by google

Pricing as said by GooglePricing as said by Google

 

 

This second screenshot of my monthly billing. Today is 4th July and you can see how high it is already...

My monthly billingMy monthly billing

Please I need help! 😥

You can try to check the cost table before do anything.

GCP => Billing => Your billing => Cost table

1625456953391.png

You may be surprised.

Best, Alex.

Hi @Alex_Ivanov Thanks. I looked at the cost table, That's a screenshot below. It shows me over 20 dollars. Please what does this mean?

Screenshot 2021-07-05 194140.png

Hi @Alex_Ivanov Thanks. I looked at the cost table, That's a screenshot below. It shows me over 20 dollars. Please what does this mean?

Screenshot 2021-07-05 194140.png

Then I have a question also.

Does the machine type, SSD OR standard persistent disc, have an effect on the price? If yes what's the difference in price? My VM machine type is SSD

The machine type [1] and disk configuration [2] do affect billing. In the pricing screenshot that you shared earlier, the cost that's shown is for 1 shared vCPU, 2 GB memory, and a 10GB standard persistent disk.

While launching the VM from marketplace or later after the VM was created, did you change the VM to a larger machine type? If yes, you can size it down [3] to the required configuration. Also, if your website doesn't need to run 24/7, you can consider stopping [4] the VM during the days/hours when you don't expect traffic to the website. Also, review the options to optimize the cost of your persistent disks [5].

[1] https://cloud.google.com/compute/vm-instance-pricing

[2] https://cloud.google.com/compute/disks-image-pricing#disk

[3] https://cloud.google.com/architecture/framework/cost-optimization/compute#choose_appropriate_machine...

[4] https://cloud.google.com/architecture/framework/cost-optimization/compute#adjust_capacity_to_match_d...

[5] https://cloud.google.com/architecture/framework/cost-optimization/storage#pd

I hope this helps.

Hmm... I don't see the service description field.

Oh @Alex_Ivanov sorry.

Here it is please. Thank you!

Screenshot 2021-07-06 180138.png

100% of the cost it is in the compute engine service.

Try to click in this button to see better infos about compute engine costs:

Screenshot_14.png