Standing up a nice Centos instance. Select "CentOS 7 (x86_64) - with Updates HVM" AMI by vendor "CentOS. (There are very few by this provider). Trying a 3G gt2 root disk First login as centos using key "blaine-awskp.pem" (Not blaine01*!) Bootstrap root access Upload ~blaine/.ssh/ec2root.pvk to ~root:.ssh/. Fix permis. Remove interms. cd ~/.ssh; scp -p -P 722 -i *.pvk :$PWD/* . Edit "config" to add entry for current host. Distribute back to others with scp. SELINUX setup For lighttpd access to /srv/... something: egrep AVC.+user_tmp_t /var/log/audit/audit.log | audit2allow -M lighttpd_static semodule -i lighttpd_static.pp rm -rf /etc/ssh/*_key* AFTER INSTANTIATING FROM MY AMI Attach the root volume (/dev/sda1) onto any other instance. Assume load as sdf: xfs_admin -L WK_ROOT /dev/xvdf1 xfs_admin -U generate /dev/xvdf1 mount /dev/xvdf1 /mnt xfs_admin -u /dev/xvdf1 > /mnt/root/rootdisk.uuid cd /mnt/etc vim hostname sysctl.conf fstab # Replace uuid root mount with LABEL= ##### May be that only need to add DHCP_HOSTNAME=workhorse.admc.com to ##### /etc/sysconfig/network-scripts/ifcfg-eth0 ##### DOES NOT WORK!!! Need an 'at' command to keep rerunning hostname??? cd ssh rm -f *_key* # AND REBOOT or put in place whatever keys you want cd /mnt/boot export NEW_LABEL=WH_ROOT ~/ec2/grubLabelize.pl *.cfg Reattach to new instance and boot up sysctl -p /etc/sysctl.conf