Scenarios

Last Updated: Sep 26, 2017

High traffic websites

For websites which have a high volume of traffic, or experience sudden spikes for a very short time, Alibaba Cloud Container Service provides automatic scaling of Docker applications. Used in integration with Server Load Balancer, the Container Service can efficiently manage traffic peaks and maintain a consistent user experience.

Solution architecture:

ECS instances + Server Load Balancer instance to the container cluster + ApsaraDB for data storage

You can use WordPress or other container images to deploy a web application in one single click.

scenario 1

Creation of a continuously integrated system

When a new application is launched in the market, a lot of steps are involved in deploying the application from your codebase to the production site, resulting in high overhead costs.

In such scenarios, Alibaba Cloud Container Service implements a CI/CD pipeline which reduces cost as well as time to market. This helps companies to accelerate application development, automate the deployment steps, and offer a more stable product.

Steps to implement CI/CD pipeline:

  1. Create a Docker repository of the automatic build in Alibaba Cloud Container Registry service, and associate the source control management systems to GitHub or Alibaba Cloud Code.
  2. Once code is committed, the Container Registry service is triggered and builds the Docker image automatically.
  3. After creating an image, call back the Open API of the Container Service to update the container application.

scenario 2

Microservice architecture

Monolithic applications are extremely complex, and can be difficult to maintain, upgrade, and update with new features. In order to update a small feature, you generally need to redeploy the entire application. Implementing microservice architecture resolves this issue by creating a single application as a suite of small, independent services that run in their own processes and are developed and deployed independently.

Alibaba Cloud Container Service packages such microservices and deploys them with Docker compose templates.

Solution architecture:

  1. Split a monolithic application into several microservices, and package microservices with Docker images.
  2. Use the Docker Compose template to describe the configurations and dependencies of services.
  3. Deploy the application with the selected Compose template.

scenario 3

Thank you! We've received your feedback.