dstack enables you to take any Docker container and deploy it as a hardware-secured TEE application with no code changes, special SDKs, or infrastructure setup required. To get started, simply choose a tutorial that matches your technology stack, copy the provided code into your preferred code editor, and follow the tutorial steps carefully to deploy your application using the Phala CLI—a separate tool for deploying apps to Phala that uses dstack to help you become familiar with the process, as both are operationally identical. After completing a tutorial, you will be well-prepared to move on to the full deployment demo found here: (/docs/getting-started/installation).
Deploy a Flask/FastAPI application with dstack TEE security. Perfect for APIs, web services, and data processing applications.
⚡ Time: 10-15 minutes
Perfect for: APIs, data processing, machine learning
Includes containerization, deployment commands, and monitoring setup.
Deploy Express.js applications to dstack TEE infrastructure. Great for APIs, real-time applications, and microservices.
⚡ Time: 10-15 minutes
Perfect for: Real-time apps, APIs, microservices
Complete setup from TypeScript build to secure deployment.
Deploy high-performance Rust applications with dstack. Optimal for security-critical applications and high-performance computing.
⚡ Time: 10-15 minutes
Perfect for: High-performance, security-critical apps
From Cargo build to TEE deployment with zero overhead.
Enterprise deployment patterns, CI/CD automation, and production-ready configurations for dstack.
⚡ Time: 30-60 minutes
Perfect for: Production deployments, enterprise setup
Advanced patterns for scaling dstack applications.