Creating Security Groups in AWS
- Security group belongs to VPC
-
Security group allows to define inbound rules which are allow only
- Multiple security groups can be attached to ec2 (network interface)
Creating NSG in Azure
- Network security groups belong to a resource group and can be applied across different networks of same region in azure.
- Refer Here for official docs with screen shots
- Default Rules

- NSG can be applied to
- network interfaces
- subnets
