Skip to the content

OpsInventor

OpsInventor

Adobe Experience Manager Consulting & Knowhow

Tips for AEM Infrastructure in China: Designing an in-China or Near-China Site Architecture

Tips for AEM Infrastructure in China: Designing an in-China or Near-China Site Architecture

July 1, 2021 6By Tad Reeves

Let’s say you’re already past Part 1 of the running-marketing-sites-in-China journey, and after analyzing your current site’s user experience in China you’ve decided SOMETHING HAS TO CHANGE. The next big question is:

Do you need infrastructure IN China or just CLOSER TO China?

Let’s break down what each of those approaches entails, and how close each one gets you to what you’re trying for.

Table of Contents

Toggle

What’s Involved in Hosting in China?

Hosting your site in China gets you a number of decided advantages, but is a complex and rather involved process that comes with limitations as well. For example:

China ICP Licensing: When You Need It and When You Don’t

In order to host any website within the borders of mainland China (i.e. not in Hong Kong or Macau), the first thing you’ll need to do is to apply for what’s called an ICP License.

ICP stands for “Internet Content Provider” and is a state-issued registration that allows a China-based website to legally exist. Two different licenses are available – essentially one for commercial activities, and the other (called a Bei’an license) for non-commercial activities. You require a commercial license though if you intend to:

If you intend to host any of this on a server in mainland China, or if you intend to host outside of China but use an in-China CDN like Akamai to accelerate your web traffic, you need to get an ICP license first. This site give a very informative rundown on the ICP process and what’s involved.

Another facet of this is that generally only Chinese citizens and companies can get approved for an ICP license. From the site linked above, the following individuals & entities can apply for a license:

Once you’ve got an ICP license, you can then start building out infrastructure – either just by deploying your content via a CDN and a .cn domain, or by using a local ISP like AliCloud to host your content.

Is AEM as a Cloud Service Available Inside China?

At this time, no. AEM as a Cloud Service is not available in mainland China. As noted in AEM as a Cloud Service a Year Later – Update on Features & Limitations the closest you’d be able to get, geographically, to running AEMaaCS in China is the APAC-Japan region. One could run AEM as a Cloud Service out of Japan, get an ICP license for China and a local in-China CDN, but this would mean all un-cached calls back to the origin would still have to go back out the high-latency connections to Japan.

Regarding Designing an In-China AEM Infrastructure

There are a few design concerns one should think with when designing an infrastructure for China, and I’d like to illustrate these using a hodgepodge made-up infrastructure that has elements from the last few AEM environments I’ve seen in China.

The set-up: Let’s assume you’re a US company with an existing AEM environment. It’s a three-publisher setup with a standalone Author, and most of your Authoring manpower is in the USA. You front your website with Akamai, but that’s just the normal “Global-but-not-China” Akamai service that you’re paying for. You’ve got a SolrCloud search backend that builds many of your pages on the fly out of search, as well as a legacy PIM (product information management) system that has a catalog of all of your products and specifications. You use Dynamic Media for your images and video content. What might your in-China AEM infrastructure look like, and what are some gotchas on this?

In the infrastructure schematic above, you can see the global infra on the left, and the newly-deployed China infra on the right. The vertical, heavy red dashed line represents everything inside or outside of mainland China. The red dotted lines all represent high-latency, potentially slow/unreliable connections outside of China.

A few points to make about this diagram which might be food for thought for your own China plans:

This AEM infrastructure listed above is a simplified one, and many AEM implementations end up with considerably more integration points than this one – especially as they connect with legacy sites and backend systems, and especially if they also perform an eCommerce role and need to have the user-facing servers integrate with product management, Magento/Hybris, or other tooling. The most important take-away is that in evaluating a service design for China, one has to think with ALL the ways it will have to talk to anything outside of AEM, and to also isolate which of those communication points have a direct real-time impact on a user request.

The Alternative: Building Infrastructure CLOSER TO China (but not IN China)

Let’s assume for discussion that you’ve evaluated the options above, but have decided that it’s either (a) impractical or impossible to obtain an ICP license to host in China, or (b) not quite worth the full two-footed effort to go all-in on China, when much of your traffic is spread throughout the rest of the Asia-Pacific region. What options do you have?

Running a Near-China AEM as a Cloud Service Installation

Full disclosure: I haven’t done this yet. But this would be a sample of how one might run AEM as a Cloud Service for China. Some call-outs from the diagram above:

It’s not 100% ideal, as of course all of your un-cachable calls still need to transit the firewall and can potentially get QoS’ed or blocked, but still vastly better than the UX local Chinese will get if your site is hosted entirely outside of the firewall.

Clearly, a similar configuration (or modification of such) could be created with AEM on-premise as well, with a million permutations of such. All of them have their potential advantages and drawbacks though in terms of cost, resiliency and performance.

Regarding the Sheer Size of the China Market

There is no doubt that it’s going to be a lot of hassle and a lot of expense to get your infrastructure right to properly cater to the Chinese market. Some companies I’ve dealt with have looked at the relatively small numbers of visits from China that they currently get, and have assumed that it’s not really worth it to put more than a cursory effort into getting their site performing well for China – even if they do have a strategy to sell more in the Chinese market.

If there is one thing that was the biggest take-away I had from my visits to China, it’s that virtually nobody I know in the West has the first concept of the sheer size and scope of the cities of China. I feel that there’s still a stuck picture folks have that “yes China has a lot of people, but it’s still a developing nation”, and that their cities – while populous – are still just big fishing villages or something.

A few notes here just to attempt to make my point:

West Lake Park in Fuzhou, Fujian Province – a city barely anyone in the West has heard of, yet it’s a larger city than Chicago.

One of the places I visited on my last trip to China is the lovely city of Fuzhou on the south coast, the closest major Chinese city to Taiwan. You’ve probably not heard of Fuzhou, as it’s the 31st-largest city of China, dwarfed by the big cities like Shanghai which are almost 10x its size. However, Fuzhou is more populous than Chicago, has a modern underground subway system that will (as of next year) be larger than the DC Metro, has high-speed railway connections to the rest of China and a vibrant manufacturing base as well as an avid outdoors-oriented population.

Looking over the massive city of Guangzhou – a city larger than New York or London

Never mind a city like Guangzhou (formerly known in the West as Canton), which not only is home to the busiest airport in the world (overtaking Atlanta in 2020) but is the anchor of the world’s most populous megacity, the sprawling Pearl River Delta, which is composed of the interconnected cities of Hong Kong, Shenzhen, Macao, Foshan, and others and has a population greater than the entire countries of Italy, Argentina or South Korea. High-speed rail criss-crosses the region and lets you commute the 90-miles from one end of the megacity (Guangzhou) to the other (Shenzhen) in just 30 minutes flat, which only further enables the businesses of the area to thrive.

This point deserves its own full article, for sure. But my aim here is just to convey the fact that the addressable market in China is larger in scope that you likely are able to currently imagine, and it’s up to folks like you and me to design a way to reach them!

Share me:

Like this:

Like Loading...

CategoryAEM / CQ

TagsAEM aem as a cloud service aemaacs china devops icp infrastructure

Tips for AEM Infrastructure in China: Do you NEED in-China Hosting?

Using Splunk for Log Search & Monitoring on AEM as a Cloud Service

About The Author

Tad Reeves

AEM Engineer, cyclist, daddy of 3, and transit/train enthusiast.

6 Comments

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Top Posts & Pages

My Tweets

Recent Comments

Archives

Top Posts & Pages

Pages

Flickr Photos

20250921_090226

20250920_181645

20250920_150946

20250918_072039

20250914_130936

20250909_141234

More Photos

Loading Comments...

Write a Comment...

Email (Required)

Name (Required)

Website

%d