Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running ami-ccf405a5, which is a Ubuntu 10.10 Maverick EBS boot from in a micro instance in us-east from the AWS Console. I use the user-data field to load in a script, the beginning of which is below, that updates and installs packages, creates a new user and sets up their environment.

set -e -x
export DEBIAN_FRONTEND=noninteractive
function die(){
    echo -e "$@" >> /dev/console
    exit 1}
aptitude -yq update && aptitude -yq safe-upgrade
aptitude -yq install irb libopenssl-ruby libreadline-ruby rdoc ri ruby rake ruby-dev rubygems

I am finding that "ec2-get-console-output INSTANCEID" and "Get System Log" on the AWS Console will only output 846 lines or 68k of logs, cutting off in the middle of the last aptitude statement.

Is there a way to get more of the syslog to track the progress of my user-data script?

share|improve this question
up vote 1 down vote accepted

I'm not sure if there is a way to get more data from the console log.

However, I understand that you want to look at the output of the user-data script you are sending. You can do that by SSHing into the machine and taking a look at /var/log/cloud-init.log. That should give you a complete log of all the actions your user-data script did.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.