Giter VIP home page Giter VIP logo

asherbond / imagefactory Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-imaging/imagefactory

1.0 3.0 0.0 3.22 MB

The Image Factory is an external service that allows the Conductor to build images for multiple cloud providers from a single image descriptor. The builder exposes its services as a QMF agent and uses XML for the descriptor format. The nuts and bolts of building an image are handled by the Oz component. The resulting images are transferred to the Image Warehouse that pushes the resulting images out to the appropriate cloud provider.

Home Page: http://www.aeolusproject.org/imagefactory.html

License: Apache License 2.0

Python 99.37% Shell 0.51% Makefile 0.12%

imagefactory's Introduction

#Image Factory#

Image Factory enables appliance creation and deployment to multiple virtualization and Cloud providers.

##Features##

  • Build guest images for a growing list of operating system and cloud combinations.
    • Current guest OS support: Fedora 7-19, RHEL 5.x and 6.x
    • Current cloud support: Red Hat Enterprise Virtualization, VMware vSphere, Amazon EC2, Rackspace, OpenStack, and more...
  • Image Factory supports "build and upload" or snapshotting of existing images.
  • RESTful API makes integrating Image Factory into existing workflows simple.

##Using Image Factory## Building an image begins with a template describing what to build. See an example of such a template below. See the schema documentation for TDL for more detail on creating a template. Note that a template is not tied to a specific cloud.

<template>
    <name>f21</name>
    <os>
        <name>Fedora</name>
        <version>21</version>
        <arch>x86_64</arch>
        <install type='iso'>
            <iso>http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/x86_64/os/</iso>
        </install>
        <rootpw>p@55word!</rootpw>
    </os>
</template>

Ensure to change the element to your desired root password.

Next, use the imagefactory command and specify the template to use and for which clouds to build an image. The above template example was saved to a file name f12_64.tdl.

$ sudo imagefactory --template f12_64.tdl --target ec2

Once the image has been built, use the imagefactory command again, this time to push the image into the cloud.

$ sudo imagefactory --provider ec2-us-west-1 --credentials ec2_credentials.xml

That's it! You can now launch an instance of this image using the cloud provider's management console.

##Installing Image Factory## Installing Image Factory is quick and easy. See the imagefactory rpm installation instructions for more detail.

Dev Setup

If you are wanting to use Imagefactory in a dev environment, then you can run from source. Run the 'imagefactory_dev_setup.sh' script found in the scripts directory. This will setup a dev environment which allows you to run from source. Once this is complete run ./imagefactoryd --foreground to start the server.

Documentation

More documentation on how to configure, use, and develop for imagefactory can be found on the Image Factory website.

imagefactory's People

Contributors

steveloranz avatar imcleod avatar breillyr avatar markmc avatar dkliban avatar geertj avatar eggmaster avatar gfidente avatar jeckersb avatar dav1x avatar jlaska avatar tkopecek avatar tflink avatar simaishi avatar mnk avatar mtaylor avatar hacxman avatar lpancescu avatar jprovaznik avatar hao-yu avatar gsr-shanks avatar danmacpherson avatar cgwalters avatar baude avatar maxamillion avatar

Stargazers

Asher Bond avatar

Watchers

Asher Bond avatar James Cloos avatar  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.