Faster Nodejs applications deployment with Clever Cloud NPM mirror

Version française en-dessous

npm logo

Npmjs.org, the Nodejs dependencies repository has recently experienced outages which have blocked every Nodejs application deployment on every server in the world which use this repository including Clever Cloud ones.

Actually, when an application is launched locally or on a PaaS like ours, the application has to download all its dependencies. If the repository server is down, the application cannot download the dependencies and the deployment fails.

In order to provide a better deployment experience, we have built our own dependencies mirror so that we do not need to use npmjs.org servers anymore when deploying applications.
Deployments are now always successful even if npmjs.org is down. Moreover, instead of downloading dependencies from the US, they are downloaded locally so applications deployments are twice faster.

A very good reason to deploy a Nodejs application on Clever Cloud!

The Clever Cloud team


Version française

Npmjs.org, le dépôt officiel de dépendances Nodejs a récemment subi des interruptions qui ont bloquées les déploiements sur tous les serveurs du monde qui utilisaient ce dépôt officiel, y compris ceux de Clever Cloud.

En effet, lorsqu’une application est lancée localement ou bien sur un PaaS comme le notre, l’application doit télécharger ses dépendances sur des serveurs distants. Si le serveur contenant les dépôts de ces dépendances n’est pas disponible, l’application ne peut pas les récupérer et le déploiement échoue.

Dans le but d’améliorer le déploiement des applications Nodejs, nous avons créé notre propre mirroir de dépendances afin de ne plus avoir à utiliser de nouveau les serveurs npmjs.org lors de nos déploiements. Ces derniers ne sont donc plus tributaires des interruptions de npmjs.org. De plus, puisque les dépôts sont téléchargés de nos serveurs et non plus des Etats-Unis, les déploiements sont deux fois plus rapides.

Une bonne occasion donc de déployer dès à présent votre application Nodejs sur Clever Cloud !

L’équipe Clever Cloud

Blog

À lire également

K8S: What Is Kubernetes, How It Works, and Why It Became the Standard

K8S, short for Kubernetes, is an open source container orchestration system originally developed by Google and donated to the Cloud Native Computing Foundation (CNCF) in 2015. It automates the deployment, scaling, resilience, and networking of containerized applications across clusters of servers. In just over a decade, K8S has become the technical foundation on which a majority of modern cloud applications run.
Engineering

Kubernetes in production: how to keep the standard without taking on all its operations

Kubernetes has become a standard for running containerised applications, structuring distributed architectures and integrating into cloud-native environments.
Company

Clever Cloud Takes Control of Its IP Prefix Announcements

Since January 22, 2025, Clever Cloud has been announcing its own IP prefixes on the Internet in our Paris region. We now manage this critical part of our network infrastructure internally, rather than delegating it to a third party.
Engineering