官术网_书友最值得收藏!

Sharing a persistent disk between multiple instances

You can also share a non-bootable persistent disk between multiple VM instances with a condition that it remains read-only in all of them. This occupies less overall storage in a multi-instance application and also saves the replication exercise. It also reduces billing since we use less storage. To do so, use the instances attach-disk command with gcloud and provide an instance name as well as a disk name:

gcloud compute instances attach-disk test-instance --disk sdb --mode ro  

Repeat this operation for each attachment.

主站蜘蛛池模板: 苏尼特右旗| 隆德县| 乳山市| 四川省| 临潭县| 武山县| 灵武市| 临沧市| 黄龙县| 綦江县| 沭阳县| 盘山县| 共和县| 百色市| 张家港市| 彰武县| 龙口市| 四平市| 吐鲁番市| 蓬安县| 高邮市| 班玛县| 海城市| 蕉岭县| 馆陶县| 大邑县| 奇台县| 厦门市| 赤壁市| 错那县| 通州区| 囊谦县| 吴桥县| 休宁县| 长葛市| 临桂县| 儋州市| 平利县| 海兴县| 高尔夫| 张家口市|