Archlinux 64bit Base Image

items>Archlinux 64bit Base Image
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

Base Archlinux AMI


Submitted By: Yejun Yang
US East AMI ID: ami-4e04ee27
AMI Manifest: 545611693861/archlinux-x86_64-20100830
Operating System: Linux/Unix
Created On: April 5, 2009 1:17 PM GMT
Last Updated: October 19, 2010 6:22 PM GMT

Important Notes:

  • Most instructions on this page are outdated. All necessary packages have been included inside latest AMI
  • If you want to build your own AMI, I released this build script on gitub and aur packages.

Update 2010/8/30

Change static ip to kernel dhcp and remove initrd

Update 2010/8/28

The network configure will be saved when image first time booted. If you want to revert to dhcp in case you need to rebuild or stop. You should run this
sudo /etc/rc.d/ec2 stop
I also changed default cflags, so if you want to recompile packages, you can use srcpac. For example
sudo abs extra/python
sudo srcpac -Sb python

Update 2010/8/21

Add a user arch with the same ssh key as root.
The hostname is now static, if you want to rebundle, make sure change HOSTNAME in rc.conf to myhost and remove last line of /etc/hosts.

Update 2010/7/22

Updated to BTRFS as root.

Update 2010/7/20

Updated to pvgrub and EBS root.


This is a very basic archlinux with just ssh.
If you need packaged ec2-ami-tools or the script to make this image. You can find them here.

Anything you pass to instance user-data will be run as a bash script on first boot


  • 10/21/2009 Updated to latest packages and newer kernel.
  • 4/11/2009 user-data will be run as bash at first boot, nash-hotplug which uses 100% cpu time will be killed


  • If you wish to set domain and host name on first boot, you can pass following script as instance user-data
    MYHOST=yourhost    #set your real hostname here
    MYDOMAIN=yourdomain  #set your domainname here
    sed -i s/myhost/$MYHOST/ /etc/rc.conf
    hostname $MYHOST
    echo "NISDOMAINNAME=\"$MYDOMAIN\"" >/etc/conf.d/nisdomainname
    nisdomainname $MYDOMAIN
    /etc/rc.d/syslog-ng restart
    x=$(curl -s
    if [ $(echo $x|grep 404|wc -l) -eq 0 ]; then
    cat </etc/hosts
    #                localhost.localdomain   localhost
    # End of file
    cp /etc/skel/.bash* /root/
  • If you want to install ec2-ami-tools on first boot, you can add these script as user-data
    cat <>/etc/pacman.conf
    Server =$(uname -m)/
    yes |pacman -Sy ec2-ami-tools
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.