OpenStack Workshop - WECode Harvard Conference

30
1

Transcript of OpenStack Workshop - WECode Harvard Conference

Page 1: OpenStack Workshop - WECode Harvard Conference

1

Page 2: OpenStack Workshop - WECode Harvard Conference

WECode 2014 OpenStack Workshop

Amy Truong @amyvtruong Dana Bauer @geography76 Egle Sigler @eglute Iccha Sethi @IcchaSethi

#wecode #openstackworkshop @openstack @rackspace Etherpad: https://etherpad.openstack.org/p/wecode_workshop

Page 3: OpenStack Workshop - WECode Harvard Conference

What is

OpenStack?

3

Page 4: OpenStack Workshop - WECode Harvard Conference

According to the consumer…

Open source software for building clouds.

private and public

4

Page 5: OpenStack Workshop - WECode Harvard Conference

According to Wikipedia…

OpenStack is a cloud computing project to provide an infrastructure

(IaaS) as a

service

5

Page 6: OpenStack Workshop - WECode Harvard Conference

Open Development Process Technology Platform

Time-Based Release Cycle New software release every six months, milestones

with interim

Twice Yearly Design Summits Immediately following software release to plan next version Sessions led by developers and Project Technical Leads

Broad Contributions 1000 developers, from over 50 companies worldwide

Elected Leadership Developers elect their own Project Technical Leaders

6

Page 7: OpenStack Workshop - WECode Harvard Conference

 

Broad Support and Contribution Innovative Ecosystem

7

Page 8: OpenStack Workshop - WECode Harvard Conference

Diverse Use Cases User Footprint

8

Page 9: OpenStack Workshop - WECode Harvard Conference

PayPal Uses OpenStack User Footprint

“We needed agility without sacrificing the availability. By

leveraging the collective innovation of the OpenStack

community, we can develop and grow our private cloud much

quicker without having to reinvent anything.”

Processed more than $26,000 in mobile payments every minute in 2012 OpenStack runs thousands of VMs to support their self-service developer model Internal team manages deployment and operations, using OpenStack Compute, Storage & Shared Services

Saran Mandair, senior director infrastructure engineering,

PayPal

of

9

Page 10: OpenStack Workshop - WECode Harvard Conference

Intel Uses OpenStack User Footprint

“OpenStack has dramatically reduced the amount of time it

takes to provision services and automatically resolve resource issues. We can now deploy a VM in just five to 10 minutes,

provide faster self services to our customers, and offer a more reliable infrastructure with rolling

updates that will keep our infrastructure current without

burdening staff. Intel IT supports more than 75,000 servers in 69 data centers And more than 91,000 employees who connect to Intel resources through more than 138,000 mobile devices. 10

Das Kamhout, principal engineer and cloud lead, Intel

Page 11: OpenStack Workshop - WECode Harvard Conference

Bloomberg, Comcast, Best Buy User Footprint

http://www.openstack.org/summit/portland-2013/session-videos/

11

Page 12: OpenStack Workshop - WECode Harvard Conference

Who is behind OpenStack?

12

Page 13: OpenStack Workshop - WECode Harvard Conference

The OpenStack Foundation

Protecting, Empowering, and Promoting OpenStack software and the community around it, including users, developers and the entire ecosystem. • •

Over 9,500 Individual Members, up from 5,600 at launch The leading Global IT companies as Gold & Platinum Members Board of Directors that sets strategic direction Project Technical Leads and a Technical Committee that

• •

are elected from User Committee

among the contributors to ensure the users voices • are heard

13

Page 14: OpenStack Workshop - WECode Harvard Conference

Developer Platform

Interest & Commitment to

http://www.ohloh.net/p/compare? project_0=OpenStack&project_1=Apache+CloudStack&project_2=Eucalyptus

14

 

Contributors

 

Average of 230+ unique contributors per month

Page 15: OpenStack Workshop - WECode Harvard Conference

Developer Interest = Rapid Innovation

From 10k lines of code to 1.5 million lines of in 3 years

15

Page 16: OpenStack Workshop - WECode Harvard Conference

Getting technical about

OpenStack

16

Page 17: OpenStack Workshop - WECode Harvard Conference

What is OpenStack?

OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all

managed through a dashboard that gives administrators control while empowering their users to provision resources through

interface. a web

It can be managed using CLIs and APIs.

17

Page 18: OpenStack Workshop - WECode Harvard Conference

OpenStack Architecture

18

Page 19: OpenStack Workshop - WECode Harvard Conference

OpenStack Architecture

19

Page 20: OpenStack Workshop - WECode Harvard Conference

OpenStack Architecture

20

Page 21: OpenStack Workshop - WECode Harvard Conference

Horizon (Dashboard) Horizon is a modular Django web application that provides an end user and administrator interface to OpenStack services.

21

Page 22: OpenStack Workshop - WECode Harvard Conference

 

Nova (Compute)

22

Page 23: OpenStack Workshop - WECode Harvard Conference

Nova cont.

API ●

nova-api accepts and responds to end user compute API calls. –

Computing core ●

The nova-compute process is primarily a worker daemon that creates and terminates virtual machine instances via hypervisor's APIs

(XenAPI for XenServer/XCP, for VMware, etc.).

libvirt for KVM or QEMU, VMwareAPI

nova-schedule process nova-conductor module

23

Page 24: OpenStack Workshop - WECode Harvard Conference

Swift (Object Store)

The swift architecture is single point of failure as

very distributed to prevent any well as to scale horizontally. It

includes the following components: Proxy server (swift-proxy-server) accepts incoming requests via the OpenStack Object API or just raw HTTP. Account servers manage accounts defined with the object storage service.

Container servers manage a mapping within the object store service. Object servers manage actual objects nodes.

of containers (i.e folders) –

(i.e. files) on the storage –

24

Page 25: OpenStack Workshop - WECode Harvard Conference

Glance (Images Service)

Glance has four main parts to it: ●

glance-api accepts Image API calls for image discovery, image retrieval and image storage.

glance-registry stores, processes and retrieves images

metadata about –

A A

database to store the image metadata. –

storage repository for the actual image files. –

25

Page 26: OpenStack Workshop - WECode Harvard Conference

Keystone (Identity Service)

Keystone provides a single point of integration for OpenStack policy, catalog, token and authentication. Keystone handles API requests as well as providing

configurable catalog, policy, token and identity services.

26

Page 27: OpenStack Workshop - WECode Harvard Conference

Neutron (Networking)

OpenStack Networking provides "network connectivity as a ●

service" between interface OpenStack services (most works by allowing users to

devices managed by other likely Compute). The service create their own networks and

then attach interfaces to them. OpenStack Networking plugins actual actions such as:

and agents perform the ●

plugging and unplugging ports creating networks or subnets IP addressing

28

Page 28: OpenStack Workshop - WECode Harvard Conference

OpenStack Architecture

29

Page 29: OpenStack Workshop - WECode Harvard Conference

Hands on with OpenStack

30

Page 30: OpenStack Workshop - WECode Harvard Conference

DevStack

It is a script to quickly create an OpenStack development environment.

username: stack password: harvardWecode1

31