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

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.

主站蜘蛛池模板: 阿巴嘎旗| 崇明县| 阜新市| 延安市| 栾川县| 商南县| 龙井市| 邻水| 文安县| 漾濞| 舒城县| 平塘县| 英吉沙县| 临漳县| 报价| 塔河县| 辰溪县| 乃东县| 吉隆县| 岳普湖县| 武威市| 兴隆县| 治县。| 乡城县| 莱阳市| 双牌县| 湖口县| 金华市| 苏尼特左旗| 宁晋县| 昆明市| 北安市| 同心县| 南宁市| 公主岭市| 宾川县| 安阳县| 华安县| 甘泉县| 汉寿县| 大连市|