Define SLO policy which is applied to all cloud run instances

50 Views Asked by At

I stumbled upon SLOs for cloud run and find them very useful as it removes the reliance on third parties and the dependencies that come with them. My question is; is it possible to define SLO policies that are applied to all cloud run instances within a project? Similarly how you can define firewalls with tags for VMs?

1

There are 1 best solutions below

1
On

To answer your questions:

  • No, you cannot define a single SLO service for all your cloud run instance. You can only create multiple (500) SLOs for a service. Take a look at this documentation: Creating an SLO

  • Take a look at this documentation: Use Tags for firewalls. You have to:

  1. Grant Permissions to Tags

  2. Create the Tag keys and values

  3. Create a firewall policy rule with Tags

  4. Bind Tags to VM instances

  5. Use Tags across peered networks