> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lazycloud.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# app, deployment, container

> Manage deployed apps, deployments, and running containers.

Pausing an app stops its workloads together. Stopping one deployment takes a
single service offline. Container commands act on individual instances. An
active deployment may replace a container you stop.

## lazycloud app

An app is addressed by name or id.

In the syntax below, replace uppercase names, and drop the square brackets
when you pass an optional flag.

```bash theme={null}
uv run lazycloud app list [--active | --inactive | --all]
uv run lazycloud app show APP
uv run lazycloud app export APP    # write a typed Python package for its deployed workloads
uv run lazycloud app pause APP      # stop every workload in the app
uv run lazycloud app resume APP
uv run lazycloud app delete APP
```

## lazycloud deployment

A deployment is addressed by name or id. `scale` pins a pod deployment to a
container count and refuses other kinds. Functions and endpoints scale from the
`autoscaler` on their decorator. See [Scaling and concurrency](/concepts/scaling).

These commands inspect and operate deployments. Resources and autoscaler
settings live in the Python definition, and each deploy applies them.

```bash theme={null}
uv run lazycloud deployment list [--app <name>] [--limit <n>]
uv run lazycloud deployment stop IDS_OR_NAMES...        # stop serving; keep the definition
uv run lazycloud deployment start ID_OR_NAME
uv run lazycloud deployment scale ID_OR_NAME --containers <n>
uv run lazycloud deployment delete ID_OR_NAME
```

```bash theme={null}
uv run lazycloud deployment list --app tools
uv run lazycloud deployment scale web --containers 3
```

## lazycloud container

```bash theme={null}
uv run lazycloud container list [--limit <n>]                        # recent containers, default 100
uv run lazycloud container attach CONTAINER_ID                       # stream output until it exits
uv run lazycloud container checkpoint CONTAINER_ID [--checkpoint-id <id>]
uv run lazycloud container stop CONTAINER_IDS...
```

<Note>
  To change your default workspace, run `uv run lazycloud workspace use <name>`.
  Commands with a `--workspace` option can override it for one call.
</Note>
