Abdullah Sheneamer and Hiatham Ennajah
Department of Computer ScienceUniversity of Colorado at Colorado Springs
CS526 Semester Project Presentation
Introduction
BoxGrinder Objective
BoxGirnder Structure
Plugins
OpenStack
Abdullah&Haitham04/21/23 2
BoxGrinder: is a set of tools used for building appliances (virtual machines) on various platforms (KVM, Xen, VMware, EC2).
History: Marek Goldmann 2010 Ruby tool
Abdullah&Haitham04/21/23 3
Abdullah&Haitham
BoxGrinder is creating appliances (images/virtual machines) from simple plain text Appliance Definition Files.
Appliance definition files are written in YAML
04/21/23 4
Operating System plugins: generating base appliance. Platform plugins: creating converted base appliance. Delivery plugins: designed to deliver your new appliance.
Abdullah&Haitham04/21/23 5
There are three phases to create boxgrinder:
1- Preparing environment.
2- Installation.
3- Building applainces
Abdullah&Haitham04/21/23 6
The easiest way to obtain BoxGrinder Build is to simply add BoxGrinder repo to your environment and use yum.
“ yum install rubygem-boxgrinder-build”
Other systems:
“gem install boxgrinder-build “
Abdullah&Haitham04/21/23 7
Create appliances directory mkdir appliances command Example:
boxgrinder-build f14-basic.appl
Abdullah&Haitham04/21/23 8
Operating system plugins: Fedora Operating System Plugin Configuration: plugins: fedora: format: qcow2 # Disk format to use. Default: raw.
Fedora-14.appl file name: fedora-14 os: name: fedora version: 14 Fedora Operating System Plugin Usage: boxgrinder-build fedora-14.appl
Abdullah&Haitham04/21/23 9
Platform plugins:Platform plugins convert intermediary deliverables produced by the
operating system plugin into a selected platform
Supported OS: Fedora – all versions RHEL – all versions CentOS – all versions
EC2 Platform Plugin: Configuration: it’s not required
Ec2 Platform Plugin Usage: boxgrinder-build applince-name.appl –p ec2
Abdullah&Haitham04/21/23 10
Delivery plugins S3 Delivery Plugin: Three types: S3, cloudfront, ami S3 Delivery Plugin Configuration:
Bucket: Boxgrinder Account _number: 664170878440 Cert_file: same certificate created to log in to Midterm Key_file: PK created in Homework #4 for aws.amazon.com
Abdullah&Haitham04/21/23 11
EC2 AMI for applaince-name.appl:
“boxgrinder-build applaince-name.appl -p ec2 -d ami ”
EBS Delivery Plugin EBS Delivery Plugin Configuration
EBS-based AMI for applaince-name.appl: “boxgrinder-build applaince-name.appl -p ec2 -d ebs”
Abdullah&Haitham04/21/23 12
What is OpenStack?OpenStack is a collection of open source technologies delivering a massively scalable cloud operating system. Backed by Rackspace, NASA, Dell, Citrix, Cisco, Canonical and over 50 other organizations,
History: July 2010!
Why OpenStack: Control and Flexibility Industry Standard Proven Software Compatible and Connected Projects: 1.OpenStack Compute 2.OpenStack Object Storage 3.OpenStack Image Service04/21/23 Abdullah&Haitham 13
OpenStack Compute: Popular Use Cases: Service providers, IT departments, and
Processing big data General Key Features
Service providers and Enterprises
04/21/23 Abdullah&Haitham 14
04/21/23 Abdullah&Haitham 15
OpenStack Image Service: OpenStack Image Service allows uploads of private and public
images in a variety of formats, including:
Raw Machine (kernel/ramdisk outside of image, a.k.a. AMI) VHD (Hyper-V), VDI (VirtualBox) qcow2 (Qemu/KVM) VMDK (VMWare), OVF (VMWare, others)
Popular Use Cases: Enterprises, ISVs Key Features
04/21/23 Abdullah&Haitham 16
http://cs.uccs.edu/~cs526/cloudcomputing/intro.html
http://fedoraproject.org/wiki/Features/BoxGrinder
http://boxgrinder.org/
http://www.openstack.org/index.php
Abdullah&Haitham04/21/23 17
Abdullah&Haitham04/21/23 18