Hacker News new | ask | show | jobs
by chubot 4353 days ago
Aren't most package repositories just static HTTP file servers? I know that apt repositories are. They just rsync directory trees and run Apache with a basic configuration to serve them.

If so, it should be pretty straightforward to make an AMI or other machine image that does this (and I'd be surprised if it doesn't exist).

1 comments

Some repos are even hosted right out of S3 statically (Amazon Linux and Ubuntu in AWS come to mind).

host us-east-1.ec2.archive.ubuntu.com us-east-1.ec2.archive.ubuntu.com is an alias for us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com.

us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com is an alias for s3-1-w.amazonaws.com.