Skip to content
Back to course
IntermediateHalf day to full dayInstructor visible

AI Automation with n8n, Ollama, LiteLLM, RAG, and ComfyUI Intermediate capstone

A team needs a production-ready ai automation with n8n, ollama, litellm, rag, and comfyui design with evidence that it survives failure and rollback.

Business context

Ultiblob uses this exercise to train ai automation engineer candidates on realistic private-cloud lab operations rather than static videos.

Technical objective

Design, validate, document, and recover a ai automation with n8n, ollama, litellm, rag, and comfyui environment using the provided templates and checks.

Student instructions

  1. 1Open the lab workspace and review the topology map.
  2. 2Launch the required templates and wait for all provisioning checks to complete.
  3. 3Complete the configuration task in the course module.
  4. 4Run validation and capture the result for instructor review.
  5. 5Create a snapshot before any risky troubleshooting or failure exercise.

Troubleshooting

  • If access fails, confirm the bastion session is active and the instance is not expired.
  • If validation fails, inspect the lab event log before rerunning the check.
  • If configuration drifts, restore the latest clean snapshot and repeat the module task.

Cleanup

  • Export notes or reports required by the instructor.
  • Restore or delete temporary snapshots created during the exercise.
  • Use the teardown action when the module is complete or allow the TTL policy to expire the lab.
Launch flow

Provisioning readiness

Pending
Waiting for launch

Click Launch lab to start the provisioning flow and watch each stage complete.

0%
  1. Request accepted
  2. Capacity reserved
  3. Templates queued
  4. Validation running
  5. Workspace ready
ai-endpoint-reachable
Pending
docker-running
Pending
vm-reachable
Pending

Required templates

  • n8n automation node - defined
  • Ollama/LiteLLM client node - defined
  • Vector database/RAG node - defined
  • ComfyUI workflow node - defined

Validation checks

  • AI endpoint reachable: The model gateway returns at least one allowed model for the tenant.
  • Docker running: Docker daemon responds and can run a hello-world container.
  • VM reachable: The VM reports boot complete and responds through the tenant bastion path.

Expected result

The lab reaches Healthy state for AI endpoint reachable, Docker running, VM reachable.

Reset policy: Student can reset to the last clean snapshot; instructor can force reset from admin view. Teardown policy: Automatic teardown at TTL expiry with manual instructor override for cohorts.