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. 1. Your first deploySet up, then a live URL in minutes
    1. Set up: your account, a lab project and csph Reading, 10 min
    2. Deploy your first app Reading, 10 min
    3. Deploying, Running, Failed: what each status means Reading, 6 min
    4. Lab: put hello-web on the internet Verified lab, 20 min
    4 open
  2. 2. How ComputeSphere is organisedAccounts, projects, environments, services, spherelets
    1. Accounts, projects, environments and services Reading, 6 min
    2. Service types: web service, background worker, cron job, static site Reading, 6 min
    3. Spherelets: shapes and counts Reading, 6 min
    4. Check: the ComputeSphere model Knowledge check, 5 min
    4 open
  3. 3. Deploy from a repositoryGitHub, builds and build logs
    1. Connecting GitHub Reading, 5 min
    2. How builds work: Dockerfile or runtime build Reading, 6 min
    3. Reading build logs Reading, 6 min
    4. Lab: build from your repository Verified lab, 30 min
    5. Going further: monorepos, root directory and watch paths Reading, 5 min
    6. Check: deploying from a repository Knowledge check, 5 min
    6 open
  4. 4. Configuration and secretsVariables, secrets and redeploys
    1. Environment and secret variables Reading, 6 min
    2. Which changes need a redeploy Reading, 5 min
    3. Lab: variables and secrets Verified lab, 20 min
    4. Check: configuration and secrets Knowledge check, 5 min
    4 open
  5. 5. Data: databases and storageSphereStor volumes and connecting to a database
    1. Stateless services and where state lives Reading, 5 min
    2. SphereStor volumes: create, mount, unmount Reading, 5 min
    3. Connecting to a database Reading, 6 min
    4. Lab: data survives a redeploy Verified lab, 25 min
    5. Check: data Knowledge check, 5 min
    5 open
  6. 6. Domains and SSLCustom domains and automatic certificates
    1. Default URLs and custom domains Reading, 5 min
    2. DNS records at your provider Reading, 5 min
    3. Certificates, issued automatically Reading, 5 min
    4. Lab: your own domain (optional) Verified lab, 30 min
    5. Check: domains Knowledge check, 5 min
    5 open
  7. 7. The deployment lifecycleRedeploy, rollback, health checks
    1. Redeploy, restart, stop and start Reading, 5 min
    2. Rolling updates: the old version keeps serving Reading, 5 min
    3. Health checks: path, port, delays and thresholds Reading, 6 min
    4. Deploy history and rollback Reading, 6 min
    5. Lab: roll back a bad release Verified lab, 25 min
    6. Check: the deployment lifecycle Knowledge check, 5 min
    6 open
  8. 8. Deploy as codePrivate images, computesphere.yaml and GitHub Actions
    1. Private images and registry credentials Reading, 5 min
    2. computesphere.yaml: your deployment as code Reading, 7 min
    3. csph apply, idempotently Reading, 6 min
    4. GitHub Actions: setup-csph and the deploy action Reading, 7 min
    5. Lab: deploy from CI Verified lab, 30 min
    6. Check: deploy as code Knowledge check, 5 min
    6 open
Path challenge, 60 minChallenge: Ship itDeploy a provided app to ComputeSphere on your own, built from source, configured, keeping its data, healthy and running.