Skip to content

michaelboyles/lambda-repo

Repository files navigation

Lambda Repo is a serverless Maven repository built for AWS. You deploy your own copy to host your Maven artifacts, and it can be set up in just a couple of minutes.

Lambda Repo is useful for small teams or for individuals who work across more than one machine. You can use it to push snapshots or releases to a remote location to share artifacts. Previously that required a server running all the time which is a waste of resources if you're not interacting with the repository very often.

🤔 Why should I not use Lambda Repo?

It's serverless so may suffer from cold starts, i.e. requests might be slower.

Pricing with a traditional server is usually more predictable.

Alternatives to consider: JFrog Artifactory, Sonatype's Nexus, JitPack.

💵 Services and Cost

Most services are available on the AWS free tier. For reasonable usage you won't pay anything. If your bill is non-zero but less than a few cents, AWS usually waive it too.

  • Lambda - Always free up to 1M invocations per month
  • S3 - Up to 5GB free for the first year, then
    • Storage: $0.02 per GB per month
    • HTTP PUT: $0.005 per 1000 requests
  • API Gateway - Free for the first year, then $3.50 per million requests
  • Data transfer
    • Out: Always 100GB free per month
    • In: free
  • CloudFormation - Always free

Prices depend on region and may change over time. This is just an indication.

💿 Installation

TODO