“ I have checked the documents of AWS for deep dive into default and custom aws security groups. AWS security groups make it easy for traffic control between AWS resources and others. In terms of cost, the solution is cheaper and secure.”
AWS Security Groups act as a virtual firewall for cloud resources (like AWS EC2 instances) or network traffic, controlling inbound and outbound traffic through defined rules. It operates at the instance level rather than the subnet level, allowing only permitted traffic, and is stateful, meaning return traffic is automatically allowed.
In this post, you will experience the deep dive into default and custom aws security groups. Here I have a default security group created, a custom security group which I can create manually or through automation and a new security group creation from an existing security group.
Architecture Overview

The architecture diagram shows the overall deployment architecture with data flow, security group, ec2, vpc and aws services.
Solution Overview
The blog post consists of the following phases:
- Updation of Default Security Group for Inbound Rule and Outbound Rule
- Creation of New Security Group in Security Groups Console
- Creation of New Security Group Using Existing Security Group
- Deletion of Manually Created Security Group and Not the Default Security Group
Phase 1: Updation of Default Security Group for Inbound Rule and Outbound Rule
- Open the Security Groups console, verify the security group created with the default name. Check the default security group rule tabs for inbound rule, outbound rule, sharing and vpc associations. You can edit the inbound rule and outbound rule as per requirement.
Phase 2: Creation of New Security Group in Security Groups Console
Phase 3: Creation of New Security Group Using Existing Security Group
Phase 4: Deletion of Manually Created Security Group and Not the Default Security Group
Clean-up
Security Groups.
Pricing
I review the pricing and estimated cost of this example.
Cost of Security Groups = $0.00
Total Cost = $0.00
Summary
In this post, I showed “deep dive into default and custom aws security groups”.
For more details on Security Groups, Checkout Get started Security Groups, open the Security Groups console. To learn more, read the Security Groups documentation.
Thanks for reading!
Connect with me: Linkedin





















Top comments (0)