# Deploy .NET Aspire Apps

> Deploy .NET Aspire apps with aspire deploy: projects become container apps, AddPostgres becomes managed PostgreSQL and your secrets stay secret. Free to start.

<!-- https://egulu.cloud/products/dotnet-aspire -->

Home › Products › .NET Aspire

# Deploy .NET Aspire apps in one command.

Add one package to your AppHost and run aspire deploy. Your projects become container apps, AddPostgres becomes managed PostgreSQL and your secrets stay secrets. One container app free from the first minute, scaling to zero when idle. Beyond the free plan you pay for what you use from a prepaid wallet, with a cap you set. To start, ask for an invitation, then create it in the console or with the egulu CLI.

[Get started](https://console.egulu.cloud/signup) — [500 credits when you sign up](/pricing#signup-credits) · Free plan · No card · No bill unless you upgrade

Sign-up is by invitation for now. Ask for an invitation: [the contact page](/contact#write).

.NET · Aspire · ASP.NET Core · NuGet · PostgreSQL · Valkey

### .NET Aspire

Add one package to your AppHost and run aspire deploy. Your projects become container apps, AddPostgres becomes managed PostgreSQL and your secrets stay secrets.

*Example: an Aspire AppHost whose two projects, PostgreSQL, Valkey and a secret map to Egulu resources, deployed in one plan.*

[What you get →](#details)

### Free to start

One container app free from the first minute, scaling to zero when idle.

[Try it free →](https://console.egulu.cloud/signup)

### Where it runs

Finland today, and your data stays there. Next: Germany and South Africa.

[Regions →](/regions)

### One command

aspire deploy builds, pushes, plans and applies, then prints your URLs.

### See it before it lands

The plan shows the diff, the cost and the effect on your cap first.

### From AppHost to production

See one command take an Aspire app from your machine to production.

*Film, 0:45, with captions. Transcript:*

Your Aspire AppHost already describes the whole app: the projects, the database, the cache and the secrets.

Add one package and run aspire deploy.

It builds your projects, pushes the images and plans the change.

Before anything changes, you see the diff, the cost and what it does to your spending cap.

Your projects become container apps, and PostgreSQL comes with no password to leak.

Your endpoints get HTTPS from the start.

One command, from AppHost to production.

### In this film

1. 0:00 Your AppHost
2. 0:13 aspire deploy
3. 0:19 See the plan
4. 0:26 Apps and data
5. 0:36 In production

[Deploy your Aspire app →](https://console.egulu.cloud/signup)

## What you get

Your AppHost already describes the whole app. We run it as it is.

### PostgreSQL, no password

AddPostgres becomes managed PostgreSQL, reached by workload identity.

### Secrets stay secrets

Secret parameters become pinned secrets; only references ship.

### HTTPS from the start

External endpoints get a subdomain or your domain, with a certificate.

### Nothing dropped quietly

An unsupported resource stops aspire publish and is named. No half deploys.

### No Docker needed

dotnet publish pushes the image; the deploy tag rolls a new revision.

### A starter to copy

dotnet new gives you .NET 10, Aspire and PostgreSQL, ready to deploy.

### Bring what you already use

Keep your AppHost, your tools and your CI. Visual Studio, Rider and the dotnet CLI all publish the same way.

.NET, Aspire, ASP.NET Core, NuGet, PostgreSQL, Valkey, OpenTelemetry, GitHub Actions, OCI images

### Commands

Your AppHost, the Aspire CLI and dotnet publish. Nothing new to learn.

AppHost:

```cs
var builder = DistributedApplication.CreateBuilder(args);

builder.AddEguluEnvironment("egulu")
       .WithProject("my-project")
       .WithLocation("de-fsn1");

var db = builder.AddPostgres("pg").AddDatabase("shop");
var cache = builder.AddValkey("cache");

var api = builder.AddProject<Projects.Api>("api")
                 .WithReference(db)
                 .WithReference(cache);

builder.AddProject<Projects.Web>("web")
       .WithReference(api)
       .WithExternalHttpEndpoints();

builder.Build().Run();
```

Aspire CLI:

```sh
aspire publish    # writes the Project Bundle for review
aspire deploy     # build, push, plan, apply, print the URLs
```

dotnet publish:

```sh
dotnet publish -t:PublishContainer \
  -p:ContainerRegistry=$REGISTRY \
  -p:ContainerRepository=my-project/apps/web \
  -p:ContainerImageTag=deploy
```

CLI:

```sh
egulu apps list --project my-project --location de-fsn1
```

### Docs

Reference and guides, also as Markdown for agents.

- [CLI reference](https://docs.egulu.cloud/cli)
- [API reference](https://docs.egulu.cloud/api)
- [Free limits](https://docs.egulu.cloud/limits)

### Let your agent do it

Agents call the same operations over MCP, with a role and your approval.

*Example: an agent's role: two actions allowed, delete needs a person.*

[Agents →](/agents)

### Price

Pay for what you use from a prepaid wallet, with a cap you set.

| Item | Price |
|---|---|
| Container app, XS | €4.50 per month |
| Container app, S | €8.00 per month |
| Container app, M | €16.00 per month |

### A cap that caps

Set a budget; at the cap paid work pauses and your data stays.

*Example: a budget that notifies at 80% and caps at 100%.*

[Pricing →](/pricing)

[Deploy a .NET Aspire app free →](https://console.egulu.cloud/signup)

## Questions people ask

Straight answers, before you sign up.

### Questions and answers

**Can I deploy a .NET Aspire app to Egulu?**

Yes. Add the Egulu.Hosting package to your AppHost and run aspire deploy. Projects and containers become container apps, AddPostgres becomes managed PostgreSQL, AddValkey becomes Valkey and secret parameters become secrets.

**Do I need Docker on my machine?**

No. dotnet publish builds the container image itself and pushes it to your registry, or our build machines build it from your source.

**Which Aspire resources are supported?**

Projects, containers, PostgreSQL databases, Valkey and Redis, secret parameters, external HTTP endpoints, replicas and health checks. Anything else makes aspire publish stop and name it, so nothing is left out quietly.

**Which versions of .NET and Aspire?**

.NET 10 and the current Aspire release.

**Can I see what will change before it deploys?**

Yes. aspire publish writes a Project Bundle you can read in a pull request, and aspire deploy prints the diff, the cost and the effect on your cap first. If your project needs an approval, it stops and gives you the link to approve.

**Do I get logs, metrics and traces?**

Yes. The OpenTelemetry your app already sends lands in built-in logs, metrics and traces.

**Does my app have to use Aspire?**

No. Any ASP.NET Core app or worker service deploys from git or from a container image. Aspire just brings the whole app, database and cache included, in one go.

**Can I deploy from GitHub Actions?**

Yes. In CI, aspire deploy signs in with a short-lived token from your pipeline instead of a stored password.

**How do I pay?**

The free plan needs no card. When you grow, top up a prepaid wallet by card or with mobile money, and set a cap so the bill never runs away from you.

### Read more

References and limits, also as Markdown for agents.

- [CLI reference](https://docs.egulu.cloud/cli)
- [Free limits](https://docs.egulu.cloud/limits)

[Deploy your first app today →](https://console.egulu.cloud/signup)

## Related products

One account, one API and one audit log across every product.

### Container apps

Run a container from an image or a repo; it scales to zero when idle and out under load.

*Example: a container app scaling from zero to four replicas and back.*

[Try it free →](/products/container-apps)

### PostgreSQL

Managed PostgreSQL 18 with branches, point-in-time restore and one connection string.

*Example: a PostgreSQL database with a main branch, two branches and a point-in-time restore.*

[Try it free →](/products/postgresql)

### Valkey

In-memory Valkey for caches, sessions and queues, behind the same router as PostgreSQL.

*Example: a Valkey instance with keys, hit rate and memory use.*

[Try it free →](/products/valkey)

## Create your account. Deploy today.

The free plan needs no card, and it never turns into a bill unless you upgrade.

[Start building now](https://console.egulu.cloud/signup) — [500 credits when you sign up](/pricing#signup-credits) · Free plan · No card · No bill unless you upgrade

Sign-up is by invitation for now. Ask for an invitation: [the contact page](/contact#write).
