AI Hosting & Deployment
Serverless & Edge Deployment
In this lesson, we will learn about serverless and edge deployment, which are two important concepts in deploying AI models. We will understand how serverless deployment works and the benefits it offers, as well as how edge deployment can improve the performance of AI models.
Why It Matters
Serverless and edge deployment matter in the real world of AI because they enable developers to build and deploy AI models efficiently, without worrying about the underlying infrastructure. This allows developers to focus on building better AI models, which can improve decision-making and operations in various industries.
Key Points
Key Concepts
A cloud-based service that allows developers to deploy their AI models without worrying about the underlying infrastructure.
Deploying AI models at the edge of the network, closer to the user or device.
A company that provides cloud-based services, such as infrastructure, platforms, and software.
Application Programming Interface, a set of rules for building software applications that interact with each other.
An open-source machine learning framework developed by Google.
Code Examples
A simple example of using Google Cloud Vertex AI to deploy a TensorFlow model.
from google.cloud import aiplatform
aiplatform.Model.deploy(model_name='my_model', deployed_model_id='my_model_deployment')
A simple example of using Google Cloud Vertex AI to deploy a Scikit-Learn model.
from google.cloud import aiplatform
aiplatform.Model.deploy(model_name='my_model', deployed_model_id='my_model_deployment')
From the books
Quick Quiz
1. What is serverless deployment?
2. What is edge deployment?
3. What is the benefit of serverless deployment?