App Store template
Evolution API icon

Evolution API

Open-source WhatsApp API platform with Baileys, WhatsApp Cloud API, webhook, chat, bot, and media integrations.

Launch in your Sealos workspace.

Evolution API template preview
Template previewFull screenshot
Template deployments
13 on Sealos
Deployment
Your own instance
Category
Tools

About this template

Overview

Evolution API is an open-source WhatsApp API platform for Baileys, WhatsApp Cloud API, webhooks, bots, chats, and media integrations. This template deploys Evolution API with PostgreSQL, Redis, persistent instance storage, and optional S3-compatible object storage on Sealos Cloud.

From the documentation

Evolution API exposes WhatsApp automation and integration features through HTTP APIs. It can manage WhatsApp instances, QR code pairing, message events, webhooks, chat integrations, and media workflows from a self-hosted backend.

How to deploy Evolution API

  1. Choose Deploy now to start Evolution API in your Sealos workspace.
  2. Review use_object_storage in the deployment form.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the Evolution API template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

Deploy and Host Evolution API on Sealos

Evolution API is an open-source WhatsApp API platform for Baileys, WhatsApp Cloud API, webhooks, bots, chats, and media integrations. This template deploys Evolution API with PostgreSQL, Redis, persistent instance storage, and optional S3-compatible object storage on Sealos Cloud.

Evolution API Screenshot

About Hosting Evolution API

Evolution API exposes WhatsApp automation and integration features through HTTP APIs. It can manage WhatsApp instances, QR code pairing, message events, webhooks, chat integrations, and media workflows from a self-hosted backend.

The Sealos template runs Evolution API as a Kubernetes StatefulSet. KubeBlocks provisions PostgreSQL for persistent application data and Redis for cache and instance coordination. A persistent volume stores local WhatsApp instance state, and S3-compatible object storage can be enabled for media files.

Sealos handles public HTTPS access, service discovery, storage, database provisioning, and resource configuration so you can operate Evolution API without writing Kubernetes manifests manually.

Common Use Cases

  • WhatsApp Automation API: Create and manage WhatsApp instances for business messaging workflows.
  • Webhook Event Hub: Receive message, contact, chat, group, and connection events in external systems.
  • Chatbot Integrations: Connect WhatsApp conversations with bot platforms and automation tools.
  • Media Processing: Store WhatsApp media locally or in S3-compatible object storage.
  • Customer Communication Backend: Provide a programmable backend for CRM, support, and notification systems.

Dependencies for Evolution API Hosting

The Sealos template includes the required runtime dependencies:

  • Evolution API v2.3.7
  • PostgreSQL 16.4.0 through KubeBlocks
  • Redis 7.2.7 through KubeBlocks
  • Persistent storage for /evolution/instances
  • Optional S3-compatible object storage for media
  • HTTPS Ingress and Sealos App entry
Deployment Dependencies

Implementation Details

Architecture Components:

  • Evolution API StatefulSet: Runs evoapicloud/evolution-api:v2.3.7 on port 8080.
  • PostgreSQL Cluster: Stores instances, messages, contacts, chats, labels, and runtime metadata.
  • PostgreSQL Init Job: Waits for PostgreSQL readiness and creates the evolution_db database idempotently. The application uses the evolution_api PostgreSQL schema, matching the upstream example connection URI.
  • Redis Cluster: Provides cache and instance coordination.
  • Persistent Instance Volume: Stores WhatsApp instance state at /evolution/instances.
  • Optional ObjectStorageBucket: Enables S3-compatible media storage when use_object_storage is enabled.
  • Service, Ingress, and App Resource: Expose Evolution API through a public HTTPS URL.

Configuration:

The template generates the API key automatically as AUTHENTICATION_API_KEY. Evolution API has no registration flow in this template; use the generated API key for the Manager UI and HTTP API requests. The API manager is enabled by default and is available at the public application URL.

Object storage has two modes:

  • Local media mode: Default. Media and instance files stay on the persistent volume.
  • S3 media mode: Enable use_object_storage during deployment to create an S3-compatible bucket and configure S3_* environment variables.

Resource Defaults:

  • App CPU limit: 200m
  • App memory limit: 256Mi
  • Database CPU limit: 500m
  • Database memory limit: 512Mi

Health Checks:

The template probes / on port 8080 for startup, readiness, and liveness. Live deployment should also verify logs and one authenticated API request with the generated API key.

License Information:

Evolution API is licensed under Apache License 2.0 with additional commercial and attribution conditions in the upstream repository license.

Why Deploy Evolution API on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes that unifies deployment, storage, networking, and operations. By deploying Evolution API on Sealos, you get:

  • One-Click Deployment: Deploy Evolution API, PostgreSQL, Redis, storage, and HTTPS access from one template.
  • Built-In Persistence: Keep database data and WhatsApp instance state across restarts.
  • Optional Object Storage: Use S3-compatible storage for media-heavy workloads.
  • Instant Public Access: Sealos provisions a public HTTPS endpoint automatically.
  • Easy Customization: Adjust environment variables, resources, and storage from the Sealos Canvas.
  • AI-Assisted Operations: Use the Sealos AI dialog or resource cards for post-deployment changes.

Deployment Guide

  1. Open the Evolution API template and click Deploy Now.
  2. Configure the deployment parameters:
    • use_object_storage: Enable this option when you want media files stored in S3-compatible object storage.
  3. Wait for deployment to complete. This typically takes 2-3 minutes. After deployment, you will be redirected to the Canvas. For later changes, describe your requirements in the dialog to let AI apply updates, or click the relevant resource cards to modify settings.
  4. Access Evolution API through the provided URL:
    • Manager UI and API Base URL: Use the public HTTPS URL from Sealos.
    • API Authentication: Open the StatefulSet resource card, read the generated AUTHENTICATION_API_KEY value from the workload environment, and use it in the Manager UI or API requests.

Configuration

After deployment, configure Evolution API through:

  • Manager UI: Use the generated API key to create and manage WhatsApp instances and QR pairing.
  • HTTP API: Use the generated API key in requests.
  • Resource Cards: Modify environment variables such as webhooks, integrations, logging, S3, and proxy settings.
  • Canvas AI Dialog: Describe the configuration change you want and let Sealos apply it.

Troubleshooting

API requests are unauthorized
  • Cause: Requests are missing the generated AUTHENTICATION_API_KEY.
  • Solution: Read the value from the Evolution API workload environment and include it in API requests according to the Evolution API documentation.
Instance pairing or media handling fails
  • Cause: Instance storage is not writable or S3 settings are incomplete.
  • Solution: Keep the template's persistent volume and permission init container. If object storage is enabled, confirm that the ObjectStorageBucket and object storage secrets exist.
Startup takes longer than expected
  • Cause: PostgreSQL and Redis must become ready before the application starts.
  • Solution: Check the StatefulSet logs plus PostgreSQL and Redis resource cards in Canvas.

Additional Resources

License

This Sealos template provides deployment configuration for running Evolution API on Sealos. Evolution API itself is distributed under Apache License 2.0 with additional conditions in the upstream license file.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More