DEV Community

Fenil Patel
Fenil Patel

Posted on • Edited on

AWS Security group in VPC

Security Group [ SG ] in AWS

Security Group is use for allowing network Traffic

Security group is also called as Virtual Firewall because it works as same as firewall

Security group configure using Ip address , Security Group Id , DNS , Port numbers , protocols .

Security groups are stateful means traffic which allow inside that's directly allow for outgoing

Filtering traffic network to access the resource

It's apply on the Ec2 Instance for filtering the traffic

*There are 2 types of Traffic *

Image description

*1. Inbound Traffic or Inbound Rules *

  • The Traffic that come inside your Application is called inbound traffic , It's majorly users that try to access your application .

  • It's also the specific traffic to reach your application.
    it includes Protocols [ TCP , UDP ] ,Port numbers , IP address

  • Where traffic is allowed to reach Ec2 Instance

*2. Outbound Traffic or Outbound Rules *

  • The Traffic that come outside from your application is called outbound traffic ,

Here's Example of Inbound and outbound Traffic

Image description

  • Controlling the traffic leaving by the app

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more