Quickstart Guide
Get up and running with Plato Hub in minutes. Create and deploy your first simulator with just a few commands.Your First Simulator
1
Clone a Simulator
Clone an existing simulator:This downloads the simulator code and sets up your local development.
2
Create Configuration
Create your This configuration defines your VM resources and how your simulator runs.
plato-config.yml
file:plato-config.yml
3
Deploy
Push your changes to deploy:That’s it! Your simulator is now deployed and ready to use.Your deployed simulator is accessible as:
- Service:
custom-sim
- Version:
{git-commit-hash}
(e.g.,a1b2c3d
) - Tag:
{git-branch-name}
(e.g.,main
,feature-auth
)
Project Structure
Your simulator project needs just one required file:plato-config.yml
- The only required file. Defines your VM resources, datasets, and how services start.
Configuration Reference
Compute Section
Thecompute
section defines the VM resources for your simulator:
cpus
(1-8) - Number of CPU cores allocated to the VMmemory
(512-16384 MB) - RAM allocated to the VMdisk
(1024-102400 MB) - Disk space for the VMapp_port
(1024-65535) - Port your main application listens onplato_messaging_port
(1024-65535) - Port for Plato worker communication
Datasets Section
Thedatasets
section defines different environments (base, test, production-copy, etc.):
Entrypoint Configuration
type
- Always “docker” (only supported type)file
- Path to your docker-compose.yml filehealthy_wait_timeout
(30-1800 seconds) - How long to wait for services to startrequired_services
- Array of service names to wait for, or [”*”] for all services
Mutation Listeners
Database monitoring configuration for tracking state changes:type
- Always “db” (only supported type)db_type
- Database type: “postgresql”, “mysql”, or “sqlite”db_host
- Database hostname or IPdb_port
- Database port numberdb_user
- Database usernamedb_password
- Database passworddb_database
- Database name
Multiple Datasets Example
Next Steps
- Development Sandbox - Test your changes in isolated environments
- Simulator Management - Learn all CLI commands