Azure Container Apps - CI/CD deployments (Video Demo)
Tags: cloud, azure, containers, microservices
Published: 2022-01-11 15:37:41

[Azure Container Apps](https://cda.ms/3zW) is a container orchestration platform for deploying modern applications and microservices. With Azure Container Apps you can deploy your containerized apps without the need to take on the overhead of managing the infrastructure of the underlying systems. This service is still in preview, but provides you with the ability to use your preferred language or framework to build microservices with support for [Distributed Application Runtime (Dapr)](https://dapr.io/). There's also scaling of your containers with [Kubernetes Event-Driven Autoscaling (KEDA](https://keda.sh/)).

The [Comparing Container Apps with other Azure container options article on Microsoft docs](https://cda.ms/3B2) lists the major features of Azure Container Apps, including:

- Optimized for running general purpose containers, especially for applications that span many microservices deployed in containers.
- Powered by Kubernetes and open-source technologies like [Dapr](https://dapr.io/), [KEDA](https://keda.sh/), and [envoy](https://www.envoyproxy.io/).
- Supports Kubernetes-style apps and microservices with features like [service discovery](https://docs.microsoft.com/en-us/azure/container-apps/connect-apps) and [traffic splitting](https://docs.microsoft.com/en-us/azure/container-apps/revisions).
- Enables event-driven application architectures by supporting scale based on traffic and pulling from [event sources like queues](https://cda.ms/3zH), including [scale to zero](https://cda.ms/3zG).
- Support of long running processes and [can run background tasks](https://cda.ms/3zJ).

Some of the key concepts of [Azure Container Apps](https://cda.ms/3zW) include:

- [Environments](https://cda.ms/3zS) - isolated boundary around container apps
- [Containers](https://cda.ms/3zT) - grouping pods together inside revision snapshots
- [Revisions](https://cda.ms/3zV) - an immutable snapshot of a container app

Access to your logs for [Azure Container Apps](https://cda.ms/3zW) can be managed thanks to the [Azure Monitor](https://cda.ms/3zL) service, [Log Analytics](https://cda.ms/3zK). Log Analytics collects and aggregates logs from your Azure Container Apps instance for you to use for troubleshooting or monitoring purposes. Use [Kusto Query Language (KQL)](https://cda.ms/3zZ) to edit and run queries against your logs for specific details about your application's performance.

But isn't there a service already for deploying containers to Azure? Sure, there are several but [Azure Container Apps](https://cda.ms/3zW) provides you with much of the benefits of using [Azure Kubernetes Service](https://cda.ms/3B0), just without the native Kubernetes APIs for management. This means even a team without a large amount of experience using container orchestration can still build rich microservice applications on a platform that doesn't require you to understand all of the bits and pieces that come along with using Kubernetes.

This service is currently in preview and has some limitations around what regions you can deploy applications to as well as the [Microsoft Preview SLA.](https://cda.ms/3zY)

---

I recently spent some time working with Azure Container Apps and recorded a demo on how to deploy a very simple "Hello World!" containerized app. You can follow along and set up your own deployment, or just watch me and see how easy it is to get started using Azure Container Apps.

 
{% youtube ZAHqznR491I&t=1s %}

Steps will be:

1. Create a resource group
2. Create ACR
3. Create a service principal ID for our deployments
4. Build our container
5. Configure Azure Container App
6. Enable CI/CD to build on a push to the GitHub repo
7. Review and update revisions.

The app is available here: https://github.com/jaydestro/demo-app

Thanks for reading and watching. Keep your eyes on the [Azure Updates website](https://cda.ms/3B1) for details on new features and general availability.

 
**Docs for this session:**

[Azure Container Apps Preview documentation](https://cda.ms/3BL
)
[Quickstart: Create a private container registry using the Azure CLI](https://cda.ms/3zM)
[Create an Azure service principal with the Azure CLI](https://cda.ms/3xb)
[Tutorial: Build and deploy container images in the cloud with Azure Container Registry Tasks](https://cda.ms/3xd)
[Quickstart: Deploy an existing container image in the Azure portal](https://cda.ms/3BM)
[Publish revisions with GitHub Actions in Azure Container Apps Preview](https://cda.ms/3zQ)