Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 1000 Bytes

File metadata and controls

31 lines (16 loc) · 1000 Bytes

Ec2 Security Groups

Prerequisites

  1. AWS CLI installed and configured (aws configure)
  2. Appropriate IAM permissions for the AWS services used

Step 1: Creating security group: $SG_NAME

The script handles this step automatically. See ec2-security-groups.sh for the exact CLI commands.

Step 2: Adding inbound rules

The script handles this step automatically. See ec2-security-groups.sh for the exact CLI commands.

Step 3: Describing rules

The script handles this step automatically. See ec2-security-groups.sh for the exact CLI commands.

Step 4: Adding a tag

The script handles this step automatically. See ec2-security-groups.sh for the exact CLI commands.

Step 5: Listing security groups

The script handles this step automatically. See ec2-security-groups.sh for the exact CLI commands.

Cleanup

The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.