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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南