Book Image

Azure Containers Explained

By : Wesley Haakman, Richard Hooper
Book Image

Azure Containers Explained

By: Wesley Haakman, Richard Hooper

Overview of this book

Whether you’re working with a start-up or an enterprise, making decisions related to using different container technologies on Azure has a notable impact your app migration and modernization strategies. This is where companies face challenges, while choosing the right solutions and deciding when to move on to the next technology. Azure Containers Explained helps you make the right architectural choices for your solutions and get well-versed with the migration path to other platforms using practical examples. You’ll begin with a recap of containers as technology and where you can store them within Azure. Next, you’ll explore the different Microsoft Azure container technologies and understand how each platform, namely Azure Container Apps, Azure Kubernetes Service (AKS), Azure Container Instances (ACI), Azure Functions, and Azure App Services, work – you’ll learn to implement them by grasping their respective characteristics and use cases. Finally, you’ll build upon your own container solution on Azure using best practices from real-world examples and successfully transform your business from a start-up to a full-fledged enterprise. By the end of this book, you’ll be able to effectively cater to your business and application needs by selecting and modernizing your apps using various Microsoft Azure container services.
Table of Contents (22 chapters)
1
Part 1: Understanding Azure Container Technologies
8
Part 2: Choosing and Applying the Right Technology
14
Part 3: Migrating Between Technologies and Beyond

Deploying containers in ACI

Now that we have familiarized ourselves with the concepts of ACI, we will use our BillingStatements solution once again and see whether we can get this up and running in an ACI. First, as with anything in Azure, we need a resource group:

az group create `
--name "rg-containers-aci" `
--location "west europe"

Important note

Just like in the previous chapters, we will be using Azure Cloud Shell through the Azure portal to execute the Azure CLI commands.

You should see an output similar to the following:

Figure 4.2 – Output from creating a resource group

Figure 4.2 – Output from creating a resource group

Now that the resource group has been created, we have a place where our resources can live. The next step is to create a container group and deploy our billing statements application to it:

az container create `
--resource-group "rg-containers-aci" `
--name billingstatementscontainer `
--image whaakman/container-demos:billingstatementsv3...