180 likes | 328 Views
Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs. and. CS526 Semester Project Presentation. Outline of the Talk. Introduction BoxGrinder Objective BoxGirnder Structure Plugins OpenStack. Introduction.
E N D
Abdullah Sheneamer and HiathamEnnajahDepartment of Computer ScienceUniversity of Colorado at Colorado Springs and CS526 Semester Project Presentation
Outline of the Talk • Introduction • BoxGrinder Objective • BoxGirnder Structure • Plugins • OpenStack Abdullah&Haitham
Introduction • 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&Haitham
BoxGrinder Objective • BoxGrinder is creating appliances (images/virtual machines) from simple plain text Appliance Definition Files. • Appliance definition files are written in YAML Abdullah&Haitham
BoxGrinder Build • Operating System plugins: generating base appliance. • Platform plugins: creating converted base appliance. • Delivery plugins: designed to deliver your new appliance. Abdullah&Haitham
Installation and Configuration of BoxGrinder • There are three phases to create boxgrinder: 1- Preparing environment. 2- Installation. 3- Building applainces Abdullah&Haitham
Installation • 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&Haitham
Build Your Appliance • Create appliances directory • mkdir appliances command • Example: • boxgrinder-build f14-basic.appl Abdullah&Haitham
Plugins • 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&Haitham
Plugins (continue) • 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&Haitham
Plugins (continue) • 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&Haitham
Plugins (continue) • 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&Haitham
OpenStack • 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 Service Abdullah&Haitham
OpenStack Compute • OpenStack Compute: Popular Use Cases: Service providers, IT departments, and Processing big data General Key Features Service providers and Enterprises Abdullah&Haitham
OpenStack Object Storage Abdullah&Haitham
OpenStack Image Service • 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 Abdullah&Haitham
References • http://cs.uccs.edu/~cs526/cloudcomputing/intro.html • http://fedoraproject.org/wiki/Features/BoxGrinder • http://boxgrinder.org/ • http://www.openstack.org/index.php Abdullah&Haitham