Using Cloud Storage
1. Using Cloud Storage
Objects in GKE are groups of bytes, and Cloud Storage is an object storage service that can store those bytes. The structure and semantics, however, are determined by the application. Cloud Storage is commonly used for media hosting, such as serving images for a website or streaming music and videos. For example, a mobile app deployed on GKE might need to access images from Cloud Storage buckets. Cloud Storage can also be used as a data lake for analytics and machine learning workloads, such as genomics and data analytics. Cloud Storage can store unstructured and structured files and data, but it is not optimized for querying. It’s also not designed to be a file system, so it doesn’t replace Persistent Volumes. There are four primary storage classes in Cloud Storage. The first is Standard Storage. Standard Storage is considered best for frequently accessed, or “hot,” data. It’s also great for data that’s stored for only brief periods of time. The second storage class is Nearline Storage. This is best for storing infrequently accessed data, like reading or modifying data on average once a month or less. Examples might include data backups, long-tail multimedia content, or data archiving. The third storage class is Coldline Storage. This is also a low-cost option for storing infrequently accessed data. However, compared to Nearline Storage, Coldline Storage is intended for reading or modifying data, at most, once every 90 days. And the fourth storage class is Archive Storage. This is the lowest-cost option, used ideally for data archiving, online backup, and disaster recovery. It’s the best choice for data that you plan to access less than once a year, because it has higher costs for data access and operations and a 365-day minimum storage duration. Cloud Storage offers robust access control features to protect your data. Before it’s written to disk and stored, your data is encrypted on the server-side with either customer-supplied or customer-managed encryption keys. Cloud Storage can also be integrated with Pub/Sub, a fully-managed real-time messaging service, to notify applications whenever changes are made to a Cloud Storage bucket. And you can also enable versioning for Cloud Storage. After Google Cloud APIs are turned on for your applications, they can be used to access Cloud Storage. Please note that your application will need to use a service account to access the service you want to use. Cloud Storage ensures any data written is instantly available for reading. This is ideal for Kubernetes applications where different Pods need to quickly and reliably share information.2. Let's practice!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.