50
OpenStack Workshop Intro Session Affan A. Syed, Adnan Iqbal, Zaafar Ahmed, Muhammad Zaheer

Openstack Pakistan Workshop (intro)

Embed Size (px)

Citation preview

Page 1: Openstack Pakistan Workshop (intro)

OpenStack WorkshopIntro Session

Affan A. Syed, Adnan Iqbal, Zaafar Ahmed, Muhammad Zaheer

Page 2: Openstack Pakistan Workshop (intro)

Registration opened this Monday

more than 90 registrations in 3 days!

2

Amazing response

Private (IT) Private (telco) Govt

Distribution within Industry

Industry Academia

Response Distribution

Page 3: Openstack Pakistan Workshop (intro)

PTA and MoIT: Dr. Ismail, Wasi ullah Khan

Awal Telecom: Akbar Shaukat

PLUMgrid

3

Sponsors and Enablers

Page 4: Openstack Pakistan Workshop (intro)

Workshop Outline

Page 5: Openstack Pakistan Workshop (intro)

◦ A view of the Cloud, from the clouds

◦ What is OpenStack? Why care?

◦ OpenStack: a 10,000 feet view

Outline

Page 6: Openstack Pakistan Workshop (intro)

Cloud(ed) thinking!debunking the myth of “Cloud”

Page 7: Openstack Pakistan Workshop (intro)

How the Cloud Business Model started

Excess capacity/Under utilized servers

Machine & Network virtualization

Monetization opportunity through renting

7

Page 8: Openstack Pakistan Workshop (intro)

8

Excess capacity

https://googleblog.blogspot.com/2012/10/googles-data-centers-inside-look.html

Src: “above the clouds …”, UC Berkeley tech report

OnlineGraduatePrograms.com

Page 9: Openstack Pakistan Workshop (intro)

9

Machine and network virtualization

8GB 10TB

10TB

10TB

8GB

8GB

4 GB | 2 TB

4 GB | 8 TB

4 GB | 4 TB

2 GB | 2 TB

6 GB | 6 TB

2 GB | 4 TB

2 GB | 4 TB

Physical Virtual

Brid

ge

Rou

ter

LB

Brid

ge

Brid

ge

DH

CP

FW

Brid

ge

DH

CP

FW

Page 10: Openstack Pakistan Workshop (intro)

10

Money through rental model

Rent me

2

Machines

Rent me

2 more

machines

Allow services to “scale out” on demand

Cloud provider Cloud user

Page 11: Openstack Pakistan Workshop (intro)

Infrastructure-as-a-Service

Platform-as-a-Service

Software-as-a-Service

(lots of other XaaS)11

Types of a cloud

Page 12: Openstack Pakistan Workshop (intro)

12

Managing and (re)provisioning a DCN is difficult

Credit: Google

Page 13: Openstack Pakistan Workshop (intro)

Build compute powers without vendor lock-in

Provide and build services, at lower costFacebook has 20,000 server per admin

Scale out easily by adding servers go to public clouds when needed (Cloud bursting)

13

Enterprises and Private clouds

Page 14: Openstack Pakistan Workshop (intro)

Give Me

2 Machines, Dual Core,

8GB RAM, L2

connectivity, and an SQL

DB over a firewall

What happens when using a cloud!

physical

virtual Dual Core | RAM 8GB

Dual Core | RAM 8GB

Page 15: Openstack Pakistan Workshop (intro)

15

Private Cloud Management Systems

Apache CloudStack™

Page 16: Openstack Pakistan Workshop (intro)

OpenStack: Motivation and history

16

… and why OpenStack matters!

Page 17: Openstack Pakistan Workshop (intro)

OpenStack Future (from its past!)

In 2012 Boris Renski (CMO) Mirantis made three arguments for money in OpenStack

Cloud is BIG $$$

Cloud will be open (Google, facebook, Rackspace back OpenStack)

OpenStack won the OpenCloud war (2012)

Average # of developers in an IRC channel as of 6/18

Mirantis raised $100 million as pure-play OpenStack in Aug 2015

Page 18: Openstack Pakistan Workshop (intro)

Monetary Motivations (Enterprise and Entrepreneurs)

Page 19: Openstack Pakistan Workshop (intro)

20

Job opportunity

“OpenStack continues to gain mindshare among enterprise CIOs …….. We continue to see OpenStack becoming the de facto open source option for deploying private clouds. However, this will accelerate only after more OpenStack-trained developers enter the workforce…..” [The 451Research Take (https://451research.com/openstack)]

OpenStack engineers make 36% more than other cloud engineers.Src: http://www.datacenterdynamics.com/

Page 20: Openstack Pakistan Workshop (intro)

21

Telecom Sector and NFV

Access network (metro Ethernet) Core DC (Private cloud)

Internet

Classifier

Video acc

VoIP

??Service chains

Page 21: Openstack Pakistan Workshop (intro)

22

ETSI and Network Function Virtualization (NFV)

Replace hardware network appliances with software

Deployable over commodity machines

Cost savings and no vendor lock-in vCPE Classifier

Video acc

VoIP

??Service chains

Each service/network function now a VM

Page 22: Openstack Pakistan Workshop (intro)

23

NFV architecture

Data-center/cloud infraCMS (e.g. OpenStack)

Page 23: Openstack Pakistan Workshop (intro)

OpenStack: A Brief History

NASA Launches Nebula

One of the first cloud computing platforms built for Federal Government Private Cloud

March 2010: Rackspace Open Sources Cloud Files software, aka Swift

May 2010: NASA open sources compute software, aka “Nova”

June 2010: OpenStack is formed

July 2010: The inaugural Design Summit

April 2012: OpenStack Foundation

nebula.nasa.gov

Page 24: Openstack Pakistan Workshop (intro)

Independent body to protect, empower and promote OpenStack software

Board of Directors (Platinum, Gold sponsors)

25

OpenStack® Foundation

Project Technical Leads(PTL)

Project Technical Leads(PTL)

Technical Committee

User Committee

Legal AffairsCommittee

Page 25: Openstack Pakistan Workshop (intro)

26

OpenStack Release Cycles

Every 6 months, alphabetical release names

http://www.dcvcs.com/openstack-releases/

Page 26: Openstack Pakistan Workshop (intro)

27

Platinum, Gold and Corporate members

Page 27: Openstack Pakistan Workshop (intro)

Fastest Growing Global Open Source Community

May 15, 2015

Page 28: Openstack Pakistan Workshop (intro)

29

Competitors….. Not there!

Src: http://www.qyjohn.net/?p=3801

Cloud tou buss …… Openstack!

OpenStack

CloudStack

Src: Bitergia

Page 29: Openstack Pakistan Workshop (intro)

OpenStack: Managing your Cloud!

Page 30: Openstack Pakistan Workshop (intro)

OpenStackProjects to control pools of compute, storage, and networking resource

Managed through API & dashboard

Open architecture, code, community!

Plugins (vendor specific)

OpenStack infrastructure abstraction --- connect any vendor

Open Architecture --- connect any tools with Open API

Page 31: Openstack Pakistan Workshop (intro)

Open source (Apache license) softwareaccelerated innovation, community benefits

Plug-in architectureno vendor lock-in (hypervisors, storage soln, SDN soln)

On demand control of large pools of compute, network, storage

Enable IT automation

Multi-tenancy support with quotas and isolationability to control, monitor and monetize resources

32

Features/Benefit (high level)

Page 32: Openstack Pakistan Workshop (intro)

OpenStack Core Services – the Spider web!

docs.openstack.org

Page 33: Openstack Pakistan Workshop (intro)

OpenStack Core Services – Relationship diagram (2012)

docs.openstack.org

Page 34: Openstack Pakistan Workshop (intro)

35

OpenStack as Layers (2014)In

crem

enta

l d

eplo

ym

ent/

com

ple

xit

y

Page 35: Openstack Pakistan Workshop (intro)

Nova, Glance, Keystone, and Neutron

36

Page 36: Openstack Pakistan Workshop (intro)

Provides a REST interface to:Spawn, bootstrap, delete VMs

Built using a messaging arch

Supports multiple hypervisor technologies

Supports multi-tenancy 37

Nova: Managing Compute (VM)

Nova API

Nova scheduler

Nova conductor

Messaging bus

Nova compute

hypervisorVM VM

Nova compute

hypervisorVM VM

Nova compute

hypervisorVM VM

Controller Node

Compute Nodes

Magnum (containers) and Ironic (Bare Metal)

Page 37: Openstack Pakistan Workshop (intro)

Interface to manage imagesStorage provided by drivers

Database to manage imagesDB abstraction to match any driver

38

Glance: Managing images

StorageService

(File/Swift)

Glance

API

Controller

Glance

Registry

MetadataRepository

ImageRepository

Page 38: Openstack Pakistan Workshop (intro)

Tracking users and their permissions

Providing a catalog of available services (with URLs)

New services first register with keystone

Provides tokens for usage of any service, using the RBAC model

39

Keystone: Managing identity

Identity Service

(Keystone)

Compute

Service

(Nova 8774)

Image

Service

(Glance 9292)

Storage

Service

(Swift 8080)

Network

Service

(Neutron

9696)

Credentials

Token & SC

(with TTL)

API Requests

with Token

Other ID

Backend

Token

Validation

Page 39: Openstack Pakistan Workshop (intro)

API to create virtual networksSoftware defined!

Modular and multi-tenant archAPI=service, implementation=vendor

Plugins make it technology agnostic

IPAM, load balancer, VPN … Services provided by Network node

40

Neutron: Managing networks

Neutron Server

Core APIs API Extensions

Plugins

Messaging bus

Neutron agent

L3 agent

Neutron agent

L2 agentVM VM

Controller Node

Compute Nodes

Neutron agent

L2 agentVM VM

Network Node (optional)

Internet

Page 40: Openstack Pakistan Workshop (intro)

Storage: Cinder and Swift

41

Page 41: Openstack Pakistan Workshop (intro)

42

Cinder: Managing block storage

Persistent block storage for VM instances lives through reboots and crashes

Can be used to create bootable volumesNo need for ephemeral storage!

Multiple volumes (disks) for a single VM

Can backup volumes, (perhaps) in swift!

A frontend to create and manage virtual disks and their VM association

StorageService

(File/Swift)

Glance

API

Controller

Glance

Registry

MetadataRepository

ImageRepository

Page 42: Openstack Pakistan Workshop (intro)

Object = files, persistent and HAFlat name-space

Unstructured blobs, replicated in a ring across different zones

Default to three replicas

Objects accessible with a URLswift.example.com/v1/account/container/object

Massively scalable, but with eventually consistent behavior

43

Swift: Managing object storage

https://julien.danjou.info/blog/2012/openstack-swift-consistency-analysis

Page 43: Openstack Pakistan Workshop (intro)

Cloud Management and Advanced Services

44

Page 44: Openstack Pakistan Workshop (intro)

Telemetry: Ceilometer

Orchestration: Heat

Orchestration and setup

Test Suites: Rally/Tempest

Services to manage your IaaS

Page 45: Openstack Pakistan Workshop (intro)

Database: Trove

Message Queue: Zaqar

Container Orchestration: Magnum

Container linking: Kuryr

47

Advanced Services

Page 46: Openstack Pakistan Workshop (intro)

Workflow of Instance creation

Page 47: Openstack Pakistan Workshop (intro)
Page 48: Openstack Pakistan Workshop (intro)

Evolved Core view (2015)Understanding this requires lots of time and training

Page 49: Openstack Pakistan Workshop (intro)

DevStack: the reference installer

Page 50: Openstack Pakistan Workshop (intro)

56

Questions?https://twitter.com/openstack_isb

http://www.pta.gov.pk/openstackweb/index.html

https://www.facebook.com/OpenStackPakistan/