Does google have a firewall already enabled on their Google Cloud Compute Instances?

0 votes

To host a website with apache on GCP should I enable the UFW? or does google have a firewall already enabled on their Google Cloud Compute Instances?

Sep 27 in GCP by anonymous
• 3,250 points
37 views

1 answer to this question.

0 votes

In brief, yes, Google firewalls GCP instances use the Virtual personal Cloud (VPC) default firewall rules.

By default, the only externally originating traffic these rules allow is SSH to port 22, RDP to port 3389, and ICMP (ping). I

n particular, if you're running a web server, you're going to need to add a VPC firewall rule that allows inbound traffic on port 80 (for HTTP) and 443 (for HTTPS).

Note that this firewall is within the network between the web and your Google cipher Engine (GCE) instance; it's not software system running on your GCE instance.

It would most likely be prudent to alter a firewall like UFW on your GCE instance itself.

One reason for this is containment; if you start running two GCE instances on the same VPC, Google will freely allow traffic between them. This means if once of those instances is compromised, there would be no firewall between it and all of your other instances.

answered Sep 27 by Sirajul
• 29,340 points

Related Questions In GCP

+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9 in GCP by K sagar
114 views
0 votes
1 answer

Create a custom image of windows VM on Google Cloud.

Before you create the image, run GCESysprep ...READ MORE

answered Sep 24 in GCP by Sirajul
• 29,340 points
38 views
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
18 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
16 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 in GCP by Sirajul
• 29,340 points
13 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 in GCP by Sirajul
• 29,340 points
19 views