Performance/Synthetic testing/Cloud instance
Synthetic tests on a cloud instance
We run our direct synthetic tests on a cloud servers using Hetzner to match our old setup where we used AWS running tests from the US. At the moment Hetzner do not provide bare metal servers in the US. The positive thing with the cloud servers are that they are cheap and work fine for our direct tests. We use four servers:
- first view direct tests using desktop
- user journeys direct tests using desktop
- first view direct tests using emulated mobile (Chrome in emulation mode)
- user journeys direct tests using emulated mobile
The servers runs Ubuntu and the tests runs in Docker containers.
Installation
You create a new server in the Hetzner GUI. We use dedicated vCPU servers with 4 CPU (AMD) and 16 GB RAM.
When you create the server in the GUI, make sure to choose latest stable version of Ubuntu and a dedicated vCPU.
Then the setup follows the same instruction as setting up a bare metal server, except that you should not pin the CPU (you can't on the cloud server).