- Newest
- Most votes
- Most comments
The error you're encountering suggests that you may already have a rule in place in your security group that allows all inbound traffic from any IPv4 address (0.0.0.0/0).
Here are some steps to troubleshoot this issue:
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- In the navigation pane, choose "Security Groups" under "Network & Security".
- Select your security group.
- In the details pane, choose the "Inbound rules" tab.
Check if there's already an existing rule that allows all traffic (All TCP, All UDP, and All ICMP - IPv4) from 0.0.0.0/0. If there's already such a rule, you cannot add another one with the same properties.
If the error persists, please double-check your rules configuration or consider contacting AWS Support.
If the answer is helpful, please click "Accept Answer" and upvote it.
Hi - Is this existing rule external to any infrastructure as a code , or does it exist in your configuration already? It seems the configuration was added (Please check) by default when the security group is created. Please check and remove the rule in any of your configuration file.
Relevant content
- AWS OFFICIALUpdated 10 months ago