Join Joseph Lowery for an in-depth discussion in this video Overview of Google Cloud Storage, part of Learning Google Cloud Platform (2013).
As far as most consumers are concerned, and that's pretty much everyone, storing your digital items was one of the main first uses of the Cloud. It's still big business today and getting bigger, and that's our cue to start talking about Google Cloud Storage. All of the personal cloud storage companies like Dropbox, iCloud, SkyDrive, even Google Drive all have limits. Google Cloud Storage does not. As of this recording, you can upload an unlimited number of files of an unlimited file size to Google Cloud Storage.
Of course, Cloud Storage uses Google's own infrastructure. And that not only means infinite storage and high security, but also very fast retrieval from data centers around the globe. What are the primary uses for Google Cloud Storage? Well, besides the digital storage and its partner retrieval, there is secure sharing. Google Cloud Storage supports access control lists or ACLs with full OAuth 2.0 Authentication, so that you can be sure your data is only shared with those with whom you want it to be shared. Once your massive amount of data is stored, it can quickly be analyzed with Cloud Storage's integrated partner BigQuery.
And if your online game or app calls for the use of large assets, you've got complete integration with Google Cloud's App Engine. Moreover, you can also use cloud storage to serve your static web content. There are many paths to accessing Cloud Storage. First off, there is the Google Cloud Storage Manager, a web based interface that we'll explore later in this chapter. You also have the standard HTTP protocol access that supports standard file transfer commands like Get, Put, and Post.
For programmatic transfers, there's a REST or representational state transfer interface. And finally, Cloud Storage has its own command line interface written in Python called gsutil. Cloud Storage is highly structured, like other Google Cloud platform components, it's project based. Within projects major divisions or containers are called buckets, and what's in those buckets? Objects. We've looked at projects in earlier chapters on App Engine and BigQuery, so let's focus on buckets. A bucket is the main storage container in Google Cloud Storage. Buckets provide access level control and are project specific. In other words, you can't share buckets from one project to the next. Moreover, you cannot nest buckets, they're not like Russian dolls. An object, in Cloud Storage parlance, refers to the content. Objects are bucket specific and cannot be shared between buckets. An object comes in two parts, the object itself and the objects metadata, which is a series of name value pairs that describe the object. Objects are verified after upload and if they're able to be read, immediately available.
It works the same way on delete, once removed, they're gone. Cloud storage supports browser-authenticated uploading and downloading with the ability to pause and resume. In case of communication failure or other problems, the uploading and downloading will resume automatically. You can also create a user-controlled pause/resume feature with the XML API. Google Cloud Storage is a very robust feature to store and retrieve the ever expanding digital assets for your games, applications, and sites.
- Why Google Cloud Platform?
- Deploying an app with Google App Engine
- Activating and working with Google Cloud Storage
- Loading, querying, and exporting data with BigQuery
- Working with Cloud Storage buckets
- Managing cloud-based private networks
- Importing and exporting data
- Scheduling backups
- Working with Google Datastore