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.
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.
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:
- 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.
- Once code is committed, the Container Registry service is triggered and builds the Docker image automatically.
- After creating an image, call back the Open API of the Container Service to update the container application.
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.
- Split a monolithic application into several microservices, and package microservices with Docker images.
- Use the Docker Compose template to describe the configurations and dependencies of services.
- Deploy the application with the selected Compose template.