Deploy Azure AI Services In Containers
Introduction
Containers allow you to
run Azure AI services either in your local environment or within Azure. For
instance, if your application relies on sensitive information stored in an
on-premises SQL Server to access an Azure AI service, you can implement Azure AI
services in containers on the same network.
This ensures that your
data remains within your local network instead of being transferred to the
cloud. Furthermore, deploying Azure AI services in a local container will
reduce latency between the service and your data, which can enhance
performance.
Understand Containers
When you launch a
software service, it needs to be placed in an environment that supplies the
necessary hardware, operating system, and supporting runtime components
required by the service. Azure AI services are offered as a cloud service,
where the service software is maintained within an Azure data center that
supplies the core runtime services, operating system, and hardware.
Additionally, some Azure
AI services can be deployed within a container, which wraps the required
runtime components and is subsequently hosted on a container host that provides
the essential operating system and hardware.
What is a Container?
A container includes an
application or service along with the essential runtime components required for
its operation, while concealing the details of the operating system and
hardware beneath. In reality, this abstraction leads to two major advantages:
- Containers are portable across hosts, which may be running different operating systems or use different hardware - making it easier to move an application and all its dependencies.
- A single container host can support multiple isolated containers, each with its own specific runtime configuration - making it easier to consolidate multiple applications that have different configuration requirement.
The software and
configuration that a container must support are specified in the container
image that encloses the container. You can keep a collection of images in your
own registry or save them in a central registry like Docker Hub.
Container Deployment
In order to use a
container, you usually need to specify any necessary configuration parameters,
pull the container image from a registry, and deploy it to a container host.
The container host may be located on your local computer, in a private network,
or in the cloud.
Conclusion
We have successfully
learnt some basics about containers.
Comments
Post a Comment