Load Balancer: no rule option?

0

Hi guys,

I can't seem to find where to create a rule for a load balancer. According to the docs there should be a link "View/edit rules" on the balancer listener, but it's not there.

I tried creating various types of load balancers and target groups, but I never saw a way to add rules anywhere. Any idea?

Enter image description here

已提问 2 年前267 查看次数
3 回答
2
已接受的回答

Hello,

You have created Network Load Balancer, create/edit rule options are available only for Application Load balancer . Please refer this doc

AWS
已回答 2 年前
profile pictureAWS
专家
已审核 2 年前
  • That was it! I thought I had tried with an ALB, but it seems I actually didn't. Thank you!

2

Hello,

This is likely IAM permissions issue, see below from the documentation. Once the permissions issue is sorted you should see 'View/edit rules' under 'Default Action' column.


By default, IAM users don't have permission to create, view, or modify AWS resources. To allow an IAM user to access resources such as a load balancer, and to perform tasks, you:

  • Create an IAM policy that grants the IAM user permission to use the specific resources and API actions they need.
  • Attach the policy to the IAM user or the group that the IAM user belongs to.

When you attach a policy to a user or group of users, it allows or denies the users permission to perform the specified tasks on the specified resources.

Edit:

Please note NLB and GWLB do not have the 'View/edit rules' option, it is only supported with ALB.

profile pictureAWS
专家
已回答 2 年前
profile pictureAWS
专家
已审核 2 年前
0

Thank you for your answer @Tushar_J! I'm logged in with the root user though, isn't it supposed to have unrestricted access to everything?

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则