How to create a firewall rule in GCP Cloud

+2 votes

Hi Guys,

I am new to GCP Cloud. I want to add one rule in my GCP instance. Can anyone tell me how can I create a firewall rule in GCP Cloud?

Aug 23, 2020 in GCP by akhtar
• 38,260 points
1,641 views

1 answer to this question.

0 votes

Hi@akhtar,

If you are using the default VPC network that comes with your Google Cloud (GCP) project, and you haven't changed or added any firewall rules for that network, then you don't need to create any firewall rules. But if you create your own firewall, then you can follow the below steps.

  • Click Create a firewall rule.

  • Enter a Name for the firewall rule. This name must be unique for the project.

  • Specify the Network in which you want to implement the firewall rule.

  • Specify the Priority of the rule.

  • Choose Ingress for Direction of traffic.

  • Choose to Allow for Action on a match.

  • For Protocols and ports, choose Specified protocols and ports

  • Click on create and your rule will be created.

answered Aug 23, 2020 by MD
• 95,460 points

Related Questions In GCP

0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 24, 2019 in GCP by Sirajul
• 59,230 points
2,714 views
0 votes
1 answer
0 votes
1 answer
+2 votes
1 answer

How to create a VPC in GCP Cloud?

Hi@akhtar, You can create a private network in ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,460 points
1,098 views
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
7,037 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
1,850 views
0 votes
1 answer

Cloud SQL of google cloud is IaaS or PaaS?

Cloud SQL is PAAS (Plaform As A ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
4,010 views
0 votes
1 answer

What all services does Google Cloud provide as a part of machine learning?

Here's a list of  Machine learning services that ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
2,062 views
0 votes
1 answer

How to update a firewall rule in GCP Cloud?

Hi@akhtar, You can create a rule that allows TCP ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,460 points
1,189 views
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
739 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP