IDC

GWS 服务关联角色 - 弹性云桌面

作者:admin 2021-09-18 我要评论

本文为您介绍云桌面(原名图形工作站,GWS)服务关联角色(AliyunServiceRoleForGws)的应用场景以及如何删除服务关联角色。 背景信息 用于云桌面(原名图形工作...

在说正事之前,我要推荐一个福利:你还在原价购买阿里云、腾讯云、华为云服务器吗?那太亏啦!来这里,新购、升级、续费都打折,能够为您省60%的钱呢!2核4G企业级云服务器低至69元/年,点击进去看看吧>>>)

本文为您介绍云桌面(原名图形工作站,GWS)服务关联角色(AliyunServiceRoleForGws)的应用场景以及如何删除服务关联角色。

背景信息

用于云桌面(原名图形工作站,GWS)的服务关联角色(AliyunServiceRoleForGws),是为了访问您在其他云产品中的资源。更多信息请参考服务关联角色

应用场景

GWS 的创建 / 停止 / 启动实例、创建 / 删除镜像等功能,需要通过访问 ECS / VPC 等云产品来实现。AliyunServiceRoleForGws 介绍

角色名称:AliyunServiceRoleForGws

角色权限策略:AliyunServiceRolePolicyForGws

权限说明:

{
  "Version": "1",
  "Statement": [
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "gws.aliyuncs.com"
        }
      }
    },
    {
      "Action": "acm:DescribePrice",
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "ecs:StopInstance",
        "ecs:CreateInstance",
        "ecs:DeleteInstance",
        "ecs:StartInstance",
        "ecs:RebootInstance",
        "ecs:DescribeInstances",
        "ecs:DescribeInstanceAttribute",
        "ecs:CreateImage",
        "ecs:DeleteImage",
        "ecs:DescribeImages",
        "ecs:ModifyImageAttribute",
        "ecs:AllocatePublicIpAddress",
        "ecs:DescribeZones",
        "ecs:DescribeAvailableResource",
        "ecs:DescribeSecurityGroups",
        "ecs:CreateSecurityGroup",
        "ecs:AuthorizeSecurityGroup",
        "ecs:RevokeSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:DescribeUserData",
        "ecs:TagResources",
        "ecs:ModifyInstanceAttribute",
        "ecs:ModifyInstanceVncPasswd",
        "ecs:RunCommand",
        "ecs:DescribeInvocationResults",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:RevokeSecurityGroupEgress"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:CreateVSwitch",
        "vpc:CreateVpc",
        "vpc:DescribeVpcs",
        "vpc:DescribeVSwitches",
        "vpc:CreateNatGateway",
        "vpc:DeleteNatGateway",
        "vpc:DescribeNatGateways",
        "vpc:CreateForwardEntry",
        "vpc:DeleteForwardEntry",
        "vpc:DescribeForwardTableEntries",
        "vpc:ModifyForwardEntry"

      ],
      "Resource": "*",
      "Effect": "Allow"
    }
  ]
}

删除服务关联角色

如果您需要删除 AliyunServiceRoleForGws(服务关联角色),需要先释放依赖这个服务关联角色的云桌面集群。

版权声明:本文转载自网络,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本站转载出于传播更多优秀技术知识之目的,如有侵权请联系QQ/微信:153890879删除

相关文章
  • GWS 服务关联角色 - 弹性云桌面

    GWS 服务关联角色 - 弹性云桌面

  • 容器服务 事件类 - 常见问题

    容器服务 事件类 - 常见问题

  • HTTP重定向至HTTPS_弹性负载均衡 ELB_

    HTTP重定向至HTTPS_弹性负载均衡 ELB_

  • 容器服务 远程终端类 - 常见问题

    容器服务 远程终端类 - 常见问题

腾讯云代理商
精彩导读
海外云服务器
热门资讯
腾讯云代理商