Using Console
Using CLI
YOUR_SECURITY_GROUP_ID
: The ID of the Security Group associated with the MQ Rabbit instance.YOUR_PORT_NUMBER
: The port number used by MQ Rabbit.YOUR_CIDR_IP_RANGE
: The CIDR IP range that should be allowed to access the MQ Rabbit instance.describe-security-groups
command again to ensure that the deployment mode misconfiguration has been remediated.
Using Python
'YOUR_SECURITY_GROUP_ID'
in the script with the actual Security Group ID that needs to be remediated.Step 4: Run the Python script
Save the script to a file (e.g., remediate_security_group.py
) and run it using Python: