Learning paths / Build and ship
Learning path 58 modules41 lessons open
Deploy on ComputeSphere
Everything you need to put an app on ComputeSphere and change it safely afterwards: images and builds, variables and secrets, storage, domains, rollbacks, and deploying as code.
At a glance
- Level
- Beginner
- Duration
- About 7 hours
- Modules
- 8
- Verified labs
- 7
- Prerequisites
- Containers recommended, not required
Modules in this path
- 1. Your first deploySet up, then a live URL in minutes
- Set up: your account, a lab project and csph Reading, 10 min
- Deploy your first app Reading, 10 min
- Deploying, Running, Failed: what each status means Reading, 6 min
- Lab: put hello-web on the internet Verified lab, 20 min
- 2. How ComputeSphere is organisedAccounts, projects, environments, services, spherelets
- Accounts, projects, environments and services Reading, 6 min
- Service types: web service, background worker, cron job, static site Reading, 6 min
- Spherelets: shapes and counts Reading, 6 min
- Check: the ComputeSphere model Knowledge check, 5 min
- 3. Deploy from a repositoryGitHub, builds and build logs
- Connecting GitHub Reading, 5 min
- How builds work: Dockerfile or runtime build Reading, 6 min
- Reading build logs Reading, 6 min
- Lab: build from your repository Verified lab, 30 min
- Going further: monorepos, root directory and watch paths Reading, 5 min
- Check: deploying from a repository Knowledge check, 5 min
- 4. Configuration and secretsVariables, secrets and redeploys
- Environment and secret variables Reading, 6 min
- Which changes need a redeploy Reading, 5 min
- Lab: variables and secrets Verified lab, 20 min
- Check: configuration and secrets Knowledge check, 5 min
- 5. Data: databases and storageSphereStor volumes and connecting to a database
- Stateless services and where state lives Reading, 5 min
- SphereStor volumes: create, mount, unmount Reading, 5 min
- Connecting to a database Reading, 6 min
- Lab: data survives a redeploy Verified lab, 25 min
- Check: data Knowledge check, 5 min
- 6. Domains and SSLCustom domains and automatic certificates
- Default URLs and custom domains Reading, 5 min
- DNS records at your provider Reading, 5 min
- Certificates, issued automatically Reading, 5 min
- Lab: your own domain (optional) Verified lab, 30 min
- Check: domains Knowledge check, 5 min
- 7. The deployment lifecycleRedeploy, rollback, health checks
- Redeploy, restart, stop and start Reading, 5 min
- Rolling updates: the old version keeps serving Reading, 5 min
- Health checks: path, port, delays and thresholds Reading, 6 min
- Deploy history and rollback Reading, 6 min
- Lab: roll back a bad release Verified lab, 25 min
- Check: the deployment lifecycle Knowledge check, 5 min
- 8. Deploy as codePrivate images, computesphere.yaml and GitHub Actions
- Private images and registry credentials Reading, 5 min
- computesphere.yaml: your deployment as code Reading, 7 min
- csph apply, idempotently Reading, 6 min
- GitHub Actions: setup-csph and the deploy action Reading, 7 min
- Lab: deploy from CI Verified lab, 30 min
- Check: deploy as code Knowledge check, 5 min