openstack workshop - wecode harvard conference
TRANSCRIPT
1
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
What is
OpenStack?
3
According to the consumer…
Open source software for building clouds.
private and public
4
According to Wikipedia…
OpenStack is a cloud computing project to provide an infrastructure
(IaaS) as a
service
5
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
Broad Support and Contribution Innovative Ecosystem
7
Diverse Use Cases User Footprint
8
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
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
Bloomberg, Comcast, Best Buy User Footprint
http://www.openstack.org/summit/portland-2013/session-videos/
11
Who is behind OpenStack?
12
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
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
Developer Interest = Rapid Innovation
From 10k lines of code to 1.5 million lines of in 3 years
15
Getting technical about
OpenStack
16
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
OpenStack Architecture
18
OpenStack Architecture
19
OpenStack Architecture
20
Horizon (Dashboard) Horizon is a modular Django web application that provides an end user and administrator interface to OpenStack services.
21
Nova (Compute)
22
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
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
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
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
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
OpenStack Architecture
29
Hands on with OpenStack
30
DevStack
It is a script to quickly create an OpenStack development environment.
username: stack password: harvardWecode1
31