Creating your first Azure Container App
August 08, 2022 by Anuraj
Azure Docker Container
This post is about what is azure container app and how to deploy a docker image to azure container app. The Azure Container Apps service enables you to run microservices and containerized applications on a serverless platform. First we can search for Container App in the search box - and select the Container App and click on the card.
In the first screen, like the Azure resources we need to configure the name and resource group.
Other than this we need to configure an Azure container environment. The environment is a secure boundary around one or more container apps that can communicate with each other and share a virtual network, logging, and Dapr.
Once the environment is created, we can choose this from the dropdown list. In the next screen we can configure the docker image settings - we can use the default image - hello world docker container image. Or we can configure our own docker image from any docker registry - I am using Docker Hub.
I am using this docker image - anuraj/securelinks-api and it is a public image and I am configuring the image with the version. And in the Application ingress settings we need to configure the HTTP Traffic. And if we like to expose our web app in internet choose the Accept traffic from any where option. And we need to configure the port to accept traffic. Since I am using an ASP.NET Core Web API app - I am configuring the port 80. Once it is done we can configure tags and then click on review and create button to create the container apps. Azure will provide a domain name and SSL certificate for the app. And you will be able to browse app using the URL.
Happy Programming :)
Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub