Configuring CDNs for Multiple Regions on Alibaba Cloud

简介: Alibaba CDN is a service that optimizes delivery of files, images, and assets.

NW_002

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.

How multiple CDNs work

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.

01

Source: http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/27105/intl_en/1464580456881/architecture-en-001.png

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.

Configuring a CDN in Alibaba Cloud

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.

02

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.

03

Within Business Type, we can choose the following options:

04

Within Origin Site Type, we have the following options:

05

And to finish, we need to choose the Accelerating Region:

06

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.

Conclusion

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.

Bio

07

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_Cloud_Whitepaper_-_The_Cloud_is_Taking_Over_Ecommerce》电子版地址
Alibaba_Cloud_Whitepaper_-_The_Cloud_is_Taking_Over_Ecommerce
67 0
《Alibaba_Cloud_Whitepaper_-_The_Cloud_is_Taking_Over_Ecommerce》电子版地址
|
机器学习/深度学习 存储 边缘计算
What I Think Alibaba Cloud Should Do In The Next 5 Years
In the next five years, Alibaba Cloud should focus on expanding its suite of services, delivering better customer service, and continuing to evolve its product offerings to meet the changing needs of its customers
120 0
What I Think Alibaba Cloud Should Do In The Next 5 Years
|
存储 负载均衡 网络性能优化
|
网络协议 关系型数据库 Linux
Cloud platform build management Topic | Cloud computing (FREE)
云平台构建及管理习题(试读)
162 0
|
存储 网络协议 安全
|
存储 监控 文件存储
|
监控 网络协议 安全
Security Topic | Cloud computing (FREE)
云计算 Security 习题(试读)
120 0
|
安全
Three Reasons to Add Alibaba Cloud to Your Multi-Cloud Strategy
From the minute you chose one of the world’s most popular cloud computing companies as your strategic cloud services provider, your world became multi-cloud.
2119 0
Three Reasons to Add Alibaba Cloud to Your Multi-Cloud Strategy
|
定位技术
Esri and Alibaba Cloud to Bring Enhanced Location Intelligence Technology to Cloud Users
Esri and Alibaba Cloud are working together to combine Esri’s excellence in GIS with Alibaba Cloud’s world-class Cloud Computing capabilities.
1398 0
Esri and Alibaba Cloud to Bring Enhanced Location Intelligence Technology to Cloud Users
|
网络协议 安全 关系型数据库
Using Mautic Automated Marketing on an Alibaba Cloud Instance with DirectMail
In this tutorial, we will install Mautic on a LEMP stack, using the Webinoly Optimized server automation tool.
3701 0
Using Mautic Automated Marketing on an Alibaba Cloud Instance with DirectMail