日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

OOS服務關聯角色

本文為您介紹OOS服務關聯角色AliyunServiceRoleForOOSBandwidthScheduler、AliyunServiceRoleForOOSInstanceScheduler、AliyunServiceRoleForOOSExecutionDelivery、AliyunServiceRoleForOOSAppliactionManager的應用場景以及如何刪除服務關聯角色。

背景信息

OOS服務關聯角色

OOS為了完成某個執行任務時,需要獲取其他云服務的訪問權限而提供的RAM用戶。

AliyunServiceRoleForOOSExecutionDeliveryOOS為了完成執行記錄的投遞功能時,需要獲取其他云服務的訪問權限而提供的RAM用戶。

OOS應用管理服務關聯角色AliyunServiceRoleForOOSAppliactionManager是使用應用管理自動創建或刪除資源時,需要獲取其他云服務的訪問權限而提供的RAM用戶。更多關于服務關聯角色的信息請參見 服務關聯角色

應用場景

OOS完成如下運維任務需要訪問ECS的某些資源時,可通過OOS自動創建的服務關聯角色AliyunServiceRoleForOOSBandwidthScheduler或AliyunServiceRoleForOOSInstanceScheduler獲取訪問權限。

OOS的執行記錄投遞功能需要訪問日志服務對象存儲OSS云服務的資源時,可通過OOS自動創建的服務關聯角色AliyunServiceRoleForOOSExecutionDelivery獲取訪問權限。

當使用OOS應用管理自動創建或刪除云監控應用分組,需要訪問什么是云監控的資源時,可通過OOS自動創建的服務關聯角色AliyunServiceRoleForOOSAppliactionManager獲取訪問權限。

AliyunServiceRoleForOOSInstanceScheduler

執行定時開關機操作時,如果角色不存在,OOS會自動創建一個名稱為AliyunServiceRoleForOOSInstanceScheduler的服務關聯角色,并且該角色被授權的權限策略為AliyunServiceRoleForOOSInstanceSchedulerPolicy,OOS通過扮演該角色即可成功調用OpenAPI完成對實例的開機和關機。

權限說明:

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:StartInstance",
                "ecs:StopInstance",
                "ecs:DescribeInstances"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

AliyunServiceRoleForOOSBandwidthScheduler

執行帶寬臨時升級時,如果角色不存在,OOS會自動創建一個名稱為AliyunServiceRoleForOOSBandwidthScheduler的服務關聯角色,并且該角色被授權的權限策略為AliyunServiceRoleForOOSBandwidthSchedulerPolicy,OOS通過扮演該角色即可成功調用OpenAPI完成帶寬臨時升級。

權限說明:

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:ModifyInstanceNetworkSpec",
                "ecs:DescribeInstances"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

AliyunServiceRolePolicyForOOSPatchManager

當使用OOS補丁管理進行掃描或掃描并安裝補丁時,如果角色不存在,OOS會自動創建一個名稱為AliyunServiceRoleForOOSPatchManager的服務關聯角色,并且該角色被授權的權限策略為AliyunServiceRolePolicyForOOSPatchManager,OOS通過扮演該角色完成補丁掃描或安裝。

權限說明:

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:CreateSnapshot",
                "ecs:DescribeCloudAssistantStatus",
                "ecs:DescribeDisks",
                "ecs:DescribeInstances",
                "ecs:DescribeInvocationResults",
                "ecs:DescribeInvocations",
                "ecs:DescribeManagedInstances",
                "ecs:DescribeSnapshots",
                "ecs:RebootInstance",
                "ecs:RunCommand"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "ecd:CreateSnapshot",
                "ecd:DescribeCloudAssistantStatus",
                "ecd:DescribeDesktops",
                "ecd:DescribeInvocations",
                "ecd:DescribeSnapshots",
                "ecd:RebootDesktops",
                "ecd:RunCommand"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "oos:ListInstancePatchStates"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": "ram:DeleteServiceLinkedRole",
            "Resource": "*",
            "Effect": "Allow",
            "Condition": {
                "StringEquals": {
                    "ram:ServiceName": "patchmanager.oos.aliyuncs.com"
                }
            }
        }
    ]
}

AliyunServiceRoleForOOSExecutionDelivery

OOS執行記錄投遞功能需要訪問日志服務對象存儲OSS云服務的資源時,可通過自動創建的服務關聯角色AliyunServiceRoleForOOSExecutionDelivery獲取訪問權限。

權限說明:

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "oss:PutObject",
        "oss:GetBucketInfo",
        "log:GetProject",
        "log:GetLogStore",
        "log:CreateLogStore",
        "log:PostLogStoreLogs"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "executiondelivery.oos.aliyuncs.com"
        }
      }
    }
  ]
}

AliyunServiceRoleForOOSApplicationManager

當使用OOS自動創建或刪除云監控應用分組時,需要訪問什么是云監控的資源時,可通過OOS自動創建的服務關聯角色AliyunServiceRoleForOOSApplicationManager獲取訪問權限。

權限說明:

{
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "cms:CreateDynamicTagGroup",
                "cms:DescribeDynamicTagRuleList",
                "cms:DescribeMonitorGroups",
                "cms:DeleteDynamicTagGroup"
            ],
            "Resource": "*"
        },
        {
            "Action": "ram:DeleteServiceLinkedRole",
            "Resource": "*",
            "Effect": "Allow",
            "Condition": {
                "StringEquals": {
                    "ram:ServiceName": "applicationmanager.oos.aliyuncs.com"
                }
            }
        }
    ],
    "Version": "1"
}

AliyunServiceRoleForOOSSystemEventOperator

接受并授權執行系統事件操作時,如果角色不存在,OOS會自動創建一個名稱為 AliyunServiceRoleForOOSSystemEventOperator的服務關聯角色,并且該角色被授權的權限策略為 AliyunServiceRolePolicyForOOSSystemEventOperator,OOS通過扮演該角色即可成功調用OpenAPI完成接受并授權執行系統事件操作。

權限說明:

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:AcceptInquiredSystemEvent",
        "ecs:StopInstance",
        "ecs:DescribeInstances",
        "ecs:StartInstance"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "systemeventoperator.oos.aliyuncs.com"
        }
      }
    }
  ]
}

刪除服務關聯角色

如果您需要刪除服務關聯角色AliyunServiceRoleForOOSBandwidthScheduler、AliyunServiceRoleForOOSInstanceScheduler,需先取消依賴這個服務關聯角色的OOS執行。而刪除AliyunServiceRoleForOOSExecutionDelivery、AliyunServiceRoleForOOSAppliactionManager角色則可以直接刪除。

以下為刪除AliyunServiceRoleForOOSExecutionDelivery角色的示例:

說明

如果您使用了OOS執行投遞功能,出于安全考慮,需要刪除OOS服務關聯角色AliyunServiceRoleForOOSExecutionDelivery,則需要先明確刪除后的影響:當刪除AliyunServiceRoleForOOSExecutionDelivery后,當前賬號下的OOS執行記錄將無法投遞到OOSSLS中。

  1. 登錄RAM控制臺,在左側導航欄中單擊角色

  2. 角色頁面的搜索框中,輸入AliyunServiceRoleForOOSExecutionDelivery,自動搜索到名稱為AliyunServiceRoleForOOSExecutionDelivery的RAM角色。

  3. 在右側操作列,單擊刪除。

  4. 在刪除RAM角色對話框中,單擊確定。

5. 刪除服務關聯角色具體操作請參考刪除服務關聯角色文檔。

常見問題

為什么RAM用戶無法自動創建OOS服務關聯角色AliyunServiceRoleForOOSExecutionDelivery?

您需要擁有指定的權限,才能自動創建或刪除AliyunServiceRoleForOOSExecutionDelivery。因此,在RAM用戶無法自動創建AliyunServiceRoleForOOSExecutionDelivery時,您需為其添加以下權限策略。

{
    "Statement": [
        {
            "Action": [
                "ram:CreateServiceLinkedRole"
            ],
            "Resource": "acs:ram:*:主賬號ID:role/*",
            "Effect": "Allow",
            "Condition": {
                "StringEquals": {
                    "ram:ServiceName": [
                        "executiondelivery.oos.aliyuncs.com"
                    ]
                }
            }
        }
    ],
    "Version": "1"
}