Instance Types: Using oVirt as a Private Cloud Solution

34
1 Instance Types Using oVirt as a Private Cloud Solution Tomáš Jelínek, [email protected] tjelinek at #ovirt (irc.oftc.net)

Transcript of Instance Types: Using oVirt as a Private Cloud Solution

Page 1: Instance Types: Using oVirt as a Private Cloud Solution

1

Instance TypesUsing oVirt as a Private Cloud Solution

Tomáš Jelínek, [email protected] at #ovirt (irc.oftc.net)

Page 2: Instance Types: Using oVirt as a Private Cloud Solution

2

Agenda

● Introducing oVirt

● Private Cloud (characteristics)

● Instance Types

● Live Demos

● Diving Deeper

● Future Work

Page 3: Instance Types: Using oVirt as a Private Cloud Solution

3

Introducing oVirt

Page 4: Instance Types: Using oVirt as a Private Cloud Solution

4

Private Cloud

● National Institute of Standards and Technology Special Publication 800-145

● Measured service● Broad network access● Resource pooling● Rapid elasticity● On-demand self-service

Page 5: Instance Types: Using oVirt as a Private Cloud Solution

5

Measured Service

● Service provider monitors the usage of services● Billing● Effective use of resources● Planning

Page 6: Instance Types: Using oVirt as a Private Cloud Solution

6

Measured Service - oVirt

Page 7: Instance Types: Using oVirt as a Private Cloud Solution

7

Broad Network Access

● Resources available from:● Wide range of devices● Wide range of locations

Page 8: Instance Types: Using oVirt as a Private Cloud Solution

8

Broad Network Access - oVirt

Page 9: Instance Types: Using oVirt as a Private Cloud Solution

9

Resource Pooling

● Different physical and virtual resources dynamically assigned and reassigned according to consumer demand

Page 10: Instance Types: Using oVirt as a Private Cloud Solution

10

Resource Pooling - oVirt

Page 11: Instance Types: Using oVirt as a Private Cloud Solution

11

Rapid Elasticity

● Automatically request additional resources

Page 12: Instance Types: Using oVirt as a Private Cloud Solution

12

Rapid Elasticity - oVirt

● Hot plug CPU (oVirt 3.5)

● Hot unplug CPU + plug/unplug mem (oVirt 3.6)

● Not out of the box – but there is REST

Page 13: Instance Types: Using oVirt as a Private Cloud Solution

13

On-demand self-service

● A consumer can provision resources without communicating with service provider

Page 14: Instance Types: Using oVirt as a Private Cloud Solution

14

Before 3.5 Options

● From scratch

● From template

Page 15: Instance Types: Using oVirt as a Private Cloud Solution

15

Portals

Page 16: Instance Types: Using oVirt as a Private Cloud Solution

16

Basic User Portal

Page 17: Instance Types: Using oVirt as a Private Cloud Solution

17

Power User Portal

Page 18: Instance Types: Using oVirt as a Private Cloud Solution

18

Web Admin

Page 19: Instance Types: Using oVirt as a Private Cloud Solution

19

From Scratch

● Uses defaults from “Blank” template

● This can not be changed

● Have to fill in everything different

● Simple to miss something

Page 20: Instance Types: Using oVirt as a Private Cloud Solution

20

Templates

● Create a VM and export a template

● Bundles everything

● Can not be combined with other image

● Cluster dependent (except Blank)

● User which can create VM can create “any” VM

Page 21: Instance Types: Using oVirt as a Private Cloud Solution

21

Instance Types

Page 22: Instance Types: Using oVirt as a Private Cloud Solution

22

Instance Type

● The hardware of the VM

● Can be combined with any SW

● Not dependent on cluster

● Global for all users

Page 23: Instance Types: Using oVirt as a Private Cloud Solution

23

Live Demo 1

● Look around the setup

● Look around the instance types

Page 24: Instance Types: Using oVirt as a Private Cloud Solution

24

Create a VM

● Create / Edit VM

● Attached / Detached to / from instance type

● Change instance type

Page 25: Instance Types: Using oVirt as a Private Cloud Solution

25

Live Demo 2

Page 26: Instance Types: Using oVirt as a Private Cloud Solution

26

Instance Creator Role

● A role with limited permissions

● Only applies for userportal

● Can create only instances of an Instance Type● Not allowed to use “Custom”● Not allowed to see/modify the values from instance type

Page 27: Instance Types: Using oVirt as a Private Cloud Solution

27

Live Demo 3

Page 28: Instance Types: Using oVirt as a Private Cloud Solution

28

Images?

● No images in 3.5

● Ongoing effort – will happen in 3.6

● Currently templates can be used

Page 29: Instance Types: Using oVirt as a Private Cloud Solution

29

Live Demo 4

Page 30: Instance Types: Using oVirt as a Private Cloud Solution

30

Advantages

● Better on-demand self-service● Better measured service● Bigger flexibility● Better mass edit of HW

Page 31: Instance Types: Using oVirt as a Private Cloud Solution

31

Diving Deeper – Different Types of Fields

Source

● Specific for VM (e.g. VM name)

● Taken from template (e.g. time zone)

● Taken from instance type (e.g. virtio-scsi)

● Taken from instance type if provided. If instance type not provided, taken from template (e.g. watchdog)

Detaches Instance Type

● Not detaching instance type (e.g. num of monitors)

● Detaching instance type (e.g. memory size)

Basic User (Instance Creator Role)

● Can change (e.g. boot sequence)

● Can Not change (e.g. memory size)

Page 32: Instance Types: Using oVirt as a Private Cloud Solution

32

Details in Feature Page

Page 33: Instance Types: Using oVirt as a Private Cloud Solution

33

Feature Work

● Images

● Run of the Image

● Quota Support

Page 34: Instance Types: Using oVirt as a Private Cloud Solution

34

THANK YOU !

http://www.ovirt.org/Features/Instance_Types

Tomáš Jelínek, [email protected] at #ovirt (irc.oftc.net)