Alibaba CDN is a service that optimizes delivery of files, images, and assets. It’s used to improve the performance of websites hosted by server applications such as NGINX or Apache.
Alibaba CDN is beneficial in many ways, but it can be particularly useful for boosting performance in situations where your applications are distributed across a wide geographic area. By properly configuring the CDN for multiple regions, you can ensure that data is delivered to users faster and more reliably, no matter how close they are in physical terms to your main datacenter.
This is an important benefit, because although in theory the Internet connects all parts of the world equally, in practice, data transfer speeds are impacted by the physical difference separating servers from endpoints. Given that even a few seconds’ delay is often not acceptable to users, it is very important to optimize the delivery speed of data and the availability of your application no matter how much physical distance separates users from your data center.
Alibaba CDN is one of the services provided by Alibaba Cloud. It has several distribution nodes around the world so that simultaneous updates to different services are facilitated, and consequently reduce downtime.
Alibaba CDN is a network of clusters of edge servers distributed in different regions, and distribution is concentrated on these servers. In this way, the applications work in an accelerated way by being close to the users, with faithful copies of the applications on their servers. Like many of Alibaba Cloud’s services, CDN has a pay-per-use pricing model.
Below is a diagram that illustrates how data replication is performed between CDN nodes. As we can see, the user makes the request to the initial access point, and this request will analyze where the user is located so that the nearest server responds to it. That way, there is no delay in application access for the user.
When we apply the configuration of the CDN in a multi-national way, it is easy to see how we should proceed. You need to create the CDN and define in which countries your application should be available. You can even use monitoring to see where you need to scale up due to localized demand. Updates take place automatically, and transparently to the user.
To create a CDN, we need to access the Alibaba Cloud portal. In the main dashboard, we have to choose the option Alibaba CND, in the field Storage & CDN, as indicated in the image below.
When accessing it, you must select the CDN Domain Name List on the left side and create a domain name by clicking Add Domain on the right side. Within these options, choose according to your needs. An example of this screen is presented below.
Within Business Type, we can choose the following options:
Within Origin Site Type, we have the following options:
And to finish, we need to choose the Accelerating Region:
At this point, you must select Global Acceleration or Overseas Acceleration (non-Chinese mainland) so that your application can be replicated in different places in China. After going through the steps of creating the CDN Domain Name, there is an approval period. After approval, the management console can be accessed.
After CDN creation, we can add our files to the CDN, then get the URL of each file and use them to build websites and applications. The files served by Alibaba CDN will be provided efficiently and quickly to users, in whichever regions the CDN has been configured to serve.
Not all public cloud platforms provide complete built-in CDN services. Before considering which cloud to use, evaluate the importance of having an integrated CDN solution, which, as noted above, can be particularly useful in situations where you need to deploy an application across a wide geographic area.
Brena Monteiro is a Fixate IO Contributor and a software engineer with experience in the analysis and development of systems. She is a free software enthusiast and an apprentice of new technologies.
Alibaba Clouder - November 28, 2018
Alibaba Clouder - June 23, 2020
Alibaba Clouder - May 27, 2019
Alibaba Clouder - April 30, 2020
Alibaba Clouder - December 15, 2017
Alibaba Clouder - November 29, 2016
A scalable and high-performance content delivery service for accelerated distribution of content to users across the globeLearn More
Save egress traffic cost. Eliminate all complexity in managing storage cost.Learn More
Power your progress in China by working with the NO.1 cloud provider of this dynamic market.Learn More
Dynamic Content Delivery Network (DCDN) is a high-performance, reliable, and secure whole site acceleration solution.Learn More
More Posts by Alibaba Clouder