How to Create Firewall on Amazon Web Services(AWS).

AWS Network Firewall is a managed service that makes it easy to deploy essential network protections for all of your Amazon Virtual Private Clouds (VPCs). The service can be setup with just a few clicks and scales automatically with your network traffic, so you don’t have to worry about deploying and managing any infrastructure.

AWS Network Firewall’s flexible rules engine lets you define firewall rules that give you fine-grained control over network traffic, such as blocking outbound Server Message Block (SMB) requests to prevent the spread of malicious activity.


  • Login to aws portal.
  • Click on Services.


Fig 1


  • Under Networking & Content Delivery select VPC.


Fig 2


  • Click on Firewalls.


Fig. 3



  • Click on Create Firewall.


Fig. 4


  • Provide the firewall name.
  • Select existing VPC.


Fig. 6



Fig. 7


  • Provide the key name & value for firewall.
  • Click on Create Firewall.


Fig. 7


  • After sometime firewall is ready.


Fig. 8


Create Firewall using Shell

create-firewall –firewall-name firewall-name –firewall-policy-arn firewall-policy-arn –vpc-id vpc-id –subnet-mappings subnet-id


Leave a Reply