In last section, we created a container based on an Azure Container Registry image on a virtual machine. In this section, we will investigate Azure Container Instances. Azure Container Instances is a managed service provided by Azure to host containers. It is a service that helps in executing and running containers by providing a platform that is completely managed by Azure.
Using Azure Container Instances completely alleviates the need of any Infrastructure as a Service (IaaS) components, such as creating virtual machines to host containers. We will again use the Azure CLI to create Azure Container Instances as well.
If you have not yet logged into Azure using the CLI, log into Azure using the az login command and select an appropriate subscription.
The command for log in is as follows:
The command for setting up the subscription is as follows:
Create...