NVMe VPS in the UK: search, logs and analytics in London
A UK server is usually rented for a project with a British or American audience: London is close to both continental Europe and the US East Coast. And if the project needs its own catalog search or log collection, NVMe becomes the key spec of the plan, more important than an extra core. Search engines such as Elasticsearch and OpenSearch read and write the disk in a way you feel immediately on an ordinary SSD.
Why search needs a fast disk
Elasticsearch stores an index as many small segments. Each new document lands in a fresh segment, and in the background the engine keeps merging small segments into larger ones. That is continuous reading and writing. If the disk cannot keep up, merges fall behind, the index swells, and queries start reading dozens of segments instead of a few. Users see it as a search that answered instantly yesterday and takes a second today.
The second load is the queries themselves. While the index fits in memory, the disk is barely touched. Once it does not, every search becomes small random reads, and NVMe beats a SATA SSD several times over. The Elasticsearch documentation explicitly recommends SSDs and, on spinning disks, asks you to limit merges to one thread.
How much to take
- Memory. Give half to the engine's heap and leave the other half to the operating system: it keeps index files in its cache, and that speeds up search more than anything else. On 4 GB, search across a shop with tens of thousands of products works; on 2 GB Elasticsearch will crash.
- Disk. An index with replicas and headroom for merges takes one and a half to two times the source data. UK NVMe plans in this selection are on average more generous with space than German or Dutch ones, and 100 to 200 GB is common here.
- Fill thresholds. At 85 % disk usage Elasticsearch stops placing new shard copies on the node, and at 95 % it switches indexes to read-only. New documents stop appearing in search, and you usually learn about it from users.
If you need only a small search, look at Meilisearch or Typesense: they need less memory, though a fast disk still helps. More on the engine is on VPS for Elasticsearch, and on storing logs and metrics on VPS for monitoring.
How to test the disk for search
Search means many parallel random reads. A test close to that load:
fio --name=search --rw=randread --bs=4k --size=4G --numjobs=4 --iodepth=32 --direct=1 --runtime=60 --time_based --group_reporting
Make the file bigger than the plan's memory so the system cannot answer from cache. Good NVMe gives tens of thousands of IOPS and sub-millisecond latency. If IOPS come out as a suspiciously round number, say 5,000 or 10,000, and stay the same between runs, that is the provider's limit for your machine. Better to know it upfront: for search over a large index it may not be enough.
London and what is close to it
Most UK data centres are in and around London, in the Docklands and the western suburbs, near the LINX exchange. From Amsterdam and Paris London is about 6 to 10 ms, from Frankfurt 12 to 15 ms, from New York around 70 to 75 ms. Every query to a search API gets that latency, so put the search node next to the site it serves, not somewhere else. If the site is in London, keep search in London too. If the audience is mostly on the continent, NVMe servers in the Netherlands or in Germany are closer.
UK GDPR and money
Since leaving the EU, Britain runs its own copy of the regulation: UK GDPR together with the Data Protection Act 2018, supervised by the ICO. For a server owner the rules are almost the same as in the EU, and the EU still recognises the UK as adequate, so data of EU customers can be stored in London without extra contracts. If logs and the search index contain names, emails and IP addresses, that is personal data: keep it no longer than needed and be able to delete it on request. Logs with IPs are easiest to keep with automatic deletion after a few weeks, which satisfies the law and saves space on expensive NVMe.
UK providers bill in pounds, sometimes in dollars. UK VAT is 20 %: UK customers pay it, and many providers show prices "ex VAT", so the total is higher than the card. Business customers abroad are usually not charged UK VAT, but private customers in the EU may see their local VAT added. Payment is by card, PayPal or other methods from the Payment column. The table converts prices at the current rate, but the charge is in the provider's currency, and the final amount depends on your bank's rate. An overview of the country is on VPS in the UK.