MORRIS LOCAL AI FIELD NOTES 繁體中文 ↗

05 / 07 · App deployment

Deploy the AI application from laptop to server

AI Application Deployment

Key concepts

Checkpoint

The laptop prototype works. How will you deploy it for daily team use?

  1. Single-host deployment

    Fits smaller services with limited operations capacity and maintenance windows.

    Tradeoffs · Keeps deployment simple but shares resources and failure impact.

    Verify · Test resource limits, restart behavior, startup, and host recovery time.

  2. Separate application and GPU hosts

    Fits shared inference or separate application and model operations.

    Tradeoffs · Allows independent updates but adds networking, authentication, and tracing.

    Verify · Simulate inference timeouts, updates, and outages and verify graceful handling.

  3. Prepare replacement capacity

    Fits services with explicit downtime and recovery targets.

    Tradeoffs · Requires spare capacity, state backups, and tested failover procedures.

    Verify · Rehearse outage and rollback and measure recovery time and data loss.

Hands-on check

Turn off the development laptop and complete a task from another device. Repeat after restarting the service.

References

Illustration credits

← Back to the field lab