An AWS CLI tutorial that demonstrates Ec2 operations.
bash ec2-security-groups.shTo auto-run with cleanup:
echo 'y' | bash ec2-security-groups.sh- Creating security group: $SG_NAME
- Adding inbound rules
- Describing rules
- Adding a tag
- Listing security groups
- Security Group
- Tags
The script prompts you to clean up resources when it finishes.
Free tier eligible for most operations. Clean up resources after use to avoid charges.