Cloud Storage in GCP | Google Cloud Storage [GCS]
Storage Types in Google Cloud:
- Cloud Storage
- Persistent Disk
- Filestore
Google Cloud Database Store:
- Bigtable
- Firestore
- Cloud SQL
- Cloud Datastore
- Cloud Spanner
- Memory store
Cloud Storage:- Cloud Storage is a service for storing your objects in Google Cloud. An object is an immutable piece of data consisting a file of any size and format.
— You stores object in Containers Called Buckets.
— Ways to access/interact with Cloud Storage.
- Console
- gsutil
- Client libraries
- Rest APIs
Cloud Storage Classes:
- Standard Storage
- Nearline Storage
- Coldline Storage
- Archive Storage
Google Cloud Storage types and its Characteristics:
- Standard Storage
- Nearline Storage
- Coldline Storage
- Archive Storage
— A Storage classes is a piece of metadata that is used by every object.
— The storage class set for an object affects the object availability and pricing model.
— You can change the storage class of an existing object either by rewriting the object or by using object lifecycle management.
— When you create a Bucket, you can Specify a default Storage class for the Bucket. If you don’t specify, then default storage is standard.
All Storage Classes provides the following:-
- Unlimited storage with no minimum object size.
- Worldwide accessibility and Worldwide Storage Locations.
- Low Latency
- High Durability (99.99999999999)
- Geo redundancy, if the data is stored in a Multi-region or dual-region.
- A Uniform experience with Cloud Storage features, Security, Tools and APIs.
- Object written to cloud storage must be redundancy stored in at least two different availability zones before the write is acknowledged as Successful.
- Max size of an Object stored in Cloud Bucket is 5 TiB.
- There is a 100 ACL limit per object.
- A Multiple upload can have upto 10,000 parts. An individual part has a max size limit of 5 GiB. Object assembled from a multipart upload are subject to the overall 5TiB size limit.
1. Standard Storage:
— Standard storage is best for data that is frequently accessed (Hot Data) or shared for only brief periods of time.
— When used in a region, standard storage is appropriate for sharing data in the same location as GKE Clusters or Compute engine instances that use the data.
— Regional storage is redundant within a Region.
— When used in dual-region, improved availability.
— The used in multi-region, ideal for storing data that is accessed around the World, such as serving websites Content, Streaming Videos, executing interactive workloads or serving gaming data or apps.
— Multi-regional is Geo-redundant stored across 2 or more regions which are 500 miles apart.
Availability of standard storage data is:
Location type Availability SLA
Multi-region 99.95 %
Dual-region 99.95 %
Regional 90.90 %
2. Nearline Storage:
— Nearline storage is a low-cost, highly durable storage service for storing infrequently accessed data.
— Nearline storage is better choice then standard storage in scenarios where slightly lower availability, a 30-day minimum storage duration and cost for data access are acceptable trade-offs for lowered at-rest storage costs.
— Nearline storage is ideal for data you plan to read or modify on average once per month.
Availability of Nearline storage data is:
Location type Availability SLA
Multi-region 99.90 %
Dual-region 99.90 %
Regional 90.0 %
3. Coldline Storage:
— Coldline storage provides very low-cost highly Durable Storage services for storing infrequently accessed data (Cold data)
— Coldline storage is ideal for data you plan to read or modify at most once or quarter.
— Availability is same as Nearline.
4. Archive Storage:-
— Archive storage is the cheapest, highly durable storage service for data archiving, online backup and disaster recovery.
— Unlike the ‘Coldest’ storage service offered by other Cloud Providers, your data is available within milliseconds, not hours or days.
— Archive storage has higher Cost for data access, as well as 365 days min. Storage duration.
— Archive storage is the best choice for data that you plan to access less than once a year.
— Availability is same as Nearline or Coldline.
To maximum the availability of your data:
— Consider storing your data in a multi-region or dual-region bucket location if high availability is top requirements.
— All data is stored geo-redundantly in these locations, which means your data is stored in at least two Geographically separated regions. In the unliked event like region wide Outage, buckets in Geo-redundant locations remain available, with no need to change storage path.
— You cannot change Bucket location or Project after creation.
🙏 thanks
ConversionConversion EmoticonEmoticon