Softwr

Cloud · head to head

Google Cloud Run vs rustic

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
rustic logo

rustic

Backup

Rust reimplementation of restic that reads and writes the same repository format

From
Free
Free plan
Yes

The short version

  • rustic is free; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only rustic lists restic format compatibility.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
  • Where rustic falls short: command names, flags and behaviour do not map one to one onto restic, so scripts and runbooks need rewriting rather than a binary swap.

How do Google Cloud Run and rustic differ?

Google Cloud Run and rustic 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 rustic actually diverge.

Attributes where Google Cloud Run and rustic differ
AttributeGoogle Cloud Runrustic
Starting priceOn requestFree
Pricing modelUsage-basedOpen source, no licence fee
Free tierNoYes
PlatformsWebLinux, macOS, Windows
CategoryCloudBackup

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Run and 6 only for rustic. 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 rustic

  • restic format compatibility
  • Configuration profiles
  • Deduplicated encrypted backups
  • Cold and append only storage support
  • Multiple back ends
  • Library crates

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 rustic
  • Scheduled batch jobsnot rustic
  • Queue consumers on worker poolsnot rustic
  • Deploying containers without managing clustersnot rustic
  • Event-driven backends with Pub/Subnot rustic

rustic

  • An existing restic user who wants configuration files rather than long command lines in cronnot Google Cloud Run
  • Backing up a memory constrained machine where the reference implementation is uncomfortably heavynot Google Cloud Run
  • Writing to append only or cold object storage where the default tooling assumes rewritable bucketsnot Google Cloud Run
  • Keeping a second implementation available so a long lived archive does not depend on one codebasenot Google Cloud Run

Where do Google Cloud Run and rustic 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

rustic

  • The project is small with a short list of active maintainers, so bus factor is a genuine consideration for software whose job is to still work in five years
  • It inherits the restic repository format, so design limits in that format, including the cost of pruning large repositories, are inherited rather than fixed
  • Command names, flags and behaviour do not map one to one onto restic, so scripts and runbooks need rewriting rather than a binary swap
  • Far fewer people have performed a real restore from it under pressure, and backup software is one of the few categories where being second most used is itself a risk
  • Alternating between rustic and restic against one repository works but doubles the surface for a version incompatibility to corrupt state, so most operators should pick one and stay with it

How much do Google Cloud Run and rustic cost?

rustic 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.

rustic

Free
  • rusticFree
    • Full functionality, no data limit
    • All supported storage back ends
    • Community support via GitHub

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 rustic if

  • You need restic format compatibility.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want configuration profiles.

Questions people ask

Is Google Cloud Run or rustic better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; rustic fits an existing restic user who wants configuration files rather than long command lines in cron. Google Cloud Run starts at On request and rustic at Free.
Which is cheaper, Google Cloud Run or rustic?
rustic has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for rustic.
Does Google Cloud Run or rustic run on more platforms?
Google Cloud Run runs on Web. rustic runs on Linux, macOS, Windows.
Can I use rustic for free?
Yes. rustic 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 rustic is typically brought in for.
What can Google Cloud Run do that rustic 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. rustic covers restic format compatibility, Configuration profiles, Deduplicated encrypted backups, Cold and append only storage support.

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
rustic: Can it read my existing restic repository?

Yes, that is the point of the project. Take a copy and verify before you rely on it, as with any change to backup tooling.

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
rustic: Should I switch from restic?

Only for a specific reason such as configuration profiles, memory use or cold storage handling. Compatibility means there is no cost to trying and no cost to going back.

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
rustic: Is it production ready?

It is used in production by a small community, but it is younger and less exercised than the implementation it is compatible with. Test restores accordingly.

rustic: Does it support the same back ends?

The common ones, including local, SFTP, S3 compatible storage and rclone. Check the current list before committing to an unusual target.

Share

Related pages

Other head to heads