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.

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.
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.
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.
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.
Run in your terminal to get started locally.
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:
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.
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.
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.
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.
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.
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.
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.