亚马逊AWS按使用量向客户计费
假设您在 aws 上有一个应用程序,并且您希望按照客户使用的每 GB 向客户收取存储费用。如果您使用自己的 aws 帐户(客户没有亚马逊 aws 帐户),有没有办法从亚马逊获取此信息或自行收集。
例如:月底花费了 10GB。必须充电。如何计算出 5 个客户各自的账单金额?
亚马逊可以提供这个信息吗?如果亚马逊不能提供这个,该怎么办? 关于存储/带宽和处理时间的同样问题。
基本上做亚马逊做的事情:P
即使这很困难,如何确保如果您每月销售 1GB 的软件包(存储示例),客户不会超过。有什么模式可以处理这个问题(如我可以使用的代码模式)?
suppose you have an app on aws and you want to charge for storage to clients for each gb they use. is there a way to get this info from amazon or collect it yourself if you are using your own aws account for this (clients have no amazon aws accounts).
for example: 10gb spent at the end of the month. have to charge it. how to figure out what to bill each of the 5 clients?
can amazon give this info? if amazon can't provide this, how to do it?
same question for storage / bandwidth and processing time.
basically do what amazon does :P
even if that is hard, how to ensure if you sell a package of 1gb / month (storage example) that the customer doesn't go over. any patterns for handling this (as in code patterns i can use)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Amazon 提供了一项我认为完全符合您要求的服务,称为“DevPay”,它能够跟踪用户 S3 使用情况并向其收费。
http://aws.amazon.com/devpay/
来自 DevPay 文档:
“Amazon DevPay 是一个简单的-使用在线计费和帐户管理服务,使企业可以轻松销售内置或在 Amazon Web Services 之上运行的应用程序。它旨在使开发人员更轻松地在云中运行应用程序。 “
如果您由于某种原因无法使用它,那么您就需要在应用程序中跟踪用户的使用情况......
Amazon provides a service that I think does exactly what you want called "DevPay" that has the ability to track and charge users S3 usage.
http://aws.amazon.com/devpay/
From the DevPay documentation:
"Amazon DevPay is a simple-to-use online billing and account management service that makes it easy for businesses to sell applications that are built in, or run on top of, Amazon Web Services. It is designed to make running applications in the cloud and on demand easier for developers."
If you can't use this for some reason then it's up to you track users usage within your application...