Bootstrapped Ubuntu 12.04 EC2 instance. Where to find log?

Posted by nocode on Server Fault See other posts from Server Fault or by nocode
Published on 2013-10-21T21:08:49Z Indexed on 2013/10/21 21:55 UTC
Read the original article Hit count: 192

Filed under:

So I bootstrapped a shell script to install and run a bunch of tasks. Looks like the it ran for the most part, but I added one part and that was formatting an extra EBS volume.

Pretty straightforward:

mkfs.ext4 /dev/xvdf
mkdir –m 000 /vol01
echo “/dev/xvdf /vol01 auto noatime 0 0” | sudo tee –a /etc/fstab
sudo mount /vol01 

I was able to install MongoDB, NGINX and Forever. I selected to use /dev/xdvf in the AWS console and see it. The 3rd line is not in fstab either.

I've searched through various logs in /var/log/ but I don't really see much indicating the execution of the bootstrap. Logs that I see and looked through:

auth.log
boot.log
dmesg
dpkg.log
syslog
udev

© Server Fault or respective owner

Related posts about amazon-ec2