Overview of Azure Container Apps Blog
Using cloud computing and DevOps has made optimizing application delivery more important in recent times. Containers are one such technology which has gained popularity and is widely accepted as the future. Microsoft revealed the public preview of Azure Container Apps at Ignite 2021. This fully managed container runtime allows you to build and execute modern apps at scale.
This article will explain the technology, its benefits, and your options for running containers in Azure.
What are containers?
Azure Container Apps can be used to execute microservices or containerized apps in a serverless environment. These apps are often used for the following purposes.
Azure Container Apps allows you to execute application code that has been bundled into any container, regardless if it is runtime or programming type. Container Apps allows you to run containers without worrying about cloud infrastructure or complex container orchestrators.
Uses for Container:
This could be used to:
You can run multiple container versions and manage the application life of each container app.
Scale your apps automatically based on any KEDA-supported trigger.
Most apps can be scaled to zero1. Allow HTTPS ingress without the need to manage additional Azure infrastructure.
Distribute traffic among different versions of the application to facilitate Blue/Green deployments or A/B testing.
Secure internal-only endpoints can be secured using internal ingress and service discovery that uses built-in DNS-based service Discovery.
Dapr makes it easy to create microservices, and its extensive API set allows you to use them.
You can use any registry, private or public, to run containers. This includes Docker Hub and Azure Container Registry.
Use the Azure CLI extension to manage your apps or ARM templates to administer them.
Securely manage secrets in your application. Azure Log Analytics can be used to view application logs.
Azure Container Apps: Features
Azure Container Apps Features: Build and Deploy Modern Apps, and Microservices
HTTP APIs, microservices and event processing are just a few of the supported application types.
You can develop code in your preferred language or framework.
Autoscaling features are robust and dependent upon HTTP traffic or event triggers
Simple setups are possible for modern application lifecycle tasks.
This type of service is offered by GCP and AWS. You can use Elastic Kubernetes Service in AWS with a Fargate profile. This makes EKS a serverless service since no worker nodes are needed. You can use Google Kubernetes Engine AutoPilot in GCP to operate Kubernetes with no worker nodes.
Start with Azure Container Apps
Let’s get started with creating container apps now you know what Azure Container Apps is!
Log in to Azure and navigate to Container Apps.
After that, click on the blue Create container application button.
Next, you must select a resource group that the container app can exist in. The name of the container app (the name of what is currently running), A container environment for storing logs. Fill in these details and then click Next: App Settings.
You can start defining the container app and how it will appear after you have visited the Create Container App page.
First, disable the Use quickstart image. Next, give your container app a moniker. Choose the Docker hub image source and Public image type. To use the Dockerhub Nginx image, type nginx.latest. Make sure Ingress is enabled. Nginx is a frontend server/app that you need to configure Ingress.
You can also scroll down to select the Ingress visibility or the destination port. The Nginx web application will be available to the entire world. You can select external visibility and a target Port of 8080.
Once you are done, click the blue Review + Create button.
Finally, the container app should now appear in the resource group that you have selected.
Get rid of waste
You can delete the resource group if you no longer plan to use this application.
Select the my-container apps resource group from the Overview pane.
Click the Delete button at the top of the resource groups overview.
Additionally, in the Are you sure that you want to delete “my_container_apps” confirmation popup enter the resource group name, my-container_apps.
You can also choose to delete.
It may take several minutes to delete the resource group.
Azure Container Apps Preview environmentsIndividual container applications can deploy to a single Container Apps environment. This serves as a secure border to container app groups. Container apps installed in the same environment use a single virtual network and log to a single Log Analytics workspace.
Containers in Azure Container Apps Preview Container Apps manages Kubernetes for you and provides details about container orchestration. Containers in Azure Container Apps can run any runtime, programming languages, or development stack you choose.
Preview of Revisions in Azure Container Apps PreviewA rev is a container app’s immutable snapshot. The first revision of your container app is created automatically when you deploy it. New revisions are produced immediately if the container app’s template configuration changes. Revisions can be modified, but global configuration variables changes, which are applicable to all revisions, are not.