Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplace GCP firewall implementation with firecloud/cloud datastore #194
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GCP does not have a direct analogue to firewalls/security group. A firewall resource in GCP is closer to a firewall rule in other providers. Therefore, the current implementation simulates groups of rules by a complicated procedure of tagging.
However, this complicates the code greatly, and has a significant impact on performance, since firewall rules must be repeatedly queried and grouped by tag to reconstruct a firewall. Therefore, an option is to use Firestore database as a simple means of storing the firewall -> firewall rule associations, so they can be queried faster. This will reduce complexity and result in improved performance.