Please enable JavaScript.
Coggle requires JavaScript to display documents.
GCP_Storage, Compare, Compare - Coggle Diagram
GCP_Storage
Object Storage
Transferring data to CS
-
gcutil vs STS
-
more than 1 TB, transferring from separate cloud
-
-
-
-
GCP - Cloud Storage
bucket
Storage class
Standart - short term storage or frequently accessed, none - min storage duration
Nearline - best for backups, and data accessed less than once a month, min 30 days
Coldline - disaster recovery and access less than once per quarter, min 90 day
Archive - less that once a year, min - year,
Availability is bigger for Standart and less for Archive, none - min duration
-
-
Observations
-
-
-
store large objects as a key-value approach, threats objects as a units
-
-
-
-
-
provide rest API access to file. CLI, programmatic connetctio
-
max object 5 TB, but we can store any amount of it
low latency, first bytes within 10 milliseconds
-
-
Object
Encryption
Server side
-
Customer suppliers - supply key for any operation, but bucket doesn't store the key
-
Client side - do before upload, GCP is not involved here
Life cycle management
identify objects by set of parameters: age, created time... - can be set
-
-
Versioning
-
live object - current object, once we delete it - it is "non-current object"
-
-
-
has metadata
-
non-editable: size, last mod, encryption type
fixed key - predefined by GCP, like content type, cache-controll, content-disposition(download or show in browser)
-
-
-
ACL vs IAM vs Sign URL
ACL - object level control, need to set Who and What Level to the single object (fine-grained)
-
-
Best practises
ramp up request carefully - after 5K requests, need to take 20 minutes to double reqeusts
use exponential backoff in case of 5XX or 429, to avoid DDOS the server
-
-
-
-
-
-
Block storage
-
-
GCP
Persistent disc
-
-
network storage, more durable
attached to VM, can be re-attach to another machine
very flexible: can increase size, still high performance
-
-
-
Scenarios
-
-
Improve perf - increase size or add more Persis. Disks(PD), increases vCPU
-
Attache to running VM: attach, format, mount
Resize: In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.
-
Images
-
-
Mashine Images - put to persistence disk the Image of mashine with OS - copy all. IT also copy ALL attached Persistance disks
-
-
-
-
-
-