edoceo

Gentoo EC2 Images

These have been superceeded by our Praxis Linux Distribution.

Amazon provides the EC2 service - Elastic Computing in the Cloud. This allows one to create an image of a Linux system, publish it to the S3 system and bring one or more online with ease. Amazon dynamically provides and public and private address available to access these machines.

Edoceo currently offers two Gentoo based EC2 Images for public consumption. The first edoceo.gentoo is a baseline Gentoo installation with some minor tweaks. The second, edoceo.praxis is an image of the Edoceo Praxis baseline system. Given enough time we will perhaps create FTP and WWW server images too.

Check For NetCat and MCrypt when done

Edoceo Gentoo EC2 Image

The list below describes all packages included with this image. A list of specific files that have been modified from the Gentoo original distribution are further down. After running either of these images the first step would be to perform an emerge --sync.

app-admin/perl-cleaner-1.04.3
app-admin/python-updater-0.2
app-admin/syslog-ng-1.6.11-r1
app-arch/bzip2-1.0.4
app-arch/cpio-2.7-r2
app-arch/gzip-1.3.12
app-arch/tar-1.16.1
app-arch/unzip-5.52-r1
app-arch/zip-2.32
app-crypt/hashalot-0.3-r2
app-crypt/mit-krb5-1.5.2-r1
app-editors/nano-2.0.4
app-misc/ca-certificates-20070303-r1
app-misc/pax-utils-0.1.15
app-portage/gentoolkit-0.2.3-r1
app-shells/bash-3.2_p15-r1
dev-lang/perl-5.8.8-r2
dev-lang/python-2.4.4-r4
dev-lang/ruby-1.8.6-r1
dev-libs/expat-1.95.8
dev-libs/libol-0.3.18
dev-libs/openssl-0.9.8d
dev-libs/popt-1.10.7
dev-python/pycrypto-2.0.1-r5
dev-python/python-fchksum-1.7.1
dev-ruby/ruby-config-0.3.1
net-misc/curl-7.15.1-r1
net-misc/dhcpcd-3.0.16-r1
net-misc/iputils-20060512
net-misc/openssh-4.5_p1-r1
net-misc/rsync-2.6.9-r2
net-misc/wget-1.10.2
net-nds/openldap-2.3.35-r1
perl-core/PodParser-1.35
perl-core/Test-Harness-2.64
sys-apps/baselayout-1.12.9-r2
sys-apps/busybox-1.4.2
sys-apps/coreutils-6.9-r1
sys-apps/debianutils-2.17.5
sys-apps/diffutils-2.8.7-r1
sys-apps/file-4.21
sys-apps/findutils-4.3.4
sys-apps/gawk-3.1.5-r3
sys-apps/grep-2.5.1a-r1
sys-apps/groff-1.19.2-r1
sys-apps/hdparm-6.9-r1
sys-apps/help2man-1.36.4
sys-apps/kbd-1.12-r8
sys-apps/less-394
sys-apps/man-1.6e-r3
sys-apps/man-pages-2.53
sys-apps/mktemp-1.5
sys-apps/module-init-tools-3.2.2-r3
sys-apps/net-tools-1.60-r13
sys-apps/portage-2.1.2.7
sys-apps/sandbox-1.2.17
sys-apps/sed-4.1.5
sys-apps/shadow-4.0.18.1
sys-apps/sysvinit-2.86-r8
sys-apps/texinfo-4.8-r5
sys-apps/util-linux-2.12r-r7
sys-apps/which-2.16
sys-devel/autoconf-2.13
sys-devel/autoconf-2.61
sys-devel/autoconf-wrapper-4-r3
sys-devel/automake-1.10
sys-devel/automake-1.4_p6
sys-devel/automake-1.5
sys-devel/automake-1.6.3
sys-devel/automake-1.7.9-r1
sys-devel/automake-1.8.5-r3
sys-devel/automake-1.9.6-r2
sys-devel/automake-wrapper-3-r1
sys-devel/binutils-2.16.1-r3
sys-devel/binutils-config-1.9-r4
sys-devel/bison-2.2
sys-devel/flex-2.5.33-r2
sys-devel/gcc-4.1.2
sys-devel/gcc-config-1.3.16
sys-devel/gettext-0.16.1
sys-devel/gnuconfig-20070118
sys-devel/libperl-5.8.8-r1
sys-devel/libtool-1.5.22
sys-devel/m4-1.4.9
sys-devel/make-3.81
sys-devel/patch-2.5.9-r1
sys-fs/e2fsprogs-1.39-r2
sys-fs/udev-104-r12
sys-kernel/linux-headers-2.6.17-r2
sys-kernel/xen-sources-2.6.16.49
sys-libs/com_err-1.39
sys-libs/cracklib-2.8.9-r1
sys-libs/db-4.3.29-r2
sys-libs/gdbm-1.8.3-r3
sys-libs/glibc-2.5-r3
sys-libs/ncurses-5.6
sys-libs/pam-0.78-r5
sys-libs/pwdb-0.62
sys-libs/readline-5.2_p2
sys-libs/ss-1.39
sys-libs/timezone-data-2007e
sys-libs/zlib-1.2.3-r1
sys-process/procps-3.2.7
sys-process/psmisc-22.3
virtual/init-0
virtual/libiconv-0
virtual/libintl-0

The modified files are (list may not be comprehensive):

  • /etc/make.conf
  • /etc/profile
  • /etc/portage/package.keywords
  • /etc/portage/package.use
  • /etc/ssh/sshd_config

Edoceo Praxis EC2 Image

Edoceo Praxis is a configuration of Gentoo - with binary packages distributed by Edoceo. This image includes everything from the Edoceo Gentoo EC2 Image and the following additional packages.

app-admin/php-toolkit-1.0-r2
app-admin/procinfo-18-r1
app-backup/rdiff-backup-1.0.4
app-benchmarks/stress-0.18.6
app-crypt/mhash-0.9.9
app-portage/portage-utils-0.1.23
app-text/aspell-0.50.5-r4
dev-db/libpq-8.0.13
dev-db/mysql-5.0.42
dev-db/mysql-init-scripts-1.2
dev-db/postgresql-8.0.13
dev-db/sqlite-2.8.16-r4
dev-lang/php-5.2.2-r1
dev-libs/apr-0.9.12
dev-libs/apr-util-0.9.12
dev-libs/libusb-0.1.12
dev-libs/libxml2-2.6.28
dev-libs/libxslt-1.1.20
dev-libs/mm-1.3.0
dev-perl/DBD-mysql-3.0008
dev-perl/DBI-1.54
dev-perl/Net-Daemon-0.39
dev-perl/PlRPC-0.2018
dev-util/strace-4.5.14
edoceo/praxis-0.3
media-libs/freetype-2.3.4-r2
media-libs/jpeg-6b-r7
media-libs/libpng-1.2.18
media-libs/t1lib-5.0.2
net-analyzer/gnu-netcat-0.7.1
net-analyzer/nmap-4.20
net-analyzer/traceroute-1.4_p12-r5
net-dns/bind-tools-9.4.1-r1
net-firewall/iptables-1.3.5-r4
net-ftp/ncftp-3.1.9
net-libs/librsync-0.9.7
net-misc/ntp-4.2.4_p0
net-misc/stunnel-4.09-r1
net-www/apache-2.0.58-r2
perl-core/Sys-Syslog-0.18
sys-apps/ed-0.5
sys-apps/pciutils-2.2.3-r2
sys-apps/slocate-2.7-r8
sys-apps/smartmontools-5.36-r1
sys-apps/usbutils-0.71-r1
sys-boot/grub-0.97-r3
sys-fs/mdadm-2.6.1
sys-process/fcron-3.0.2-r1
sys-process/lsof-4.77
sys-process/time-1.7-r1
virtual/mysql-5.0
virtual/perl-Storable-2.15
virtual/perl-Sys-Syslog-0.18

Re-Creating the Bundle

While using this image it's possible to install packages and then re-create the image. Before re-bundling stop all services possibe - syslog, cron, web servers, database, etc. Then follow the steps below, lines wrapped in typical fashion. Vairables are included in Bash style and described below.

rm /root/.ssh/*
rm /root/.bash_history
ec2-bundle-vol -k $pk_file -c $cert_file -u $ec3_account -s 8192 -d /mnt/ \
  -e $aws_dir -p edoceo.praxis
$pk_file
Full path to the Amazon issued private key file - like pk-ZXEXXNLXXXRAXXXJKXXNEXX2XX4XXBXX.pem
$cert_file
Full path to the Amazon issued certificate file - like cert-ZXEXXNLXXXRAXXXJKXXNEXX2XX4XXBXX.pem
$aws_account
Amazon Account - find on the Account Activity page - all numeric
$aws_dir
Local directory on the system where the pk,cert and other AWS sensitive files may be located

Loading Comments from Disqus...