晴天霹雳还是虚惊一场?Google App Engine开始收费+免费账户配额降低
2009 2 25 09:51 AM 5023次查看
分类:Google App Engine 标签:Google App Engine
1. Your Agreement with Google
1.1. Your use of the Google App Engine service (the "Service") is governed by this agreement (the "Terms"). "Google" means Google Inc., located at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States, and its subsidiaries or affiliates involved in providing the Service.
1.2. In order to use the Service, you must first agree to the Terms. You can agree to the Terms by actually using the Service. You understand and agree that Google will treat your use of the Service as acceptance of the Terms from that point onwards.
1.3. You may not use the Service if you are a person barred from receiving the Service under the laws of the United States or other countries including the country in which you are resident or from which you use the Service. You affirm that you are over the age of 13, as the Service is not intended for children under 13.
2. Your Account and Use of the Service
2.1. You must provide accurate and complete registration information any time you register to use the Service. You are responsible for the security of your passwords and for any use of your account. If you become aware of any unauthorized use of your password or of your account, you agree to notify Google immediately.
2.2. Your use of the Service must comply with all applicable laws, regulations and ordinances, including any laws regarding the export of data or software.
2.3. You agree not to (a) access (or attempt to access) the administrative interface of the Service by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google, or (b) engage in any activity that interferes with or disrupts the Service (or the servers and networks which are connected to the Service).
3. Service Policies and Privacy
3.1. You agree to comply with the Google App Engine Program Policies included available at http://code.google.com/appengine/program_policies.html (or such URL as Google may provide) (the "Program Policies") which is incorporated herein by this reference and which may be updated from time to time.
3.2. The Service shall be subject to the privacy policy for the Service available at http://code.google.com/appengine/privacy.html (or such URL as Google may provide), which references and incorporates Google's privacy policy available at http://www.google.com/privacy.html. You agree to the use of your data in accordance with Google's privacy policies.
3.3. You agree that you will protect the privacy and legal rights of the users of your application. You must provide legally adequate privacy notice and protection for those users. To do so, at a minimum, you must incorporate the privacy terms available at http://code.google.com/appengine/privacy.html into the privacy policy for your application. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application and to Google.
3.4. If the user provides you with Google Account information, you may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
4. Fees for Use of the Service
4.1. Subject to the Terms, the Service is provided to you without charge up to certain quotas. These quotas will be known as the "Fee Threshold" and can be found here.
4.2. A bill will be issued to your online account for all charges accrued in excess of the Fee Threshold. For use of the Service in excess of any portion of the Fee Threshold, you shall be responsible for all charges up to the amount set in your online account, and shall pay all charges in U.S. Dollars or in such other currency as agreed to in writing by the parties. Unless agreed to by the parties in writing, you shall pay all charges in accordance with the payment terms in the Service FAQ. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less). Charges are exclusive of taxes. You are responsible for paying all taxes and government charges, and all reasonable expenses and attorneys fees Google incurs collecting late amounts. To the fullest extent permitted by law, you waive all claims relating to charges unless claimed within 60 days after the charge (this does not affect your credit card issuer rights). Charges are solely based on Google's measurements of your use of the Service, unless otherwise agreed to in writing. To the fullest extent permitted by law, refunds (if any) are at the discretion of Google and only in the form of credit for the Service. Nothing in these Terms obligates Google to extend credit to any party. You acknowledge and agree that any credit card and related billing and payment information that you provide to Google may be shared by Google with companies who work on Google's behalf, such as payment processors and/or credit agencies, solely for the purposes of checking credit, effecting payment to Google and servicing your account. Google may also provide information in response to valid legal process, such as subpoenas, search warrants and court orders, or to establish or exercise its legal rights or defend against legal claims. Google shall not be liable for any use or disclosure of such information by such third parties. Google reserves the right to discontinue the provision of the Service to you for any late payments.
4.3. Google may change its fees and payment policies for the Service with ninety (90) days prior notice. However, Google may change the Fee Threshold limits at its discretion. Changes to the fees or payment policies will be posted in the Service FAQ or at http://code.google.com/appengine/terms.html (or such other URL Google may provide from time to time). Any outstanding balance becomes immediately due and payable upon termination of the Terms for any reason.
4.4. You may not develop multiple Applications to simulate or act as a single Application or otherwise access the Service in a manner intended to avoid incurring fees.
5. Content in the Service and Take Down Obligations
5.1. You understand that all information (such as data files, written text, computer software, music, audio files or other sounds, photographs, videos or other images) to which you may have access as part of, or through your use of, the Service are the sole responsibility of the person from which such content originated. All such information is referred to below as the "Content." The term Content shall specifically exclude the web application that you create using the Service and any source code written by you to be used with the Service (collectively, the "Application").
5.2. Google reserves the right (but shall have no obligation) to pre-screen, review, flag, filter, modify, refuse or remove any or all Content from the Service. You agree to immediately take down any Content that violates the Program Policies, including pursuant to a take down request from Google. In the event that you elect not to comply with a request from Google to take down certain Content, Google reserves the right to directly take down such Content or to disable the Application.
5.3. In the event that you become aware of any violation of the Program Policies by an end user of the Application, you shall immediately terminate such end user's account on your Application. Google reserves the right to terminate end user Google accounts or disable the Application in response to a violation or suspected violation of the Program Policies.
5.4. You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) the Application or any Content that you create, transmit or display while using the Service and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
5.5. You agree that Google has no responsibility or liability for the deletion or failure to store any Content and other communications maintained or transmitted through use of the Service. You further acknowledge that you are solely responsible for securing and backing up your Application and any Content.
6. Proprietary Rights
6.1. You acknowledge and agree that Google (or Google's licensors) own all legal right, title and interest in and to the Service, including any intellectual property rights which subsist in the Service (whether those rights happen to be registered or not, and wherever in the world those rights may exist).
6.2. Unless you have agreed otherwise in writing with Google, nothing in the Terms gives you a right to use any of Google's trade names, trade marks, service marks, logos, domain names, and other distinctive brand features.
6.3. Except as provided in Section 8, Google acknowledges and agrees that it obtains no right, title or interest from you (or your licensors) under these Terms in or to any Content or the Application that you create, submit, post, transmit or display on, or through, the Service, including any intellectual property rights which subsist in that Content and the Application (whether those rights happen to be registered or not, and wherever in the world those rights may exist). Unless you have agreed otherwise in writing with Google, you agree that you are responsible for protecting and enforcing those rights and that Google has no obligation to do so on your behalf.
7. License from Google and Restrictions
7.1. Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Service as provided to you by Google (referred to as the "Google App Engine Software" below). This license is for the sole purpose of enabling you to use and enjoy the benefit of the Service as provided by Google, in the manner permitted by the Terms.
7.2. You may not (and you may not permit anyone else to): (a) copy, modify, create a derivative work of, reverse engineer, decompile or otherwise attempt to extract the source code of the Google App Engine Software or any part thereof, unless this is expressly permitted or required by law, or unless you have been specifically told that you may do so by Google, in writing (e.g., through an open source software license); (b) attempt to disable or circumvent any security mechanisms used by the Service or any Application; (c) use the Service to create an Application that performs a malicious activity, including but not limited to spamming users, harvesting usernames and passwords, performing unauthorized scans of machines or ports or creating DoS attacks; or (d) upload or otherwise process any malicious content to or through the Service.
7.3. Unless Google has given you specific written permission to do so (e.g., through an open source software license), you may not assign (or grant a sub-license of) your rights to use the Google App Engine Software, grant a security interest in or over your rights to use the Google App Engine Software, or otherwise transfer any part of your rights to use the Software.
7.4. Use, reproduction and distribution of components of the Service released under an open source software license are governed solely by the terms of that open source software license.
8. License from You
8.1. Google claims no ownership or control over any Content or Application. You retain copyright and any other rights you already hold in the Content and/or Application, and you are responsible for protecting those rights, as appropriate. By submitting, posting or displaying the Content on or through the Service you give Google a worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute such Content for the sole purpose of enabling Google to provide you with the Service in accordance with its privacy policy. Furthermore, by creating an Application through use of the Service, you give Google a worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute such Application for the sole purpose of enabling Google to provide you with the Service in accordance with its privacy policy.
8.2. You agree that Google, in its sole discretion, may use your trade names, trademarks, service marks, logos, domain names and other distinctive brand features in presentations, marketing materials, customer lists, financial reports and Web site listings (including links to your website) for the purpose of advertising or publicizing your use of the Service.
9. Software Updates
9.1. The Software which you use may automatically download and install updates from time to time from Google. These updates are designed to improve, enhance and further develop the Service and may take the form of bug fixes, enhanced functions, new software modules and completely new versions. You agree to receive such updates (and permit Google to deliver these to you) as part of your use of the Service.
10. Modification and Termination of the Service
10.1. Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Service which Google provides may change from time to time without prior notice to you.
10.2. You may discontinue your use of the Service at any time. Google may, at any time, terminate your use of the Service if (A) you have breached any provision of the Terms (or have acted in manner which clearly shows that you do not intend to, or are unable to comply with the provisions of the Terms) or (B) Google is required to do so by law (for example, where the provision of the Service to you is, or becomes, unlawful). Further, Google may terminate your use of the Service for any reason with ninety (90) days prior written notice.
10.3. If Google suspends or terminates your use of the Service with cause (or you voluntarily discontinue your use of the Service), you will have access to, and the ability to export, your Content for a period of ninety (90) days following such suspension or termination. Fees will continue to be assessed for usage of the Service in excess of any portion of the Fee Threshold during the 90 day period. If Google suspends or terminates your use of the Service without cause, you will have access to, and the ability to export, your Content for a period of twenty-four (24) months following such suspension or termination. Fees will continue to be assessed for usage of the Service in excess of any portion of the Fee Threshold during the 24 month period. Notwithstanding the foregoing, the rights set forth in this Section 10.3 are subject to your payment of any outstanding fees due upon and after termination for your use of the Service.
10.4. Upon any termination of the Service, these Terms will also terminate, but Section 17.7 shall continue to be effective after these Terms are terminated.
11. EXCLUSION OF WARRANTIES
11.1. NOTHING IN THESE TERMS, INCLUDING SECTIONS 11 AND 12, SHALL EXCLUDE OR LIMIT GOOGLE'S WARRANTY OR LIABILITY FOR LOSSES WHICH MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW.
11.2. YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICE IS AT YOUR SOLE RISK AND THAT THE SERVICE IS PROVIDED "AS IS" AND "AS AVAILABLE."
11.3. GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS MAKE NO EXPRESS WARRANTIES AND DISCLAIM ALL IMPLIED WARRANTIES REGARDING THE SERVICE INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS DO NOT REPRESENT OR WARRANT TO YOU THAT: (A) YOUR USE OF THE SERVICE WILL MEET YOUR REQUIREMENTS, (B) YOUR USE OF THE SERVICE WILL BE UNINTERRUPTED, TIMELY, SECURE OR FREE FROM ERROR, AND (C) USAGE DATA PROVIDED THROUGH THE SERVICE WILL BE ACCURATE.
12. LIMITATION OF LIABILITY
12.1. SUBJECT TO SECTION 11.1 ABOVE, YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES WHICH MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY. THIS SHALL INCLUDE, BUT NOT BE LIMITED TO, ANY LOSS OF PROFIT (WHETHERF INCURRED DIRECTLY OR INDIRECTLY), ANY LOSS OF GOODWILL OR BUSINESS REPUTATION, ANY LOSS OF DATA SUFFERED, COST OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR OTHER INTANGIBLE LOSS.
12.2. THE LIMITATIONS ON GOOGLE'S LIABILITY TO YOU IN PARAGRAPH 11.1 ABOVE SHALL APPLY WHETHER OR NOT GOOGLE HAS BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
13. Indemnification
13.1. You agree to hold harmless and indemnify Google, and its subsidiaries, affiliates, officers, agents, employees, advertisers, licensors, suppliers or partners, (collectively "Google and Partners") from and against any third party claim arising from or in any way related to (a) your breach of the Terms, (b) your use of the Service, (c) your violation of applicable laws, rules or regulations in connection with the Service, or (d) your Content or your Application, including any liability or expense arising from all claims, losses, damages (actual and consequential), suits, judgments, litigation costs and attorneys' fees, of every kind and nature. In such a case, Google will provide you with written notice of such claim, suit or action.
14. Policies Regarding Copyright and Trademarks
14.1. You agree to set up a process to respond to notices of alleged infringement that comply with the United States' Digital Millennium Copyright Act ("DMCA notices"). It is Google's policy to respond to DMCA notices or other applicable copyright laws and to terminate the accounts of repeat infringers. We reserve the right to take down content in your Application or, if necessary, the Application itself upon receipt of a valid DMCA notice. For more information, please go to http://www.google.com/dmca.html.
14.2. For information regarding our trademark complaint procedure, please go to http://www.google.com/tm_complaint.html. Any use of Google's trade names, trademarks, service marks, logos, domain names, and other distinctive brand features must be in compliance with the Terms and in compliance with Google's then current Brand Feature use guidelines, and any content contained or reference therein, which may be found at the following URL: http://www.google.com/permissions/guidelines.html (or such other URL Google may provide from time to time).
15. Other Content
15.1. The Services may include hyperlinks to other web sites or content or resources or email content. Google may have no control over any web sites or resources which are provided by companies or persons other than Google.
15.2. You acknowledge and agree that Google is not responsible for the availability of any such external sites or resources, and does not endorse any advertising, products or other materials on or available from such web sites or resources.
15.3. You acknowledge and agree that Google is not liable for any loss or damage which may be incurred by you or users of your Application as a result of the availability of those external sites or resources, or as a result of any reliance placed by you on the completeness, accuracy or existence of any advertising, products or other materials on, or available from, such web sites or resources.
16. Changes to the Terms
16.1. Google may make changes to the Terms from time to time. When these changes are made, Google will make a new copy of the Terms available at http://code.google.com/appengine/terms.html.
16.2. You understand and agree that if you use the Service after the date on which the Terms have changed, Google will treat your use as acceptance of the updated Terms.
17. General Legal Terms
17.1. The Terms constitute the whole legal agreement between you and Google and govern your use of the Service (but excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the Service.
17.2. There are no third party beneficiaries to these Terms. The parties are independent contractors, and nothing in these Terms creates an agency, partnership or joint venture.
17.3. If Google provides you with a translation of the English language version of these Terms, the English language version of these Terms will control if there is any conflict.
17.4. You agree that Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Service.
17.5. You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the Terms (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
17.6. Google shall not be liable for failing or delaying performance of its obligations resulting from any condition beyond its reasonable control, including but not limited to, governmental action, acts of terrorism, earthquake, fire, flood or other acts of God, labor conditions, power failures, and Internet disturbances.
17.7. The Terms, and your relationship with Google under the Terms, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the Terms. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
重点就是第4点:
超出限额的部分要付款。付款为美元,或相应价格的货币。
显示的款项是不含税的,但你必须为此交税。
你不能用多个应用程序来共同处理一个应用,以此来防止超出配额。
Google有权更改收费标准,但必须提前90天公示。
进入我的网站,发现memcache中的数据全部清空了,说明服务器重启或停用过,但查看服务器状态却正常。
同意协议并进入后台,发现有几处很明显的改动:
Dashboard里多了一个链接:Billing Status: Free - Settings。这个Settings就是收费设定了,目前我还是免费账户,配额与之前一样。
左侧的链接多了1块Billing,含2个页面:Billing Settings和Billing History。
此外,貌似新增了Admin Logs,以前好像没看到过。
免费账户的每日配额也有大幅改动:
HTTPS访问的流量增大到10GB(以前是2GB)。
数据库API的调用次数变少了很多(原来的忘记是多少了,但应该比Memcache API要多1个数量级的,可现在几乎一样了)。
数据库存储数据增大到1GB(之前是500M)。
其他变化由于我记不清数据了,所以无法给出。但邮件的附件发送大小,以及UrlFetch配额应该都有改变。
在Quotas文档里也公布了免费账户和付款账户的区别。付款账户的配额将比免费账户多很多(有的甚至提高了2~3个数量级)。
这个文档还公布了在2009年5月25日以后,免费账户将实行新的配额。(少了好多…)
CPU Time: 6.5 hours of CPU time per dayGAE的官方博客也公布价格:
Bandwidth: 1 Gigabyte of data transferred in and out of the application per day
Stored Data & Email Recipients: these quotas will remain unchanged.
$0.10 per CPU core hour. This covers the actual CPU time an application uses to process a given request, as well as that for any Datastore usage.按照新收费标准:
$0.10 per GB bandwidth incoming, $0.12 per GB bandwidth outgoing. This covers traffic directly to/from users, traffic between the app and any external servers accessed using the URLFetch API, and data sent via the Email API.
$0.15 per GB of data stored by the application per month.
$0.0001 per email recipient for emails sent by the application.
如果用户每日使用GAE的CPU时间超过6.5小时(目前是46.3小时),超出部分每小时每台计算机收取0.10美元的费用。不过有点困惑的是,前者应该是指按1.2GHz的Intel x86处理器性能换算的时间(即每100万个计算周期,算作1/1200秒CPU时间),后者却是实际处理器的时间(据我估算,实际处理器的峰值性能至少在20GHz以上),但这个时间包括了数据库时间和其他时间(例如UrlFetch,如果遇到网络忙,这个时间占用就很可观了)。
每日收到数据超过1GB,每GB收取0.10美元的费用;每日发送数据超过1GB,每GB收取0.12美元。这个包含了与用户之间传输的数据,以及UrlFetch和Email收发的数据。(目前是10GB。)
用户存储数据将按照每GB每月收取0.15美元。很不理解这点,因为配额里并没有每月配额,而是每天都重新更新。如果是按30天×1G/天来算的话,我倒不担心超过这个配额。
通过GAE接收电子邮件,每天超过2000封,每封邮件将收取0.0001美元。
此外,数据库数据还可能在其他方面超出配额,例如index过大,以及模型的属性数目太多(保存index、属性的名字、实体的实体组和类型也需要空间)。之前应该是没计算这部分的,但以后要计算了,所以将数据库存储数据增大到了1GB。(按文档的说法,目前仍index的大小仍不算入配额。)
程序的存储空间也不再是500MB了:
每个文件不超过10MB。代码文件(目前只有py文件)总大小不超过150MB。静态文件没有总大小限制。代码文件和静态文件总数各不超过1000个。
也就是你可以有150MB的代码,以及1000个10MB的静态文件,相当于从500MB提升到10GB了!
(更新一下:现在代码和静态文件总大小也限制到150M了。)
对于免费配额是否够用,我觉得如果超过的话,弄成收费好像也行。假如投放Google广告,不知道能不能将广告的钱直接支付GAE的费用~
向下滚动可载入更多评论,或者点这里禁止自动加载。