Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at...

18
Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation

Transcript of Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at...

Page 1: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Abdullah Sheneamer and Hiatham Ennajah

Department of Computer ScienceUniversity of Colorado at Colorado Springs

CS526 Semester Project Presentation

Page 2: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Introduction

BoxGrinder Objective

BoxGirnder Structure

Plugins

OpenStack

Abdullah&Haitham04/20/23 2

Page 3: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 3

Page 4: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Abdullah&Haitham

BoxGrinder is creating appliances (images/virtual machines) from simple plain text Appliance Definition Files.

Appliance definition files are written in YAML

04/20/23 4

Page 5: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Operating System plugins: generating base appliance. Platform plugins: creating converted base appliance. Delivery plugins: designed to deliver your new appliance.

Abdullah&Haitham04/20/23 5

Page 6: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

There are three phases to create boxgrinder:

1- Preparing environment.

2- Installation.

3- Building applainces

Abdullah&Haitham04/20/23 6

Page 7: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 7

Page 8: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Create appliances directory mkdir appliances command Example:

boxgrinder-build f14-basic.appl

Abdullah&Haitham04/20/23 8

Page 9: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 9

Page 10: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 10

Page 11: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 11

Page 12: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 12

Page 13: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 Abdullah&Haitham 13

Page 14: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

OpenStack Compute: Popular Use Cases: Service providers, IT departments, and

Processing big data General Key Features

Service providers and Enterprises

04/20/23 Abdullah&Haitham 14

Page 15: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

04/20/23 Abdullah&Haitham 15

Page 16: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 Abdullah&Haitham 16

Page 17: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

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/20/23 17

Page 18: Abdullah Sheneamer and Hiatham Ennajah Department of Computer Science University of Colorado at Colorado Springs CS526 Semester Project Presentation.

Abdullah&Haitham04/20/23 18