在Google Cloud VM实例上启用存储权限

编程入门 行业动态 更新时间:2024-10-09 07:25:52
本文介绍了在Google Cloud VM实例上启用存储权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个Google Cloud VM实例,但是我在创建它时忽略了将存储权限设置为读写。

现在,希望试用云存储,但我的实例是只读的。

这怎么改变?我知道放松存储桶政策可能是可能的,但我更希望我的实例可以访问所有未来的项目桶。

我认为有一个选项在gcloud中更改devstorage参数?

解决方案

不幸的是,您无法更改虚拟机的范围。您必须创建一个新的才能更改它们。

当您创建新磁盘时,您可以重新使用旧虚拟机的磁盘,如果这有助于避免这种痛苦。

I have a Google Cloud VM instance, but I overlooked setting the Storage permission to read-write when creating it.

Now further down the line, I'm looking to experiment with cloud storage, but my instance is read-only.

How can this be changed? I understand it may be possible by relaxing the storage buckets policy, but I'd prefer my instance had write access to all future project buckets.

I presume there is an option in gcloud to change the devstorage parameter?

解决方案

Unfortunately you can't change the scopes of the VM. You will have to create a new one to change them.

When you create a new one you can reuse the disk of the old VM, if that helps avoid the pain.

更多推荐

在Google Cloud VM实例上启用存储权限

本文发布于:2023-11-24 11:58:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1625112.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:实例   权限   Google   Cloud   VM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!