# Container Deployments (CaaS)

AceCloud CaaS lets you deploy containers without managing Kubernetes clusters. Choose between **shared** infrastructure (pay per CPU/memory) or **dedicated** flavors with your own network.

## Command Structure

```
ace deployment list                     # List all deployments
ace deployment get <name>               # Get deployment details
ace deployment create ...               # Create a deployment
ace deployment update <name> ...        # Update a deployment
ace deployment delete <name>            # Delete a deployment
ace deployment restart <name>           # Restart a deployment
ace deployment replicas <name>          # List replica pods
```

## Aliases

| Command                   | Aliases                                          |
| ------------------------- | ------------------------------------------------ |
| `ace deployment`          | `ace deploy`, `ace caas`                         |
| `ace deployment delete`   | `ace deployment rm`                              |
| `ace deployment get`      | `ace deployment show`, `ace deployment describe` |
| `ace deployment replicas` | `ace deployment pods`                            |

## Deployment Types

### Shared

* Pay per CPU core and memory
* No VPC required
* Simpler setup
* Flags: `--cpu`, `--memory`

### Dedicated

* Uses a flavor (specific VM type)
* Requires a VPC network (`--network-id` or `--network-cidr`)
* Flags: `--type dedicated`, `--flavor`, `--network-id` or `--network-cidr`

## Quick Start

```bash
# Create a simple shared deployment
ace deployment create \
  --name my-app \
  --image nginx:latest \
  --cpu 0.5 \
  --memory 512Mi \
  --replicas 1 \
  --external-access

# Check status
ace deployment get my-app

# Scale up
ace deployment update my-app --replicas 3

# Restart
ace deployment restart my-app

# View pods
ace deployment replicas my-app

# Delete
ace deployment delete my-app
```

## Topics

* [**Deployments**](/knowledge-base/cli/caas/deployments.md) -- Full deployment lifecycle: create, update, delete, restart, and scaling


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acecloud.ai/knowledge-base/cli/caas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
