Whitelisting an IP address in AWS EC2 Security Groups allows specific devices or networks to access your AWS resources securely. Follow the steps below to ensure your IP address is properly whitelisted.

Steps to Whitelist Your IP Address

  1. Log in to the AWS Management Console

  2. Locate the Security Group

    • Find the security group with the ID: sg-020ce9325453a43dc.
  3. Edit Inbound Rules

    • Select the security group and choose the option to edit inbound rules.
    • Click on "Add Rule" to create a new rule.
  4. Add Your IP Address

    • Set the Type (e.g., SSH, HTTP, Custom TCP, etc.) according to your use case.
    • In the "Source" field, enter your public IP address (e.g., 203.0.113.5/32 for a single IP).
    • Optionally, add a description for clarity.
  5. Save the Changes

    • Click "Save rules" to apply the changes.
    • Your IP address is now whitelisted and has access as defined by the rule.

Example Screenshot

Screenshot 2026-03-25 at 12.16.48 PM.png

Tips

  • Always use /32 at the end of your IP address to specify a single IP.
  • Only whitelist trusted IP addresses to maintain the security of your AWS resources.

For more information, visit the AWS EC2 Security Group documentation.