Google Cloud Platform 学习笔记

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yangss123/article/details/78387069

1、Amazon EC2 预留实例后续费用计算问题:

       预留实例收取预付费用后,在预留期内如何计算后续费用?是只有在用实例的时候收费,还是用与不用都收费?是按月来看实例用没用来收费,还是整个预留期内无论用不用都收费?今天又看了一下官网上面的介绍,感觉最后一种的可能性最大,官网描述如下:点击打开链接

*This is the average monthly payment over the course of the Reserved Instance term. For each month, the actual monthly payment will equal the actual number of hours in that month multiplied by the hourly usage rate. The hourly usage rate is equivalent to the total average monthly payments over the term of the Reserved Instance divided by the total number of hours (based on a 365 day year) over the term of the Reserved Instance.

**Effective hourly pricing is shown to help you calculate the amount of money that a Reserved Instance will save you over On-Demand pricing.When you purchase a Reserved Instance, you are billed for every hour during the entire Reserved Instance term that you select, regardless of whether the instance is running or not.The effective hourly price shows the amortized hourly cost of the instance (this takes the total cost of the Reserved Instance over the entire term, including any upfront payment, and spreads it out over each hour of the Reserved Instance term).

       其中加粗部分意思是你买了一个预留实例后,在整个预留期中所有时间都要付费,不管这个实例有没有运行。当时想到一个问题,既然要为实例预留期中所有时间付费,那就相当于预留实例一开始就知道要为这个实例花费多少钱了,那为什么还要去分全部预付费用还是部分预付费用呢?既然全部预付费用折扣最大,用户肯定是都选全部预付了。后来一想Amazon云平台设置部分预付费用应该是为那些在开始时拿不出全部预付费用的用户设置的,这样用户在一开始可以交部分预付费用或者是不交预付费用,而享受预留实例的折扣,当然折扣大小不如全部预付折扣大。

       用户虽然要为预留期中所有时间付费,但费用结算是按月进行的,这个每月费用也不是固定的,因为月份有30天、31天之分,这也是官网介绍第一段话的意思。

2、谷歌云 compute engine中的Rightsizing recommendations 功能推荐结果问题:

       谷歌云推出自动推荐功能,根据用户最近八天CPU和内存使用率来向用户推荐实例,原以为它是推荐实例个数,增加或者减少实例,仔细查看官网描述才发现,它只是推荐实例类型,具体描述如下:

       Compute Engine监视运行虚拟机的CPU和内存利用率,并使用最近8天的数据提出建议。 Compute Engine可能会提出以下建议:

         您的实例大多数时候都具有较低的CPU利用率。 Compute Engine将推荐一种具有较少虚拟CPU的机器类型。

         您的实例大多数时间都具有高CPU利用率。 Compute Engine将推荐具有更多虚拟CPU的计算机类型。

         您的实例尚未使用其大部分内存。 Compute Engine将推荐一种具有较少内存的机器类型。

         您的实例大部分时间主要使用其大部分内存。 Compute Engine将推荐具有更多内存的机器类型。 

3、谷歌云中Committed use discounts 费用计算问题:

       谷歌云推出承诺使用折扣,即你承诺使用一年或者三年,谷歌云会给你一个非常优惠的价格,但是承诺期内是按照普通随用随付费,还是像Amazon一样不管用不用都要付费?这个问题一开始没弄明白,后来看官网描述发现谷歌云也是在承诺期中不管这个实例有没有使用都要付费:‘

Compute Engine offers the ability to purchase a committed use contract in return for deeply discounted prices for VM usage. These discounts are known as committed use discounts . You can purchase a committed use contract by creating a commitment. Commitments are appropriate for predictable and steady state usage where you will use a specific amount of cores and memory for future workloads. Commitments allow you to purchase a specific number of vCPUs and amount of memory at up to a 57% discount over full prices. You commit to the entire usage term and are billed for each month regardless of whether usage has occurred.


 

猜你喜欢

转载自blog.csdn.net/yangss123/article/details/78387069