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

# Deployment Automation

> Deploy, manage, and scale applications with Qovery AI Copilot

## Overview

Automate application deployments, manage services, and handle deployment workflows through natural language with Qovery AI Copilot.

## Capability Support Matrix

| Capability                 | Example Prompt                              | Support Level      | Last Validated |
| -------------------------- | ------------------------------------------- | ------------------ | -------------- |
| **Application Deployment** |                                             |                    |                |
| Deploy applications        | "Deploy my-api to production"               | ✅ Full Support     | 2025-01-15     |
| Deploy specific versions   | "Deploy version 2.0.0 to production"        | ✅ Full Support     | 2025-01-15     |
| Redeploy applications      | "Redeploy the frontend application"         | ✅ Full Support     | 2025-01-15     |
| Stop applications          | "Stop the backend application"              | ✅ Full Support     | 2025-01-15     |
| **Service Management**     |                                             |                    |                |
| List services              | "Show me all applications"                  | ✅ Full Support     | 2025-01-15     |
| Scale services             | "Scale the API to 5 replicas"               | ✅ Full Support     | 2025-01-15     |
| Update configurations      | "Update DATABASE\_URL environment variable" | ✅ Full Support     | 2025-01-15     |
| **Database Management**    |                                             |                    |                |
| Deploy databases           | "Deploy the PostgreSQL database"            | ✅ Full Support     | 2025-01-15     |
| Manage database services   | "Stop the test database"                    | ✅ Full Support     | 2025-01-15     |
| **Rollback & Recovery**    |                                             |                    |                |
| Rollback deployments       | "Rollback the API to previous version"      | 🚧 Partial Support | 2025-01-15     |
| Cancel deployments         | "Cancel the ongoing deployment"             | ✅ Full Support     | 2025-01-15     |

**Support Levels:**

* ✅ **Full Support**: Feature is fully functional and tested
* 🚧 **Partial Support**: Feature works with limitations
* ⏳ **Coming Soon**: Feature is planned but not yet available

## Application Deployment

### Deploy Applications

```
"Deploy my-api to production"
"Deploy the latest commit to staging"
"Deploy version 2.0.0 to production"
"Deploy commit abc123 to staging"
```

### Redeploy Applications

```
"Redeploy the frontend application"
"Restart the API service"
"Redeploy all services in production"
```

### Stop Applications

```
"Stop the backend application"
"Stop all services in development"
"Shut down the staging environment"
```

## Service Management

### List Services

```
"Show me all applications"
"List services in production"
"What's running in staging?"
"Show all databases"
```

### Scale Services

```
"Scale the API to 5 replicas"
"Increase frontend instances to 3"
"Scale down the worker service"
```

### Update Configurations

```
"Update DATABASE_URL environment variable"
"Change the API port to 8080"
"Increase CPU allocation for my-api"
```

## Database Management

### Deploy Databases

```
"Deploy the PostgreSQL database"
"Start the Redis cache"
"Deploy MongoDB in production"
```

### Manage Database Services

```
"Stop the test database"
"Restart PostgreSQL"
"Show database connection info"
```

## Container Management

### Deploy Containers

```
"Deploy nginx container to production"
"Deploy custom-image:latest to staging"
```

### Manage Containers

```
"Stop the redis container"
"Redeploy the cache service"
"Update container image to version 2.0"
```

## Job Management

### Cronjobs

```
"Deploy the backup cronjob"
"Show all cronjobs"
"Stop the cleanup job"
```

### Lifecycle Jobs

```
"Deploy the migration job"
"Run the database migration"
"Check migration job status"
```

## Helm Chart Management

```
"Deploy the nginx-ingress Helm chart"
"List all Helm deployments"
"Update the monitoring chart"
```

## Deployment Workflows

### Multi-Step Deployments

```
"Deploy the database first, then deploy the API"
"Update staging, test it, then promote to production"
"Deploy backend, wait for health check, then deploy frontend"
```

### Conditional Deployments

```
"Deploy to production only if staging tests pass"
"Deploy new version if current version is healthy"
```

## Related Capabilities

<CardGroup cols={2}>
  <Card title="Infrastructure Management" href="/copilot/capabilities/infrastructure-management">
    Manage environments and clusters
  </Card>

  <Card title="Optimization" href="/copilot/capabilities/optimization">
    Optimize deployments and resources
  </Card>

  <Card title="Troubleshooting" href="/copilot/capabilities/troubleshooting">
    Debug deployment issues
  </Card>

  <Card title="Common Tasks" href="/copilot/examples/common-tasks">
    See practical examples
  </Card>
</CardGroup>
