Networking & CDN · Instance-level firewall rules

Security groups vs Network security groups (NSG) vs VPC firewall rules

Instance-level firewall rules, side by side on AWS, Azure and Google Cloud. They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.

Networking & CDN

Instance-level firewall rules

Close match

AWS

Security groups
Network ACLs

Azure

Network security groups (NSG)

Google Cloud

VPC firewall rules

What's different

AWS security groups are stateful and allow-only. Azure NSGs and Google rules support allow and deny with priorities.

Quick answers

What is the Azure equivalent of Security groups?
The Azure equivalent of Security groups is Network security groups (NSG). They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.
What is the Google Cloud equivalent of Security groups?
The Google Cloud equivalent of Security groups is VPC firewall rules. They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.
What is the AWS equivalent of Network security groups?
The AWS equivalent of Network security groups is Security groups and Network ACLs. They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.
What is the Google Cloud equivalent of Network security groups?
The Google Cloud equivalent of Network security groups is VPC firewall rules. They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.
What is the AWS equivalent of VPC firewall rules?
The AWS equivalent of VPC firewall rules is Security groups and Network ACLs. They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.
What is the Azure equivalent of VPC firewall rules?
The Azure equivalent of VPC firewall rules is Network security groups (NSG). They do the same job, but differ in features, limits or pricing, so check the notes below before migrating.