I am attempting to load user data into an Ubuntu 12.04 LTS AMI (ami-a29943cb, but I\'ve tried a few others to no avail) via boto\'s ec2.run_instances(..., user_data=USER_DATA).
It's hard to know what happened without an error message, but there are a few places you can look:
/var/log/cloud-init.log
will usually contain any errors (e.g. boto import failure) that occurred during instance bootstrapping./var/lib/cloud/instance
will contain the raw scripts and user-data downloaded to the instanceLooking in those places should help provide clarity.
I know Ubuntu 12.04 comes with boto 2.2.2:
root@vanilla-562c:/var/lib/cloud/instance# python
Python 2.7.3 (default, Apr 20 2012, 22:44:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto
>>> boto.__version__
'2.2.2'
..but I wonder if it's actually accessible in your PYTHONPATH at runtime.