Advanced level · Module 12: Deployment, Monitoring and Optimization · Lesson 1 of 3
Choosing and Preparing a Deployment
Learners compare deployment options (hosted APIs, a local server with open models, hybrid) and package the application with configuration and an offline installation path.
In this lesson you will
- Choose a deployment option
- Package an application for reliable installation
Key concepts
hosted deploymentlocal server deploymenthybrid deploymentconfiguration by environmentoffline installation
The lesson
Hosted APIs need internet and a budget but no special hardware. A local server with open models keeps data on site and avoids per-token costs but needs hardware, maintenance and power. Hybrid designs use local models for routine work and hosted ones for hard tasks.
Package the application with pinned dependencies, configuration from environment variables, model download or cache instructions, and a health-check endpoint.
Test installation on a clean machine; document hardware requirements honestly.
Step by step
- Compare three deployment options for the capstone.
- Pin dependencies and externalise configuration.
- Add a health check.
- Install on a clean machine.
Practice activity
Choose and package the capstone deployment.
Expected result: A justified choice and a package that installs cleanly.
Check your understanding
-
Name one advantage and one disadvantage of local deployment.
Show answer
Data stays on site and there are no per-token costs; it needs hardware and maintenance.
-
Why test installation on a clean machine?
Show answer
To catch hidden dependencies.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.