As teams grow, they share code through internal packages: UI components, API clients, utilities and SDKs. Publishing these to public registries is not an option for private code, and hosted private registries charge per seat or per storage. A self-hosted registry on a VPS gives a central place for internal packages, and its cache makes builds faster and more resilient when public registries are slow or unavailable.
Registry Options
| Ecosystem | Self-hosted options |
|---|---|
| npm (JavaScript) | Verdaccio |
| Python | devpi, pypiserver |
| Maven / Gradle (Java) | Reposilite |
| Go | Athens (module proxy), plus private Git repositories |
| PHP Composer | Satis (static repository) |
| Many formats | Sonatype Nexus Repository, JFrog Artifactory (editions vary), Git platform package registries (Gitea, Forgejo, GitLab) |
Single-format tools are simple and light. Multi-format managers centralise everything but use more resources and need more configuration. If you already self-host Gitea, Forgejo or GitLab, their built-in package registries may cover your needs with permissions tied to repositories.
Proxying and Caching Public Registries
Most registries can act as a proxy for public registries: developers and CI request every package from your server, which serves internal packages directly and fetches and caches public ones. Benefits include faster installs, fewer external requests, continued builds during upstream outages, and a record of which packages your organisation uses.
Preventing Dependency Confusion
Dependency confusion happens when a build installs a public package that has the same name as an internal one, often a malicious package published deliberately. Protect against it:
- Use scopes or namespaces for internal packages (such as
@company/on npm) and claim them on public registries where possible. - Configure the registry so internal names are never fetched from upstream.
- For Python, avoid mixing
--extra-index-urlwith public indexes for internal names; route all installs through one index that controls priority. - Use lockfiles with integrity hashes and review dependency changes in pull requests.
Authentication and Access
- Serve over HTTPS only, behind Nginx or Caddy with a valid certificate.
- Use per-user tokens for developers and separate tokens for CI with publish rights only where needed.
- Restrict who can publish internal packages; reading may be broader.
- Connect to your identity provider (LDAP, OAuth) where supported, and revoke tokens when people leave.
Configuring Clients and CI
Point package managers at the registry through project configuration files (.npmrc, pip.conf, Maven settings.xml, GOPROXY) committed to repositories, with tokens supplied through environment variables or CI secrets, never committed. Publish internal packages from CI after tests pass, with version numbers from tags, so releases are reproducible. See our Jenkins guide and GitHub Actions guide.
Storage
Caches of public packages grow over time, especially for large ecosystems. Store data on fast NVMe for small and medium registries, or configure object storage where supported. Set cleanup policies for old snapshot versions and unused cached packages, and monitor disk usage.
Backups
Internal packages are the critical data; cached public packages can be refetched. Back up the registry's storage for internal packages, its configuration and its database (for managers that have one) daily and off-site. Test restoring to a new server and installing a package from it.
Security
- Keep the registry software updated.
- Scan packages for known vulnerabilities in CI, or with the registry's own features where available.
- Do not expose admin interfaces publicly; restrict by IP or VPN.
- Log publish events and review unexpected publishes.
Monitoring
Track response times, upstream errors, disk usage, failed authentication and publish activity. Slow upstream fetches during busy CI periods may mean you should warm the cache or add capacity.
Sizing
| Setup | Suggested plan |
|---|---|
| Verdaccio, pypiserver or Reposilite for a team | 2 vCores / 8 GB |
| Nexus Repository or similar multi-format manager | 4 vCores / 16 GB |
| Large organisation with heavy CI traffic | 8 vCores / 32 GB with object storage |
Place the registry near your build servers so installs are fast, and pair it with a container registry for images (see our private Docker registry guide).
Example: A Product Company
A company with web and mobile teams runs Verdaccio and devpi on a 2 vCore / 8 GB VPS behind Nginx. Internal npm packages use the @company scope, which never proxies upstream; public packages are cached. CI publishes new versions from release tags, developers authenticate with personal tokens, and storage is backed up nightly to object storage.
Common Mistakes
- Unscoped internal package names that can be confused with public ones.
- Tokens committed to repositories.
- No cleanup policy, so caches fill the disk.
- Backing up nothing because "packages can be rebuilt", including internal ones that cannot easily be.
In Short
Choose a registry for your ecosystems, serve it over HTTPS with tokens, proxy public registries, prevent dependency confusion with scopes and routing, publish from CI, clean up caches and back up internal packages.
Versioning and Release Practice
Internal packages need the same discipline as public ones. Use semantic versioning so consumers know when changes are breaking, publish changelogs, and never overwrite an existing version: if a release is broken, publish a new one. Mark deprecated versions so package managers warn developers, and run automated dependency update tools across internal repositories so fixes in shared libraries reach every project quickly.
SkyRainCloud Plans for This Workload
Single-format registries like Verdaccio are very light: 2 vCores / 8 GB is plenty. Multi-format repository managers that run on Java need more memory, typically 4 vCores / 16 GB.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.