Giter Site home page Giter Site logo

blalor / ami-creator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from katzj/ami-creator

6.0 1.0 7.0 240 KB

Basic tool to create AMIs for EC2 based off of a kickstart config

Home Page: http://velohacker.com/fedora-notes/announcing-ami-creator/

License: GNU General Public License v3.0

Python 49.73% Shell 50.27%

ami-creator's Introduction

ami-creator

A simple tool built on python-imgcreate to create CentOS AMIs for EC2 using Kickstart configs. Supports ebs- and instance-store-backed instances.

howto

  1. clone this repo on an EC2 instance

  2. attach a 10G EBS volume, attach it so it appears at /dev/xvdj

  3. create /media/ephemeral0/build and /media/ephemeral0/cache directories

  4. create the base image from a kickstart config:

    sudo ./ami_creator/ami_creator.py -c ks-centos6.cfg -n my-image-name -t /media/ephemeral0/build --cache=/media/ephemeral0/cache

  5. transfer the image to the attached EBS volume:

    sudo prepare-volume.sh

  6. create and launch the instance:

    ./create-image.sh

add'l resources

original README

ami-creator

A simple tool based on python-imgcreate to create Fedora/Red Hat style 
images that can be used as an AMI in EC2.

Takes a kickstart config like the rest of livecd-creator, etc and spits out a
disk image file that's suitable to upload as an s3 ami.  To do the upload right
now, you'll want to run something like
    ec2-bundle-image
    ec2-upload-bundle
    ec2-register
after having created your base image file.  

Tested with the following as guests:
  * CentOS 5.5
  * Fedora 14
See the configs/ directory for example configs that work for each of these.


Jeremy Katz <[email protected]>
2010 December 10

ami-creator's People

Contributors

a13m avatar blalor avatar dcarley avatar ehebert avatar katzj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.