Five Easy Steps to Tag EC2 Instance Using mr.awsome

6 Responses to “Five Easy Steps to Tag EC2 Instance Using mr.awsome”

Comments

  1. > sudo apt-get install python-setuptools

    hangs in an endless loop and resists kill -9 when started with Ubuntu 10.04 on a 34G AWS 2xlarge image. Any ideas how to solve this?

  2. rodney says:

    Hi Christian,

    Hmm…Did you try it with 32bit Ubuntu 10.04 AMI?

  3. rodney says:

    I tried it with Ubuntu 10.04 us-east-1 x86 AMI: ami-6407f20d

    sudo apt-get update
    sudo apt-get install python-setuptools python-dev

    It was able to install setup-tools without problems.:)
    Either a missing ‘python-dev’ on the end of your command.

    Let me know how it goes.

  4. Sorry for coming back this late, but I’d like to share my finding since I couldn’t find any hints when googleing.

    There seems to be a problem with Ubuntu 10.04 and 10.10 when you prepare an AMI with an m1.large instance (7,5 GB RAM) and start that AMI on an m2.2xlarge image. And the problem is really that dpkg hangs in an endless select()-loop no matter which .deb package is installed and cannot be stopped with kill -9.

    When I prepared an AMI on an m2.2xlarge image the problem went away.

  5. drtune says:

    Just a “historical” note for any readers that this tip is obsolete now; Amazon have implemented tagging of instances..

    for i in reservation.instances:
    i.add_tag(“key”, “value”)

Share Your Thoughts