category
Microservices architectures typically package and deploy each microservice instance inside a single container. Many instances of the microservices might be running, each in a separate container. Containers are lightweight and short-lived, making them easy to create and destroy, but difficult to coordinate and communicate between. This article discusses the challenges of running a containerized microservices architecture at production scale, and how container orchestration can help. The article presents several Azure container orchestration options. In this simple containerized Azure Kubernetes Service (AKS) cluster: To manage the cluster, a DevOps team has to: With container orchestration, the DevOps team can represent the cluster's desired state as a configuration. A container orchestration engine enforces the desired configuration and automates all the management tasks. Consider containerizing a simple three-tier web application: Running these containers on a single development machine might not be too hard. However, running the application in high availability mode at scale in a production cluster quickly becomes challenging. Container orchestration is crucial for large and dynamic production environments. The following example shows how container orchestration can help manage cluster deployment, networking, and scaling. The container orchestrator: Automatically scales the number of microservice instances, based on traffic or resource utilization. In the example, the orchestrator automatically adds another Microservice A instance in response to increased traffic. Manages the containers to reflect the configured desired state. In the example, Microservice B is configured to have two instances. One instance has become unhealthy, so the orchestrator maintains the desired state by creating another instance. Wraps the containers for each microservice in a simple service layer. The service layer: Container orchestrators also provide flexibility and traffic control to: Here are some options for implementing microservices container orchestration in Azure: Azure Kubernetes Service (AKS) is a fully managed Kubernetes container orchestration service in Azure that simplifies deployment and management of containerized applications. AKS provides elastic provisioning, fast end-to-end deployment, and advanced identity and access management. Azure Service Fabric is a container orchestrator for deploying and managing microservices across a cluster of machines. The lightweight Service Fabric runtime supports building stateless and stateful microservices. A key Service Fabric differentiator is its robust support for building stateful services. You can use the built-in stateful services programming model, or run containerized stateful services written in any language or code. Azure Container Instances (ACI) is the quickest and simplest way to run a container in Azure. With ACI, you don't have to manage virtual machines or adapt higher-level services. For simple orchestration scenarios, you can use Docker Compose to define and run a multi-container application locally. Then, deploy the Docker containers as an ACI container group in a managed, serverless Azure environment. For full container orchestration scenarios, ACI can integrate with AKS to create virtual nodes for AKS orchestration. Azure Spring Apps is an enterprise-ready, fully managed service for Spring Boot apps. With Spring Apps, you can focus on building and running apps without having to manage infrastructure. Spring Apps comes with built-in lifecycle and orchestration management, ease of monitoring, and full integration with Azure. Azure Red Hat OpenShift (ARO) supports deployment of fully managed OpenShift clusters on Azure. Running Kubernetes production containers requires integration with frameworks and tools like image registries, storage management, monitoring, and DevOps. ARO extends Kubernetes by combining these components into a single container platform as a service (PaaS). This article is maintained by Microsoft. It was originally written by the following contributors. Principal author: To see non-public LinkedIn profiles, sign in to LinkedIn.
Containerized microservices architecture
Advantages of container orchestration
Choose an Azure container orchestrator
Contributors
Next steps
Related resources
- 登录 发表评论
- 1次浏览
最新内容
- 15 hours ago
- 15 hours ago
- 15 hours ago
- 15 hours 23 minutes ago
- 15 hours 25 minutes ago
- 15 hours ago
- 15 hours ago
- 15 hours ago
- 15 hours ago
- 15 hours 48 minutes ago