An Amusingly Simple Guide to Crafting AWS Security Groups.

Ayush Ranjan
4 min readAug 21, 2023

--

Photo by Spenser H on Unsplash

We shall go over Security Groups and VPCs in AWS: Because who doesn’t love a good virtual private party with some strict bouncers?”

What is Security Groups?

A Security Group is like a protective shield for your services, working as a firewall to keep your machine secure. By regulating the open ports that allow incoming traffic, it ensures both the functionality and safety of your machine.

What is VPC (Virtual Private Cloud)?

The Amazon VPC Solution creates a networking architecture for your AWS Cloud configuration based on AWS’s best practices. It builds a virtual private network (VPC) with both public and private subnetworks.

A Security Group is like a superhero’s shield, protecting your Amazon EC2 instances and other AWS services from unwanted traffic within a VPC.

Amazon EC2 is a powerful web service that provides scalable computation capability in the cloud, making it easier for developers to create web-scale applications.

Inbound Rules act as the gatekeeper, allowing only specific types of traffic to access your resources, while Outbound Rules keep an eye on traffic leaving those resources.

In CIDR can allocate IP addresses and reroute Internet Protocol packets like a boss.

VPC is like a secret hideout for launching Amazon resources into a defined virtual network.

Protocols are like the rules of the game that devices must follow to communicate with each other effectively.

And just like a ship’s port, Ports on computers serve as communication endpoints for specific processes or services.

Step-by-Step Guide

Here is a step-by-step guide for creating IAM groups and users.

STEP 1: Signing into your AWS account.

STEP 2: Search for Security Groups in search bar.

You can see the Security Groups dashboard as below where you can find out Inbound Rules, Outbound Rules etc.

STEP 3: Click on Create Security Group button.

STEP 4: Write the name you want to give to your Security Group, description and the VPC for which you want to create the security group.

For adding Inbound Rules click on add rule and add the rules you want to add.

Source should be selected carefully in this, I have selected anywhere-IPV4 which is not suitable critical data.

Then click on Create Security Group.

Congratulations, you have successfully created a new Security Group.

Summary

In this blog I have broken down the process of creating these crucial shields for your cloud resources. Blog start with the basics, explaining what Security Groups are and why they matter. Then, Blog leads you through each step, using clear explanations and helpful screenshots. Plus, we’ve added a touch of humor to make learning fun. By the end, you’ll not only know how to make Security Groups but also understand why they’re essential for your cloud security.

--

--

Ayush Ranjan

Exploring cloud technology and making easy guides about it