Cloud9 permission issue

when run ```
source scripts/setup.sh

An error occurred (InvalidPermission.Duplicate) when calling the AuthorizeSecurityGroupIngress operation: the specified rule "peer: 0.0.0.0/0, TCP, from port: 8888, to port: 8888, ALLOW" already exists
Security group modified properly: 
Last metadata expiration check: 0:08:25 ago on Fri Jan 10 12:38:24 2025.
Package dnf-utils-4.3.0-13.amzn2023.0.5.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Hello @EstherHuang666
Seems like you had already run the source scripts/setup.sh once before since it’s saying that the package was already installed, right? If so, the log is not showing any errors. it’s just saying that the rule was already added and the packages where already installed. You should be able to continue with the lab.

You’re trying to add a security group rule that already exists, which is why you’re getting that error. You can check your security group settings in the AWS console to confirm if the rule for port 8888 is there. If it is, you can skip that step in your setup. If you need to modify it, consider removing the existing rule first.

1 Like

Thanks for your help! all good now.

Thanks for your help! Cheers!