In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Container technology provides a standardized delivery method, which packages the application code and code environment dependencies together to become an environment-independent deliverable, which can be used at any stage of the software life cycle. it has completely changed the traditional way of software delivery.
It can even be said that it is after container technology that key OPS issues such as DevOps and CI/CD have made a qualitative leap: realizing the dynamic creation and destruction of resources, lighter container technology can not only ensure environmental consistency but also further increase the iterative frequency, and various container platforms can also better ensure high application availability, automatic scaling, business continuity, and so on.
Today, we will share with you the container image repository ACR supporting Singles Day, and how it is implemented with IDE plug-ins and CICD/ cloud native application delivery chain to achieve one-click deployment and continuous integration. The following is an outline of this article:
What is Container Image Warehouse ACR with free IDE plug-ins to achieve one-click deployment how to use CICD/ cloud native application delivery chain to achieve continuous integration and delivery
Want to hear an online explanation of soft cute sound? Ali Yun little sister live, hand-in-hand to teach you, December 5 at 8: 00 p.m. to 9: 00 p.m., waiting for you in the broadcast room (and a screenshot to send gifts! ), the address of the studio, click the link: https://developer.aliyun.com/special/cloudtoolkitlive.
Container Image Warehouse ACR
In order to better support the requirements of large-scale distribution on Singles Day, the container image service (Alibaba Cloud Container Registery, ACR) team carries out planning and iterative updates in advance, which comprehensively improves the performance, observability and stability in large-scale distribution scenarios. Before the advent of the new Singles' Day, the container image service has reached the image hosting capacity of several PB, pulling hundreds of millions of images per month, smoothly passing the peak of 544000 transactions.
Aliyun Image Warehouse ACR is divided into default instance version and enterprise version. Although multi-dimensional optimization is made with Aliyun products, it is not forcefully bound with Aliyun. The default instance version of ACR is for container developers. It provides secure image hosting and convenient image authorization features, facilitates image lifecycle management, simplifies the construction, operation and maintenance of Registry, and supports image hosting in 20 regions around the world. For enterprise customers with high security requirements and large-scale deployment of business in multiple regions, ACR Enterprise Edition provides large-scale image distribution capabilities, enterprise-class security exclusive features, as well as cloud native application delivery chain, full-link observable, traceable and configurable, and can achieve automatic delivery of one application change and multiple scenarios.
Cdn.com/7f9a8cb2877e62a42b804e48bcc5a2842d6ac1ff.png ">
Official link address: how https://www.aliyun.com/product/acr works with free IDE plug-ins for one-click deployment
Cloud Toolkit is a free local IDE plug-in, many technical blogs have related reviews, is a good reputation plug-in. It can help developers develop, test, diagnose and deploy applications more efficiently. After setting the initial configuration of the plug-in, you can deploy local applications to any server Host with one click, or even to the cloud (ECS, ACR, Kubernetes, Mini Program Cloud, etc.). There are also built-in tools such as Arthas diagnostics, Dubbo tools, Terminal terminals, file uploads, function calculations and MySQL executors, reducing the time to switch work interfaces. It is recommended to install a trial wave. Here's how the plug-in deploys the application to the container image repository ACR with one click.
Official download address: https://cn.aliyun.com/product/cloudtoolkit
For a developer's deployment package, from the formation of an image to the image repository, each manual operation needs to go through the following four steps: log in to Aliyun Docker Registr--, pull the image from Registry, > push the image to Registry-- > select the appropriate image repository address. However, with Cloud Toolkit, developers can deploy to the image repository with one click on the local IDE.
(I) configure plug-in preferences
After installing the plug-in, click: top menu Tools-> Alibaba Cloud Toolkit-- > Preferences-- > Alibaba Cloud Toolkit-- > Accounts in the left list, and the following interface appears to configure the AK and SK of the Aliyun account to complete the preference configuration. (if it is a sub-account, fill in the AK and SK of the sub-account).
(2) set local Docker image packaging
* * Click: top menu Tools-> Alibaba Cloud Toolkit-- > Preferences-- > Alibaba Cloud Toolkit-> Docker in the list on the left, as shown below, set the local Docker image packaging.
(3) deploy applications
Step 1: in Intellij IDEA, click on the top menu Tools-- > Alibaba Cloud-- > Deploy to ACR/ACK-- > Deploy to ACR as shown below.
Step 2: set up Image
In the Image tab, select the Context Directory and Dockerfile of the local application (usually automatically identified and set based on your local application project). Select the region, namespace and image repository of the container image service.
Step 3: perform deployment
After clicking the Run button, you can push the local Docker image to ACR.
How to use CICD/ cloud native application delivery chain to achieve continuous integration and delivery
The cloud native delivery chain of ACR Enterprise Edition has been further improved in hosting, delivery and distribution, and has been greatly promoted by double 11, which has precipitated the technical experience of ten thousand nodes collaboration in cloud native applications.
Currently, two kinds of cloud native application assets, container image and Helm Chart, are supported, and independent network access control is adopted, which can finely control the access policy of public network and VPC network. Only sources who meet the policy are allowed to access the assets to ensure access security.
At the same time, the process automation of the whole application delivery cycle is realized. as long as the developer changes the application once and delivers according to the configuration of multiple scenarios, the developer can achieve one application change and global multi-scene automatic delivery.
In the application delivery process, ACR EE supports automatic initiation of static security scans and custom configuration of security blocking policies. Once high-risk vulnerabilities in static applications are identified, subsequent deployment links can be automatically blocked. Users can update and optimize to build a new mirror version based on the fix recommendations in the vulnerability report, and initiate delivery again. The construction of CICD system also needs to take into account the overall stability and improve the overall delivery capacity as much as possible, such as monitoring and alarm, fault tolerance and disaster tolerance, dependent governance, current limitation and degradation, and capacity planning. Here we can share the relevant experience of the ACR team:
In the aspect of dependent governance, it is necessary to uniformly manage the relevant key links and external dependencies in the cloud native application delivery chain, identify hot spot warehouses and track the implementation results of the delivery chain; in terms of current limitation and degradation, it is best to analyze and identify the primary and secondary business functions of the core links of cloud native application distribution, giving priority to ensuring the completion of primary business logic, while secondary business logic can be degraded and delayed. In terms of capacity planning, the platform expands resources on demand according to the upstream and downstream business changes to ensure the normal delivery of cloud native applications.
The container image service ACR and plug-in Cloud Toolkit are available to developers free of charge, helping technicians improve the efficiency of development and deployment, reducing time costs and improving the quality of business at the same time. As well as the top flood peak traffic scenario of Singles' Day as a practical case, I hope this article can help those in need and get started quickly through related articles, so as to achieve real business value.
Live broadcast introduction
Want to hear an online explanation of soft cute sound? Ali Yun little sister live broadcast hand-in-hand to teach you efficient production, one-click deployment of the image, December 5 at 8: 00 p.m. to 9: 00 p.m., waiting for you in the live room (and a screenshot to send gifts! ), the address of the studio, click the link: https://developer.aliyun.com/special/cloudtoolkitlive.
"Alibaba Cloud's native Wechat official account (ID:Alicloudnative) focuses on micro-services, Serverless, containers, Service Mesh and other technology areas, focuses on cloud native popular technology trends, and large-scale cloud native landing practices, and is the technical official account that best understands cloud native developers."
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.