How to Make Vercel Work in China?
Tags: vercel, china, howto, webdev
Published: 2021-02-19 04:52:10

---
canonical_url: https://www.21cloudbox.com/solutions/how-to-speed-up-vercel-in-china.html
---
# What is Vercel?
Vercel (previously called Zeit or now.sh) is a cloud platform that provides static sites hosting. It supports automatic pulling code from code repositories such as Github, GitLab, Bitbucket.  It then performs project packaging and deployment functions.

<br>
<br>
## Does Vercel work in China?

Below is a speed test of the site deployed by Vercel in China.

Red, Orange, Yellow = Bad, Slow
Green = Good

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l31qd8ulucby0x0gaqly.png)

 Below is a speed test of the same site deployed with 21YunBox in China.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0d3qvqvg8nw9tbmarlqh.png)

The color represents the feedback time of the site with green being faster, and red being extremely slow or even inaccessible.

**As you can see, the site deployed with Vercel in China is much slower if at all.**

After deploying the site in 21YunBox, the site performed much better across all of China.

<br>
<br>
## Source Code of the Test Project

We chose a [Hexo Blog](https://gitee.com/eryiyunbox-examples/hello-hexo) as the test object for this deployment example. The default template was used and no additional changes were made.


<br>
<br>
## How to Improve the Access Speed of Vercel in China?

If it’s a static site, you may consider storing it in the storage space of a domestic cloud service provider, such as [AWS China S3](https://aws.amazon.com/cn/s3/) or [Aliyun’s OSS](https://help.aliyun.com/document_detail/31872.html), which basically guarantees the speed of site access.

The disadvantages of deploying in these storage spaces are also pretty obvious. There are alot upfront configurations, if you want to utilize continuous deployment (Git push automatic packaging and deployment), you will need more configuration.

If you prefer a hassle free and simple solution like Vercel for China, you can host your static site in **[21YunBox](www.21yunbox.com)**.

### Steps to Hosting a Static Site with 21YunBox

#### 1. Register as a [21YunBox member](https://www.21yunbox.com/u/signup/)

#### 2. Authorize 21YunBox to access the code repository you want to deploy

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/znp0ngbmb1ww3jwm7lgs.png)
*Example Image:Select the code repository to deploy in 21YunBox*

#### 3. Configure Build (Package) Command and Release Directory
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/znp0ngbmb1ww3jwm7lgs.png)
*Example Image: Configure Hexo build (package) command and release directory*

#### 4. Click "Deploy Now"
In seconds, your site is packaged and deployed online.

You can access your project at `app_id.21yunbox.com` (`app_id` is created and defined).

#### If you are not sure how to set up, please watch the step by step [example video](https://youtu.be/tF_tm7fskaU).


<br>
<br>
## What else can the 21YunBox Deploy?
Like a back-end application framework [Python Django](https://launch-in-china.21yunbox.com/solutions/how-to-deploy-django-project-in-production-server.html) or [PHP Laravel](https://launch-in-china.21yunbox.com/solutions/how-to-deploy-laravel-project-in-production-server.html) This is notoriously complicated to deploy. The 21YunBox also allows you to complete the package and go online to generate a unique second-level domain name in 3 or 4 minutes.

What about deploying database in China? Yes, we can also simplify this process for you with a one-click to build database solution.  Check out these [PostgreSQL](https://launch-in-china.21yunbox.com/solutions/how-to-create-a-postgresql-database.html) or [MySQL](https://launch-in-china.21yunbox.com/solutions/how-to-create-a-mysql-database.html) examples (with videos). 

Want to know more? You can check [Help Document](https://www.21yunbox.com/docs/#/)
<br>



<br>
<br>
## Why Choose 21YunBox?
<br>
> 21YunBox specializes in helping foreign businesses to host their websites in China. We deliver everything you and your team needs to build, run, and scale websites and apps in China.

> Have questions about bringing your website to China?  [Talk to an expert today](https://www.21cloudbox.com/enterprise/contact/). 
<br>

<br>
To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms? You can refer to:

* [21YunBox vs Heroku](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-heroku-in-china.html)
* [21YunBox vs Netlify](https://launch-in-china.21yunbox.com/blog/solutions/alternatives-to-netlify-in-china.html)
* [21YunBox vs Vercel](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-vercel-in-china.html)
* [21YunBox vs Gatsby Cloud](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-gatsby-cloud-in-china.html)
* [21YunBox vs Github Pages](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-github-pages-in-china.html)
* [21YunBox vs Surge.sh](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-surgesh-in-china.html)
* [Compare in terms of function and price: 21YunBox vs Heroku, Netlify, Vercel](https://www.21yunbox.com/compare-others/)


<br>
*This article's content originated [here](https://launch-in-china.21yunbox.com/solutions/how-to-speed-up-vercel-in-china.html)*

*For additional detail and future modifications, refer the original post.*