Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account and choose a project. Review the upstream deployment instructions for the release you plan to pin. See Kestra runtime and storage configuration.Data dependencies
PostgreSQL for the repository and queue, plus durable internal storage. See SQL databases for private writer access and connection details.Deployment order
- Create a private PostgreSQL database and wait for the writer. Create a private S3 bucket before starting Kestra if you use S3 internal storage. Check task credentials permit access to that bucket.
- Set
datasources.postgres.urlinKESTRA_CONFIGURATIONto the writer JDBC URL. Set its username and password through runtime configuration. Setkestra.repository.typeandkestra.queue.typetopostgres. Configurekestra.storage.typeand the storage backend. - Deploy the pinned Kestra standalone image using the release’s documented command. Configure a task runner compatible with the hosting environment. Use a separate supported execution environment for jobs that require a Docker daemon.
- Start Kestra after PostgreSQL and storage are ready. Wait for startup before enabling schedules or connecting clients.