title: Alternative to AWS's Security groups in GCP?
body: <p>Is there an alternative to AWS's security groups in the Google Cloud Platform?</p>
  <p>Following is the situation which I have:</p>
  <ol>
  <li>A Basic Node.js server running in Cloud Run as a docker image.</li>
  <li>A Postgres SQL database at GCP.</li>
  <li>A Redis instance at GCP.</li>
  </ol>
  <p>What I want to do is make a 'security group' sort of so that my Postgres SQL DB and Redis instance can only be accessed from my Node.js server and nowhere else. I don't want them to be publically accessible via an IP.</p>
  <p>What we do in AWS is, that only services part of a security group can access each other.</p>
  <p>I'm not very sure but I guess in GCP I need to make use of Firewall rules (not sure at all).</p>
  <p>If I'm correct could someone please guide me as to how to go about this? And if I'm wrong could someone suggest the correct method?</p>