The Simplest Way to Make F5 and Google Compute Engine Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running f5 and google compute engine together routes traffic to cloud apps. F5 checks incoming network requests and sends valid traffic to compute nodes. Teams use this pair to keep backend cloud servers safe from attacks. The edge tier handles load balancing and stops bad requests early. Then the cloud tier runs the core app workload on virtual machines. This split helps operations teams scale workloads up or down with ease. It also keeps traffic rules in one clear place for the team. How f5

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Running f5 and google compute engine together routes traffic to cloud apps. F5 checks incoming network requests and sends valid traffic to compute nodes.

Teams use this pair to keep backend cloud servers safe from attacks. The edge tier handles load balancing and stops bad requests early. Then the cloud tier runs the core app workload on virtual machines. This split helps operations teams scale workloads up or down with ease. It also keeps traffic rules in one clear place for the team.

How f5 and google compute engine share traffic and permissions

Traffic starts at the F5 appliance or virtual edition in the cloud. The appliance inspects the incoming packets and checks the TLS certificates. It then forwards clean traffic to a pool of backend cloud instances. Those instances run inside a private Google virtual network with strict rules.

To find new nodes, the edge system reads cloud tags and labels. You set up a dedicated Google service account for the F5 instance. This service account needs a small role that only reads instance lists. When auto scaling adds a new virtual machine, the edge tier sees it. It updates the server pool and starts sending traffic right away. When a node shuts down, the edge tier removes it from rotation. The two systems stay in sync through cloud API calls.

Fixing common role and network traps between the two tools

Many teams make mistakes when they set up these two tools. The biggest trap is giving the edge appliance a broad project role. If an attacker compromises the appliance, they can change your whole cloud. Always create a custom role that can only read compute instance states. Never use the default compute service account for your network appliances.

Another common issue comes from shared admin keys on the edge appliance. If five engineers use one root login, you cannot track their changes. When a bad rule breaks traffic, nobody knows who made the edit. Tie the edge appliance login to your central identity provider instead. That way each engineer logs in with their own personal work email.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Network paths between the tiers also need tight firewall rules in place. Do not open all ports between the appliance subnet and the app subnet. Only allow the exact ports that your backend app listens on. Put the edge network interfaces in a separate subnet from the workloads. Use cloud firewall tags to lock down traffic between these specific subnets. Log every admin login and every rule change in a central place. Also check that internal health checks do not expose private app data.

Keeping admin sessions and backend nodes safe

Day to day work requires engineers to log into both systems often. They check traffic graphs on the appliance and read logs on nodes. Using static SSH keys for these tasks creates a huge security risk. Keys end up on laptops and stay active after people leave teams.

Teams should remove static keys and limit direct network paths to instances. Every admin session should map to one real person on the team. When teams log commands and filter sensitive fields like emails, audits get easy. Masking rules can rewrite phone numbers or card numbers in query results. This approach keeps daily work fast while protecting your cloud network.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How does the F5 appliance find new Google Compute Engine nodes?

The appliance uses a cloud service account to read instance group lists. When nodes match a tag, the appliance adds their private IP addresses.

What permissions should the F5 service account have in Google Cloud?

Give the service account a read-only role for compute instances and networks. Avoid broad editor or owner roles that allow changes to cloud resources.

How should teams protect SSH logins to the appliance and backend nodes?

Block public SSH ports on both the edge appliance and backend nodes. Require engineers to log in through an identity provider with short sessions.

The query runs. The emails stay hidden.