How to remove a rule from the security group in GCP

0 votes

Hi Guys,

I have one security group in GCP. Inside this group, some rules are created. Now I want to remove one rule. How can I do that with the command line?

Nov 9, 2020 in GCP by akhtar
• 38,170 points
120 views

1 answer to this question.

0 votes

Hi@akhtar,

You can remove one or more rules from your security group. The following command can be used for the same.

$ gcloud compute firewall-rules delete name
answered Nov 9, 2020 by MD
• 95,180 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How to create a new project in GCP using the command line?

Hi@akhtar, You need to configure GCP SDK in ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,180 points
86 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,180 points
170 views
0 votes
1 answer

How to create a custom role from a YAML file in GCP?

Hi@akhtar, You can create an IAM role in ...READ MORE

answered Nov 10, 2020 in GCP by MD
• 95,180 points
107 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 22, 2020 in GCP by MD
• 95,180 points
111 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

Hi@MD, You can follow the below steps to ...READ MORE

answered Aug 22, 2020 in GCP by akhtar
• 38,170 points
155 views
+2 votes
1 answer

How to list down all the projects in GCP Cloud?

Hi@akhtar, GCP Shell has a command named gcloud. ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,180 points
161 views
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,180 points
172 views
0 votes
1 answer

How to authenticate with the correct account in GCP from Command Line?

Hi@akhtar, You can check your accounts from the ...READ MORE

answered Sep 24, 2020 in GCP by MD
• 95,180 points
79 views