Skip to content
Go back

[Google Cloud] Cloud Storage

Published:  at  09:41 PM

Table of contents

Open Table of contents

Giới thiệu

CloudStorage.png

Cloud Storage - Objects and Buckets

Cloud Storage - Storage Classes

Cloud Storage - Uploading and Downloading Objects

Dưới đây là bảng so sánh các kịch bản Upload/Download Object trên Google Cloud Storage

OptionRecommended for Scenarios
Simple UploadSmall files (that can be re uploaded in case of failures) + NO object metadata
Multipart uploadSmall files (that can be re uploaded in case of failures) + object metadata
Resumable uploadLarger files. RECOMMENDED for most usecases(even for small files - costs one additional HTTP request)
Streaming transfersUpload an object of unknown size
Parallel composite uploadsFile divided up to 32 chunks and uploaded in parallel.Significantly faster if network and disk speed are not limiting factors.
Simple downloadDownloading objects to a destination
Streaming downloadDownloading data to a process
Sliced object downloadSlice and download large objects

Object Versioning

Object Lifecycle Management

Cloud Storage - Encryption

Cloud Storage - Scenarios

ScenarioDescription
How do you speed up large uploads (example: 100 GB) to Cloud Storage?Use Parallel composite uploads (File is broken in to small chunks and uploaded)
You want to permanently store application logs for regulatory reasons. You don’t expect to access them at all.Cloud storage - Archive
Log files stored in Cloud storage. You expect to access them once in quarter.Cold Line
How do you change storage class of an existing bucket in Cloud Storage?Step 1: Change Default Storage Class of the bucket. Step 2: Update the Storage Class of the objects in the bucket.

Hướng dẫn sử dụng

Cloud Storage - Command Line - gsutil - 1

Cloud Storage - Command Line - gsutil - 2


Suggest Changes

Previous Post
[Google Cloud] Persistent Disk
Next Post
[Google Cloud] Hybrid Network & Multi-Cloud