Compute thường được sử dụng như thế nào ?

1. Di chuyển Compute từ Zone này sang zone khác:




Cách 1: Sử dụng dòng lệnh từ gcloud cung cấp -> ez =))
Cách 2: Tạo một bản snapshot sau đó tạo một VM ở zone mới với bản snapshot đã được tạo trước đó.

Đoạn này chưa dịch được:
However, I recommend freezing or unmounting the file system before you take a snapshot. This is the safest and most reliable way to ensure that your disk buffers are cleared which improves snapshot consistency. Specifically, when connected to your instance using SSH, stop any applications that are reading or writing data to the persistent disk and either freeze a file system or unmount the file system. To freeze, use the command, sudo fsfreeze and to unmount, use sudo unmount as shown on the slide. Another common compute action is to resize your persistent disk. The main benefit of increasing storage capacity is to improve I/O performance as illustrated in this table. This can be achieved while the disk is attached to a running VM without having to create a snapshot. Now, while you can grow disks in size, you can never shrink them, so do keep this in mind.

Đăng nhận xét

0 Nhận xét