Softwr

Cloud · head to head

Google Cloud Run vs OPNsense

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
OPNsense logo

OPNsense

Networking

FreeBSD-based firewall and routing platform with weekly updates and a full configuration API

From
Free
Free plan
Yes

The short version

  • OPNsense is free; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only OPNsense lists stateful firewall on pf.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Google Cloud Run and OPNsense differ?

Google Cloud Run and OPNsense differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Google Cloud Run and OPNsense actually diverge.

Attributes where Google Cloud Run and OPNsense differ
AttributeGoogle Cloud RunOPNsense
Starting priceOn requestFree
Pricing modelUsage-basedOpen source, no licence fee
Free tierNoYes
PlatformsWebX86-64 appliances, Virtual machines, Deciso hardware
CategoryCloudNetworking

Not yet recorded: founded for Google Cloud Run.

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Run and 6 only for OPNsense. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Google Cloud Run

  • Deploy any container image
  • Source-based builds for common languages
  • Services with automatic scaling and scale to zero
  • Jobs for scheduled or manual tasks
  • Worker pools for background processing
  • Traffic splitting and rollback between revisions
  • Custom domains and managed TLS
  • Request-based and instance-based billing

Only in OPNsense

  • Stateful firewall on pf
  • VPN suite
  • Suricata IDS and IPS
  • Full configuration API
  • High availability
  • Weekly update cadence

What is each one used for?

Google Cloud Run is most often brought in for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Google Cloud Run

  • Hosting web APIs and microservicesnot OPNsense
  • Scheduled batch jobsnot OPNsense
  • Queue consumers on worker poolsnot OPNsense
  • Deploying containers without managing clustersnot OPNsense
  • Event-driven backends with Pub/Subnot OPNsense

OPNsense

  • Replacing a small business firewall appliance whose renewal quote exceeded the cost of the hardwarenot Google Cloud Run
  • Branch offices where the firewall configuration must be produced by Ansible rather than by handnot Google Cloud Run
  • Sites that need WireGuard and intrusion prevention on the same box without separate feature licencesnot Google Cloud Run
  • A homelab or lab network needing VLAN routing, multi-WAN and DNS filtering on one machinenot Google Cloud Run

Where do Google Cloud Run and OPNsense fall short?

Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Google Cloud Run

  • Runs only on Google Cloud, so there is no self-hosted option
  • The container file system is in memory and not persistent
  • Worker pools do not autoscale natively and need at least one instance
  • Services are stateless, so state needs external storage

OPNsense

  • Throughput depends entirely on hardware you selected yourself, and intrusion prevention at multi-gigabit rates will saturate a machine that handled plain firewalling fine, with no vendor sizing commitment to fall back on
  • The weekly update cadence is good for security but means more change events than a team used to annual appliance firmware, and occasional regressions reach production installations
  • FreeBSD underneath limits driver support compared with Linux, so recent network cards and some virtualisation drivers can be unsupported or slow
  • The plugin ecosystem is uneven in quality; some plugins are maintained by a single contributor and can lag a major release, breaking a function you depended on
  • Community support is a forum, so an outage at two in the morning on the free edition is your problem alone unless you bought the business subscription in advance

How much do Google Cloud Run and OPNsense cost?

OPNsense is free to use. Plan by plan below, from each vendor's own pricing page.

Google Cloud Run

On request

No published plan breakdown. See the Google Cloud Run review.

OPNsense

Free
  • OPNsense Community EditionFree
    • MIT licence with no feature restrictions
    • All VPN, IDS and HA features included
    • Weekly updates and two major releases a year
  • OPNsense Business EditionOn request
    • Stabilised update track lagging community releases
    • Commercial support from Deciso
    • Additional enterprise plugins and configuration backup

Which should you pick?

Choose Google Cloud Run if

  • You need deploy any container image.
  • You also want source-based builds for common languages.

Choose OPNsense if

  • You need stateful firewall on pf.
  • You want to start without paying.
  • You work on x86-64 appliances, Virtual machines, Deciso hardware.
  • You also want vpn suite.

Questions people ask

Is Google Cloud Run or OPNsense better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; OPNsense fits replacing a small business firewall appliance whose renewal quote exceeded the cost of the hardware. Google Cloud Run starts at On request and OPNsense at Free.
Which is cheaper, Google Cloud Run or OPNsense?
OPNsense has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for OPNsense.
Does Google Cloud Run or OPNsense run on more platforms?
Google Cloud Run runs on Web. OPNsense runs on x86-64 appliances, Virtual machines, Deciso hardware.
Can I use OPNsense for free?
Yes. OPNsense has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Google Cloud Run best used for?
Google Cloud Run is most often used for hosting web apis and microservices, scheduled batch jobs, queue consumers on worker pools, deploying containers without managing clusters. Of those, hosting web apis and microservices and scheduled batch jobs are not what OPNsense is typically brought in for.
What can Google Cloud Run do that OPNsense cannot?
Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks. OPNsense covers Stateful firewall on pf, VPN suite, Suricata IDS and IPS, Full configuration API.

Answered from the vendors’ own pages

Google Cloud Run: What can Cloud Run run?

Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.

Source
OPNsense: How is it different from pfSense?

It is a 2015 fork with an MIT licence, a fixed weekly release cadence, a complete configuration API and a different interface. Feature coverage is comparable; the release process and API are the real differences.

Google Cloud Run: How is Cloud Run billed?

Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.

Source
OPNsense: Do I need the Business Edition?

Only if you want commercial support or a slower, stabilised update stream. No features are withheld from the community edition.

Google Cloud Run: Can Cloud Run scale to zero?

Yes. Services scale to zero when idle unless a minimum number of instances is set.

Source
OPNsense: Can it handle a gigabit internet connection?

Plain firewalling on modest current hardware, comfortably. With Suricata inspection enabled, expect to need a considerably stronger CPU.

Share

Related pages

Other head to heads