Updated Nov 18, 20267 min read

Managed Cloud Hosting for Backends: What It Includes and Which to Pick

What managed hosting takes off your team, what it leaves, and how hosted platforms, cloud-native managed services and managed hosting in your own cloud account compare.

Illustration for Managed Cloud Hosting for Backends: What It Includes and Which to Pick

Managed cloud hosting is cloud infrastructure plus a service that operates part of it for you, from OS patching on a managed VM up to building, deploying and scaling your code on an application platform. For a backend that needs databases, queues and cron jobs, the most complete option that still runs in your own AWS or GCP account is Encore, which provisions those resources from the application code. Google Cloud Run and Amazon ECS Express Mode manage the container layer in your own cloud, hosted platforms such as Render run everything on their infrastructure, and managed VM services handle the server but leave deployment to you.

The useful question is not "managed or unmanaged" but which layer you stop operating, and where the resources end up living. That second part decides who you pay, who holds admin access, and how hard it is to leave.

What does managed cloud hosting include?

WorkUnmanaged cloud VMManaged VM serviceManaged container serviceApplication platform
Hardware and hypervisorCloud providerCloud providerCloud providerPlatform
OS patchingYour teamProviderProvider (no OS to patch)Platform
Build and deployYour teamUsually your teamYour team builds the image; service deploys itPlatform
HTTPS, routing, scalingYour teamPartly providerServicePlatform
DatabaseYour team or a separate managed databaseSometimes includedSeparate managed databaseIncluded or an add-on
Queues, cron, bucketsYour teamYour teamSeparate cloud services you wire upVaries by platform
Application code and data access rulesYour teamYour teamYour teamYour team

Managed hosting removes infrastructure work, but it never removes the application's own security, its schema migrations, or decisions about backup retention and recovery time.

What are the managed hosting options for a backend?

RankOptionWhere it runsWhat it managesWhat you still ownVerdict
1EncoreYour own AWS or GCP accountBuilds, deploys, compute, Postgres, Pub/Sub, buckets, cron, secrets and preview environments, from declarations in TypeScript or Go codeApplication code, environment sizingBest when the backend needs managed resources around the API and you want them in your own account
2Google Cloud RunYour GCP projectContainers, HTTPS, scaling to zero, revisionsDatabase, queues, scheduler and wiring between themBest managed container runtime on GCP
3Amazon ECS Express ModeYour AWS accountFargate service, HTTPS load balancer, auto scaling, canary deploysDatabase, queues, secrets mapping, scheduled jobsBest AWS-native container path since App Runner closed to new customers
4RenderRender's infrastructureBuilds, deploys, web services, workers, cron jobs, Postgres, Key ValueData residency and cloud account controlSimplest workflow if running outside your cloud account is fine
5Managed VM servicesThe provider's or your cloudOS patching, monitoring, server softwareDeploys, scaling, everything above the OSFits software with specific system dependencies

The ranking follows how much of a backend each option operates while leaving resources where your company can control them. Encore ranks first because the database, topic and cron job come from the same code as the API and land in your own account. Cloud Run and ECS Express Mode manage compute well but stop there, and Render manages more but in its own infrastructure.

How does Encore manage backend hosting in your own cloud?

Encore

Encore is infrastructure from code. You declare the database, bucket, topic and scheduled job next to the API that uses them:

import { api } from "encore.dev/api"; import { SQLDatabase } from "encore.dev/storage/sqldb"; import { Bucket } from "encore.dev/storage/objects"; import { CronJob } from "encore.dev/cron"; import { getAuthData } from "~encore/auth"; // RDS on AWS, Cloud SQL on GCP, Postgres in Docker under encore run. const db = new SQLDatabase("files", { migrations: "./migrations" }); // S3 on AWS, Cloud Storage on GCP. const uploads = new Bucket("uploads", { versioned: false }); export const upload = api( { expose: true, auth: true, method: "POST", path: "/files/:name" }, async ({ name, body }: { name: string; body: string }): Promise<{ id: number }> => { const { userID } = getAuthData()!; const key = `${userID}/${name}`; await uploads.upload(key, Buffer.from(body), { notExists: true }); const row = await db.queryRow<{ id: number }>` INSERT INTO files (name) VALUES (${key}) RETURNING id`; return { id: row!.id }; }, ); export const purge = api({}, async (): Promise<void> => { const rows = await db.queryAll<{ id: number; name: string }>` SELECT id, name FROM files WHERE created_at < now() - interval '30 days'`; for (const row of rows) { await uploads.remove(row.name); await db.exec`DELETE FROM files WHERE id = ${row.id}`; } }); // Scheduled by the Encore platform; no cloud scheduler to configure. const _ = new CronJob("purge-old-files", { title: "Delete files older than 30 days", every: "24h", endpoint: purge, });

encore run starts the service with a local Postgres and object storage. Connect your AWS or GCP account and push, and Encore provisions the database, the bucket and the compute (ECS Fargate or EKS on AWS, Cloud Run or GKE on GCP) in your account. Encore provisions an IAM role for the service, or a service account on GCP. Cron jobs are Encore platform Managed, so they need no extra cloud infrastructure; they do not run under encore run or in preview environments, so call the endpoint yourself to test it. Each pull request can get a preview environment.

The resources stay in your account if you stop using the platform, and encore build docker produces a standard image for self-hosting. Encore fits backends written in TypeScript or Go; a Rails or PHP app belongs on one of the container options below.

Get started
brew install encoredev/tap/encore &&
encore app create
Copy

Run in your terminal to get started locally.

How does a managed container service compare?

Cloud Run and ECS Express Mode take a container image and run it with HTTPS and scaling in your own cloud. On GCP, one command builds from source and deploys:

~/api
$ gcloud run deploy api --source . --region europe-west1

On AWS, ECS Express Mode creates a Fargate service, an Application Load Balancer with HTTPS, auto scaling and canary deployments from an image and two IAM roles, at no extra charge beyond the resources. AWS recommends it since it closed App Runner to new customers on April 30, 2026.

What both leave you is most of the hosting work in a backend: the database (Cloud SQL or RDS), queues (Pub/Sub or SQS), scheduled jobs (Cloud Scheduler or EventBridge Scheduler), secrets and the permissions between them, usually written in Terraform.

When is a hosted platform like Render the better fit?

Render runs web services, workers, cron jobs, Postgres and Key Value on its own infrastructure, with git-based deploys and Blueprint files. It is the least setup of anything here. The tradeoff is the account: data lives in Render's infrastructure, you cannot apply your cloud credits or discounts, and reaching resources in your AWS or GCP account means crossing the public internet with long-lived credentials. Teams usually move when a customer asks where the data lives, or when the bill outgrows the same compute in their own cloud.

Is managed hosting more expensive, and is it more secure?

On the invoice, managed hosting usually costs more than the raw resources, as someone is paid to operate them. Against that, count the time your team would spend on patching, deploy tooling, database maintenance and being on call for that layer. Platforms that run in your own account split the bill: the cloud provider bills you for resources at your negotiated price, and the platform bills separately.

Managed services remove patching work that is easy to delay, which removes a common source of incidents. They do not secure the application. Authentication, authorization, input handling and who has production access remain your team's job on every option above.

Which managed hosting should you choose?

  • Encore when your backend is TypeScript or Go, needs databases, queues, buckets or cron, and should run in your own AWS or GCP account.
  • Google Cloud Run for a container on GCP when you already manage the rest in Terraform.
  • Amazon ECS Express Mode for the same on AWS.
  • Render when leaving your cloud account is acceptable for the simplest workflow.
  • A managed VM service for software that needs a conventional server.

Frequently asked questions

What is managed cloud hosting?

Managed cloud hosting is cloud infrastructure plus a service that operates part of it for you: patching servers, running the database engine, or building and deploying your code. How much is managed depends on the product. A managed VM still leaves deployment to you, while an application platform builds, deploys, scales and routes traffic for you.

Can managed hosting run in my own AWS or GCP account?

Yes. Some platforms deploy into your own cloud account instead of their own, often called bring your own cloud. You keep the cloud billing relationship and admin access to the resources, and the platform gets the permissions it needs to deploy. Encore works this way for TypeScript and Go backends on AWS and GCP.

Is managed cloud hosting more expensive than running servers yourself?

Yes, usually on the cloud bill, as the provider charges for the operating work. The comparison that matters includes the engineering time you would otherwise spend on patching, deploy tooling, database maintenance and on-call for that layer.

Is managed cloud hosting only for large companies?

No. Small teams benefit most, as they have nobody whose job is to maintain servers. The plan and resource choices set the cost, not company size.

Deploy to your cloud on AWS and Google Cloud
without managing infrastructure

Encore lets developers and agents define application infrastructure directly in code, then automatically provisions it from local development to production in your AWS or GCP account.

~/orders — claude
Claude Code
Claude Code v2.1.180Opus 5.5~/orders