【问题标题】:Can't find AWS Lightsail permissions policy for my IAM user找不到我的 IAM 用户的 AWS Lightsail 权限策略
【发布时间】:2020-08-03 12:25:21
【问题描述】:

我正在尝试在 AWS 上设置 Lightsail 以运行 Wordpress 安装。

当我尝试使用我的“用户”帐户进入时,我收到此错误:

https://lightsail.aws.amazon.com/ls/error/access-denied

There might be a problem.
It looks like you aren't authorized.

If you're signed in as an IAM user, ask your administrator to create a permissions policy that grants access to Amazon Lightsail resources and related AWS services.

但是当我使用我的管理员用户帐户登录时,我在权限策略列表中看不到任何 Lightsail 策略。

在哪里可以启用正确的策略?目前我只能将我的 Lightsail 服务器设置为管理员用户,而不能使用我的用户帐户。

【问题讨论】:

    标签: amazon-web-services amazon-lightsail


    【解决方案1】:

    您是对的,没有针对 Amazon Lisghtsail 访问的托管策略。

    您需要创建自己的内联政策来授予访问权限。

    要授予完全权限,请使用:

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": [
                    "lightsail:*"
                ],
                "Resource": "*"
            }
        ]
    }
    

    有关完整说明,请参阅:Managing access to Amazon Lightsail for an IAM user | Lightsail Documentation

    【讨论】:

      猜你喜欢
      • 2019-04-18
      • 2017-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-13
      • 2019-02-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多