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

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.

主站蜘蛛池模板: 拜泉县| 宁晋县| 通河县| 龙州县| 太康县| 财经| 怀集县| 栾川县| 凉山| 德昌县| 宁海县| 衡山县| 旬邑县| 龙里县| 湖南省| 阿拉善左旗| 贺州市| 秦安县| 延川县| 长汀县| 苍溪县| 建德市| 浦北县| 潼南县| 墨江| 安化县| 霞浦县| 呈贡县| 邵阳市| 克东县| 龙里县| 普兰店市| 卢湾区| 凤台县| 多伦县| 交口县| 织金县| 康平县| 玉田县| 西吉县| 南投县|