×
Community Blog Configuring CDNs for Multiple Regions on Alibaba Cloud

Configuring CDNs for Multiple Regions on Alibaba Cloud

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.

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.

1 1 1
Share on

Alibaba Clouder

2,599 posts | 764 followers

You may also like

Comments

Raja_KT February 10, 2019 at 1:00 pm

On selecting Accelerating Region,it says "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." . How much time it takes to take effect?

Alibaba Clouder

2,599 posts | 764 followers

Related Products

  • CDN(Alibaba Cloud CDN)

    A scalable and high-performance content delivery service for accelerated distribution of content to users across the globe

    Learn More
  • Content Delivery Solution

    Save egress traffic cost. Eliminate all complexity in managing storage cost.

    Learn More
  • Edge Node Service

    An all-in-one service that provides elastic, stable, and widely distributed computing, network, and storage resources to help you deploy businesses on the edge nodes of Internet Service Providers (ISPs).

    Learn More
  • Edge Security Acceleration (Original DCDN)

    Edge Security Acceleration (ESA) provides capabilities for edge acceleration, edge security, and edge computing. ESA adopts an easy-to-use interactive design and accelerates and protects websites, applications, and APIs to improve the performance and experience of access to web applications.

    Learn More