Providing reliable online service inside China is crucial to foreign companies entering the China market. Addressing packet loss and latency over unreliable public Internet is a big challenge.
Fulfilling local regulatory requirements is another key requirement. Government regulation in China mandates publishing web-based service with a top-level domain name that either has ICP filing (for non-commercial web services) or ICP license (for commercial web services) approved by Ministry of Industry and Information Technology (MIIT). Obtaining ICP approval for an existing top-level domain name registered outside of China can be very difficult. It’s often easier to register a new domain name instead and get ICP approval. But using a different domain name to publishing service would require modification to the existing service to ensure all URLs are consistent with the new domain name, which can be challenging as well.
The general solution presented in this document helps customers to:
- Leverage existing service outside of China, either hosted on-premises or in public cloud
- Solve network quality issues with Alibaba Cloud CEN and proxy servers
- Realize domain name consistency with on-the-fly domain name conversion
- Achieve great performance by leveraging Alibaba Cloud CDN and DCDN
ICP and related process are out of the scope of this document.
The main components of the solution are:
- Alibaba Cloud DNS service hosting the new domain name “example.cn”
- Two Alibaba Cloud VPCs, one in Shanghai, one in US East. Both VPCs are attached to a Cloud Enterprise Network (CEN), establishing reliable, low latency, private connection between Shanghai and US East. Instructions for CEN configuration can be found at https://www.alibabacloud.com/help/doc-detail/65885.htm
- Deploy ECS instance in Shanghai VPC, running HAProxy (www.haproxy.org) in TCP mode, serving user requests for example.cn at a public IP (or Elastic IP). All user requests are then proxied to the ECS instance running Nginx in US East VPC via CEN.
- Deploy ECS instance in US East VPC, running Nginx. It is important to choose a region that is geographically close to where the existing service is hosted (US East in this example) to minimize latency over public Internet. Configure Nginx proxy_pass and sub_filter to convert the domain part of the requests on the fly, ie. from “example.cn” to “example.com”, so that all HTTPS requests to example.cn from users in China are converted to example.com and proxied to the origin web server in US East via public Internet. The URLs in the returned HTML are converted back to example.cn and forwarded to users in China via HAProxy. The Nginx server needs to have ngx_http_proxy_module and ngx_http_sub_module loaded to perform the conversion.
You can have more details on A General Solution for Publishing Web-Based Services Hosted Overseas in China
This tutorial shows you how to configure a Server Load Balancer for ECS instances created by using Alibaba Cloud’s Starter Package service.
It is critical to note that if you choose to host in Asia, Mainland China, you need to complete the real-name verification and apply for an Internet Content Provider (ICP) license.
Real-name verification and ICP license are not required for instances launched in Hong Kong or any other region outside Mainland China. After you create an instance, you cannot change its region and zone.
If you are creating multiple instances for an application that requires lower network latency, it is recommended to create the instances in the same zone. Additionally, if your application demands higher provisions for disaster recovery, it is recommended to create the instances in different zones of one region. Take note that if you don’t specify a zone, the instance will be put in a Random zone for the selected region.
Moving ahead, you can choose your preferred operating system from the array of options available
By default, the basic version of the Server Guard is selected and it is recommended that you leave the option selected. It’s a free built-in security feature that provides Trojan detection, abnormal login warnings, brute-force blocking and cracking interception.
Furthermore, the ECS supports both, automatic renewal and manual renewal. By default, auto-renew is pre-selected to ensure that your ECS instance gets automatically renewed at the same discounted price until you cancel it.
For many businesses, building a digital or online presence in China is the key to success. In this quick guide, we will share 4 tips for making it big in China.
So once the host is selected you need a licence. There are two types: an ICP filing and an ICP licence. It is hard to pin down an exact definition but broadly speaking you will need an ‘ICP filing’ to show any content and as soon as you add transactions (a payment gateway for example) then you will need to upgrade to an ‘ICP licence’. Either way the ICP filing is a must.
This can all be done online via an interface in the Alibaba Cloud portal. It needs to be completed in Chinese and you will need your aforementioned company registration documents to complete the process. The exact process and rules vary from province to province but it is broadly similar.
To apply you will need a Chinese speaker, someone on the ground in China with a local telephone number during the process, a host (Alibaba Cloud) with the real name registration process completed (simply uploading your company docs), and you will also need a public IP on a Chinese server available for them to check during the process (you should not put any content on this server whilst doing the ICP filing).
In this article, you can learn how Alibaba Cloud is strategically positioned as your cloud provider in China especially now having partnered with Xebia.
Using a Chinese cloud provider makes the difference between success and total market failure. With dedicated fiber networks from mainland China to the rest of the world, they ensure the low-latency delivery of internet traffic unaffected by the firewall. As your first experiment in cloud, you can use Alibaba Cloud’s Content Delivery Network (CDN) to cache product detail pages and images in China. These are created locally and hosted in an overseas Alibaba Cloud region such as Frankfurt. When a Chinese consumer accesses the page, its content is fetched from Frankfurt over Alibaba Cloud’s unfiltered backbone, a much faster process than having the user access your website over the public internet. The content is then cached in China for subsequent page views.
Sub-second page loads ensure that no sales are lost due to technical slowness — leading to higher conversion rates and greater sales, freeing businesses to focus on core activities such as product market optimization. Worth noting here is that a different system governs online content cached or hosted within China. While not subject to the firewall, a special permit called an ICP license is required to publish online under a domain name. Obtaining such licenses can be difficult, but experienced companies can help to make the process be with considerably less hassle.
Related Market products
Publish a Static Website in China
Learn how to publish a static website using Alibaba Cloud services and complete the ICP process.
Alibaba Cloud Academy License Test
Alibaba Cloud Academy License Test. Test Use only, Do not delete
If an enterprise outside mainland China wants to build a website in mainland China and hosts the website on an instance located in mainland China, the enterprise needs to apply for an Internet Content Provider (ICP) filing for the website. This topic describes the ICP filing requirements for foreign enterprises.
You can apply for ICP filing in Alibaba Cloud ICP Filing System on a PC or in the Alibaba Cloud app. Before you apply for ICP filing, note the following instructions.
Alibaba Cloud Elastic Compute Service (ECS) provides fast memory and the latest Intel CPUs to help you to power your cloud applications and achieve faster results with low latency. All ECS instances come with Anti-DDoS protection to safeguard your data and applications from DDoS and Trojan attacks.
Deploy ECS instances with just a few clicks from the easy-to-use console and scale capacity up or down based on real-time demands. This means you only pay for the resources you use and avoid the need to procure expensive IT infrastructure and hire large network teams.
Alibaba Cloud Function Compute is a fully managed, event-driven compute service. Function Compute allows you to focus on writing and uploading code without having to manage infrastructure such as servers. Function Compute provides compute resources to run code flexibly and reliably. Additionally, Function Compute provides a generous amount of free resources. No fees are incurred for up to 1,000,000 invocations and 400,000 CU-second compute resources per month.
The Cloud Computing Exam Preparation course is a series of online courses covering topics from Alibaba Cloud’s ECS, SLB, OSS, RDS, Auto Scaling, Security Solutions and other general Cloud Computing technologies. It is designed to help you understand how these products work, how they should be used and help you gain the required knowledge to prepare for the ACA/ACP level Cloud Computing specialist exam.
Through this course, you will not only learn about the history of Alibaba’s Double Eleven Shopping Festival, but also the Alibaba Cloud technologies behind this event — What are the challenges of the Double 11 Shopping Festival which drives the technical advancements of Alibaba?