Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running apt-get on EC2 without coughing up for a bunch of bandwidth charges

I'm running Ubuntu on EC2 (using the alestic community AMI) and on startup my new instances use up a bunch of bandwidth running apt-get upgrade etc. Bandwidth between EC2 instances is free... anyone know if there's a mirror of the Ubuntu packages somewhere on EC2 I can use instead?

like image 303
Simon Willison Avatar asked May 19 '09 12:05

Simon Willison


3 Answers

I'm not sure if there is an official one but Right Scale have offered up a repository for other users of ec2:

http://www.rightscale.com/

ec2-hardy-sources.list

deb http://ec2-us-east-mirror.rightscale.com/ubuntu hardy main restricted universe multiverse 
deb http://ec2-us-east-mirror.rightscale.com/ubuntu hardy-updates main restricted universe multiverse 
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse 

ec2-intrepid-sources.list

deb http://ec2-us-east-mirror.rightscale.com/ubuntu intrepid main restricted universe multiverse 
deb http://ec2-us-east-mirror.rightscale.com/ubuntu intrepid-updates main restricted universe multiverse 
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse **strong text**
like image 147
Neil Trodden Avatar answered Nov 02 '22 23:11

Neil Trodden


Checkout http://ec2-us-east-mirror.rightscale.com/ubuntu/

like image 20
ismail Avatar answered Nov 03 '22 01:11

ismail


The Ubuntu Hardy, Intrepid, and (soon) Jaunty images published on Alestic.com already use Ubuntu archive mirrors internally on EC2.

like image 28
Eric Hammond Avatar answered Nov 03 '22 00:11

Eric Hammond