HTTP Mirror Repository
Mirror the upstream repositories on our approved list for faster builds and improved reliability. Cache artifacts locally, build offline, and protect your supply chain. Never break a build because Maven Central is slow again.
Enterprise-grade repository mirroring
CloudRepo mirrors provide the reliability, speed, and security your builds deserve.
- Proxy Approved Upstream Repositories
- Mirror Maven Central, PyPI, npm, and the rest of our curated set of pre-approved upstreams. Transparent proxying with zero configuration changes. Need an upstream that is not on the list yet? Ask support and we will review and add it.
- Automatic Caching
- Artifacts are automatically cached on first download. Subsequent requests are served instantly from CloudRepo.
- Offline Availability
- Keep building even when upstream repositories are down. Cached artifacts remain available indefinitely.
- Bandwidth Savings
- Download artifacts once, serve them to your entire team. Dramatically reduce external bandwidth usage.
- Transparent Passthrough
- Uncached artifacts are fetched from the upstream on demand and then cached. Your team always gets what it needs with no manual syncing.
- Cache-First, No Revalidation
- Once an artifact is cached, we serve it from our cache and do not re-fetch it from the upstream. No TTL, no expiry, no revalidation. That is the mechanism that protects you against upstream tampering and supply chain attacks: an upstream that changes the bytes at a coordinate you already hold cannot reach your builds.
Why mirror your repositories?
Repository mirrors are essential infrastructure for any serious development team.
Build Reliability
Eliminate build failures caused by upstream repository outages or network issues.
Faster Builds
Serve artifacts from nearby CloudRepo infrastructure instead of distant upstream servers.
Control & Visibility
Every artifact your builds pull comes through one proxy you control, and you choose which upstreams are allowed.
Cost Reduction
Reduce bandwidth costs by caching frequently-used artifacts locally.
Quick Setup Guide
Set up a repository mirror in minutes. Start caching immediately.
Create a Mirror Repository
In your CloudRepo dashboard, create a new mirror repository and pick an upstream from the approved list.
# Dashboard Configuration
Name: maven-central-mirror
Type: HTTP Mirror
Upstream URL: https://repo.maven.apache.org/maven2/
Cache Policy: Cache on first access
TTL: Indefinite
Point Your Tools to the Mirror
Update your build configuration to use the CloudRepo mirror instead of the upstream repository.
<!-- Maven settings.xml -->
<mirrors>
<mirror>
<id>cloudrepo-central</id>
<name>CloudRepo Mirror of Central</name>
<url>https://[your-org].mycloudrepo.io/repositories/maven-central-mirror</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<!-- Gradle build.gradle -->
repositories {
maven {
url "https://[your-org].mycloudrepo.io/repositories/maven-central-mirror"
credentials {
username = project.findProperty("cloudrepoUser")
password = project.findProperty("cloudrepoPassword")
}
}
}
Monitor and Manage
Track cache hit rates, storage usage, and manage cached artifacts through the dashboard.
# View mirror statistics
Cache Size: 12.4 GB
Cache Hit Rate: 94.2%
Artifacts Cached: 8,432
Upstream Requests (today): 23
Cached Requests (today): 387
# Popular cached artifacts
1. org/springframework/spring-core (2.1 GB)
2. com/google/guava (890 MB)
3. org/apache/commons (456 MB)
Popular repositories to mirror
Every upstream below is on our pre-approved list today. Here are some common choices.
Maven Central
The primary repository for Java/JVM artifacts. Cache Spring, Apache Commons, and more.
repo.maven.apache.org/maven2 PyPI
The Python Package Index. Cache pip packages for faster Python builds.
pypi.org npm Registry
Cache Node.js packages for faster JavaScript/TypeScript builds.
registry.npmjs.org Google Maven
Google's Maven repository. Cache the Android and Jetpack artifacts your builds pull.
maven.google.com Clojars
The community repository for Clojure libraries and tools.
repo.clojars.org Something Else?
Need an internal or third-party upstream that is not on the approved list? Ask support and we will add it.
HTTP repositories →Calculate Your Savings
See how much you can save compared to JFrog Artifactory and Nexus
Common Scenarios
JFrog Artifactory
Consumption25GB included. $1.25/GB (26-1204GB), $1.00/GB (1205-2024GB), $0.75/GB (2025+GB)
Nexus Repository
ConsumptionSonatype list price, checked 2026-09-24: $1,950 a year plus consumption, 25 GB included. Shown at the lower of two readings of their tier table.
CloudRepo
PredictableNo egress fees. We never meter downloads per GB. Fair-use transfer with reach-out-first overage.
Your Savings with CloudRepo
Compared to the higher-priced competitor
Ready to speed up your builds?
Start your 14-day free trial. No credit card required.