Private Ubuntu Mirror in No Time with JumpBox Cloud Gear
Instructions for launching your own private Ubuntu Mirror in Amazon EC2 on a
Cloud Gear JumpBox for LAMPd.
To learn more and sign up for cloud gear see our Cloud Gear Getting
Started Page
- Log into the Amazon EC2 Console
- Launch the latest LAMPd Cloud Gear JumpBox AMI by searching for
jumpbox-cloud-gear/lampd and selecting the latest one, this
tutorial was made with jumpbox-cloud-gear/lampd-1.1.12. A small instance
is fine, and make sure you launch it in a security group that has ports
22, 80, and 3000 open.
- Make note of the AMI instance ID and the Availability Zone
- Go to Volumes and click Create Volume. Make the volume 60GB and
put it in the same Availability zone as the AMI, use snapshot
"snap-3c58d855".
- Select this volume and Attach it as /dev/sdf to the Instance ID you recorded
above.
- Get the Public DNS address of that AMI Instance and then visit your
LAMPd JumpBox and go through JumpBox Configuration.
- After configuration is complete SSH to the JumpBox as the user
admin and login with the password you chose during setup. Run the
following commands:
wget http://static.jumpbox.com/godber/misc/jumpbox-ebs-ubuntu-mirror/jumpbox-hardy-mirror-setup.sh
sudo bash ./jumpbox-hardy-mirror-setup.sh
- Visit your AMI public address with your browser for details on using
the mirror.
NOTE: You will have to pay the standard Amazon Charges for the EBS
volume, bandwidth and standard JumpBox Cloud Gear charges for access to the
AMI.
NOTE: The EBS snapshot can be used by any AMI.
Ubuntu Mirror Information
The mirror currently only contains Ubuntu Hardy 8.04 Main, Updates,
Security, and Backports. It was created with apt-mirror and you can
continue to maintain this mirror with apt-mirror by updating the cronjob as
instructed during setup.
| Snap ID | Date |
|
snap-3c58d855
|
10/25/2009
|