Creating a first container in Azure

Let's create a first simple container in Azure using the portal:

  1.  Go to Container Instances under New | Marketplace | Everything, as shown in the following screenshot:

  1. After having chosen the Container Instances entry in the resources list, you will have to define some properties, which are described as follows:

At first, we will need to define the Azure container name. Of course, this needs to be unique in your environment. Then, we will need to define the source of the image and to which resource group and region it should be deployed within Azure.

  1. As already mentioned, containers can reside on Windows and Linux, because this needs to be defined at first. Afterwards, we will need to define the resources per container:
    • Cores
    • Memory
    • Ports
    • Port protocol
    • Restart policy (if the container went offline)

  1. After having deployed the corresponding container registry, we can start working with the container instance:

  1. When hitting the URL posted in the left part, under FQDN, you should see the following screenshot:

After we have finalized the preceding steps, we have an ACI up and running, which means that you are able to provide container images, load them up to Azure, and run them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.228.44