由于看了几个VPS都是空间比较小,所以开始考虑是否用第三方存储来放置一些数据。
其实在国外有很多类似的工具,比如dropbox,sugarsync,但这些其实在命令行下用起来都不太方便或者说用PHP调用,所以还是考虑了一些S3或者googlestorage之类的存储。
google有一些现成的工具:https://developers.google.com/storage
Google Cloud Storage is a new service for developers to store and access data in Google's cloud. It offers developers direct access to Google's scalable storage and networking infrastructure as well as powerful authentication and data sharing mechanisms. Developers can store objects of any size and manage access to their data on an individual or group basis using Google Cloud Storage.
Google Cloud Storage is accessible through its REST API or using any of the available Google Cloud Storage tools, including:
- Google Storage Manager - A graphical user interface with drag-and-drop features to manage your buckets and objects.
- GSUtil - A command line tool that lets you perform basic and advanced tasks for Google Cloud Storage.
S3的话,会相对比较资料更多一点,毕竟还是老牌供应商,这里有一篇详细教程:http://www.xieyidian.com/2665,图文并茂,在这里还有文中所提到的计算器:在线计算器
现在还在犹豫,因为毕竟我对这些都不熟,英文也烂,不知道怎么搞比较好,纠结啊。
-------
所以,本文只是备份资料,下次用的时候可以直接找到它