OpsCanary
Back to daily brief
azurecontainer appsPractitioner

Mastering Ingress in Azure Container Apps: What You Need to Know

5 min read Microsoft LearnApr 27, 2026
Share
PractitionerHands-on experience recommended

Ingress settings in Azure Container Apps are essential for controlling how traffic flows to your applications. They allow you to define rules for both external and internal traffic, ensuring that your container apps can communicate securely and efficiently. This is particularly important in a microservices architecture where services need to interact seamlessly.

When you enable ingress, you can choose between external and internal types. External ingress accepts traffic from the public internet as well as from within your app's environment, while internal ingress restricts access to only internal sources. Azure Container Apps supports both HTTP and TCP ingress types, allowing for a wide range of protocols. You can also configure session affinity, which routes all HTTP requests from a client to the same container app replica, enhancing user experience. Traffic splitting between active revisions is another powerful feature, enabling you to test new versions without downtime.

In production, be aware that external TCP ingress is only supported in environments using a virtual network. Also, port number 36985 is reserved for internal health checks, so avoid using it for your applications. To expose additional TCP ports, ensure you have the container apps CLI extension installed. Keeping these details in mind will help you avoid common pitfalls and optimize your ingress configurations.

Key takeaways

  • Configure external or internal ingress based on your app's needs.
  • Utilize session affinity to enhance user experience with sticky sessions.
  • Implement traffic splitting to safely test new revisions.
  • Remember that external TCP ingress requires a virtual network.
  • Avoid using port 36985 for your applications.

Why it matters

Effective ingress management can significantly improve application performance and security in production. Misconfigurations can lead to downtime or security vulnerabilities, impacting user experience and operational efficiency.

Code examples

Bash
az extension add -n containerapp

When NOT to use this

The official docs don't call out specific anti-patterns here. Use your judgment based on your scale and requirements.

Want the complete reference?

Read official docs

Test what you just learned

Quiz questions written from this article

Take the quiz →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.