我试图在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服务器设置为管理用户,而不是我的用户帐户。
发布于 2020-04-21 04:59:50
您是正确的,对于访问没有托管策略。
您需要创建自己的内联策略来授予访问权限。
若要授予完全权限,请使用:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"lightsail:*"
],
"Resource": "*"
}
]
}
有关详细说明,请参见:为IAM用户管理对Amazon的访问
https://stackoverflow.com/questions/61331983
复制相似问题