2 Replies Latest reply on May 26, 2011 11:51 AM by shaunmcc

    Small issues with building CentOS 5.5 64bit AMI

    shaunmcc

      Hi,

       

      I built a JEOS CentOS 5.5 64bit AMI this afternoon using Appliance boxgrinder-meta/fedora/14/1.5/x86_64

       

      Boxgrinder seem to work flawlessly but the resulting AMI can only be run on instance types m1.large and greater. I cannot choose t1.micro.

       

      When I launch the AMI I can only Terminate the instance there is no possibility to Stop the instance

       

      I'd be grateful if someone could explain what I've done wrong as I would like to be able to Stop the Instance and have the possibility to run on t1.micro type instance.

       

      TIA

       

      Shaun

       

      I exec'd this command to build the AMI              boxgrinder-build --debug centos5.appl -p ec2 -d ami

       

      Here is my .appl file

       

      name: centos5-mysql

      summary: MySQL Server

      version: 0

      release: 1

      os:

        name: centos

        version: 5

        password: xxxxxx

      hardware:

        partitions:

          "/":

            size: 5

      packages:

        - @core

        - lvm2

        - mlocate

        - man

        - parted

        - openssh-clients

        - mysql-server

      post:

        base:

          - "/sbin/chkconfig iptables off"

          - "/sbin/chkconfig ip6tables off"

       

      My config looks like this:

       

      plugins:

        centos:

          format: qcow2      # Disk format to use. Default: raw.

        fedora:

          format: qcow2      # Disk format to use. Default: raw.

        local:

          path: /root/appliances/build

          overwrite: false               # default: false

          package: false                 # default: true

        s3:

          access_key: pppp

          secret_access_key: nnnnn

          bucket: maxown-build

          account_number: 0000-0000-0000

          path: /images

          cert_file: /root/.ssh/cert-my.pem

          key_file: /root/.ssh/pk-my.pem

          host: http://maxown-build.s3-website-us-east-1.amazonaws.com/