OpenStack for devops environment

34
1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. OpenStack Orgad Kimchi Principal Software Engineer Oracle ISV Engineering

Transcript of OpenStack for devops environment

Page 1: OpenStack for devops environment

1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStackOrgad Kimchi

Principal Software Engineer

Oracle ISV Engineering

Page 2: OpenStack for devops environment

2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

The following is intended to outline our general productdirection. It is intended for information purposes only, andmay not be incorporated into any contract. It is not acommitment to deliver any material, code, or functionality,and should not be relied upon in making purchasingdecisions. The development, release, and timing of anyfeatures or functionality described for Oracle’s productsremains at the sole discretion of Oracle.

Safe Harbor Statement

Page 3: OpenStack for devops environment

3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Agenda

• OpenStack Overview

• OpenStack as a DevOps platform

• OpenStack Services

• OpenStack Use Cases

Page 4: OpenStack for devops environment

4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Overview• Open Source Cloud Software

– Foundation for IaaS, PaaS and SaaS

• Combines compute, networkand storage resources

– Web portal for cloud admins andself-service users

– Cloud services exposed throughAPIs

• What is OpenStack?

Data Center Resources

Single Management Pane

Page 5: OpenStack for devops environment

5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Overview• OpenStack is a cloud operating system that controls

large pools of compute, storage, and networkingresources throughout a data center

• All managed through a dashboard that givesadministrators control while empowering users toprovision resources through a web interface

Page 6: OpenStack for devops environment

6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Who's behind OpenStack? • Founded by Rackspace Hosting and NASA

• OpenStack has grown to be a global software communityof developers collaborating on a standard and massivelyscalable open source cloud operating system.

• The OpenStack Foundation promotes the development,distribution and adoption of the OpenStack cloudoperating system.

Page 7: OpenStack for devops environment

7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Releases

Page 8: OpenStack for devops environment

8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Enterprise OpenStack

Cloud Management

x86

x86

x86

SharedStorage

Horizon

Page 9: OpenStack for devops environment

9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Architecture

Source http://openstack.org

Page 10: OpenStack for devops environment

10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Image Service - Glance

• The OpenStack Image Service provides discovery,registration and delivery services for disk and serverimages.

• The ability to copy or snapshot a server image andimmediately store it away is a powerful capability of theOpenStack cloud operating system.

Page 11: OpenStack for devops environment

11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Glance• Stored images can be used as a template to get new

servers up and running quickly—and more consistently

• If you are provisioning multiple servers—than installing aserver operating system and individually configuringadditional services.

• It can also be used to store and catalog an unlimitednumber of backups.

Page 12: OpenStack for devops environment

12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Glance Container Formats

Glance also supports the concept of container formats:

OVF An open standard for distributing one or morevirtual machine images

aki, ari, ami Amazon kernel, ramdisk, or machineimage (respectively)

Docker New container format to support Docker

Page 13: OpenStack for devops environment

13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Networking in OpenStack

• Networking in OpenStack is one of the most powerfuland sophisticated feature sets.

• The OpenStack networking service, Neutron, offers acomplete SDN solution along with various networkservices, out of the box.

• The network services Neutron can support include:routing, firewall, DNS, DHCP, load balance, VPN

Page 14: OpenStack for devops environment

14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

User Isolation Multi Tenancy

• Allowing multiple users to share the same physical environment withcomplete separation between them is a key feature in OpenStack.

• OpenStack is designed in a way that many tenants can share thesame physical resources, without being aware that they do so.

• OpenStack offer ways to share virtual resources between tenants,but maintains complete separation where needed.

Page 15: OpenStack for devops environment

15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Compute• Nova provides facilities to provision and manage virtual

machine instances.

• Similar in functionality and scope to Amazon’s EC2service

• It allows you to create, manage, and destroy virtualservers based on machine images located in Glancethrough a programmable API.

Page 16: OpenStack for devops environment

16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Compute• OpenStack Compute provides virtual machines on demand for

users.

• Virtual machines, or instances as they are called in Novaparlance, can be controlled via API calls to OpenStackCompute.

• Through these API calls, users can start, assign IP addresses,attach additional storage or access their instances consoles.

Page 17: OpenStack for devops environment

17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Dashboard Horizon• OpenStack Dashboard (or Horizon as it is codenamed)

provides a web frontend for OpenStack services.

• This currently includes all of the core OpenStack services aswell as some of the incubating projects.

• Depending on the user’s credentials, it will display end user oroperator specific screens and functionality.

Page 18: OpenStack for devops environment

18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Horizon

Page 19: OpenStack for devops environment

19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Object Storage - Swift • OpenStack provides redundant, scalable object storage

using clusters of standardized servers capable of storingpetabytes of data

• Object Storage is not a traditional file system, but rathera distributed storage system for static data such asvirtual machine images, photo storage, email storage,backups and archives.

Page 20: OpenStack for devops environment

20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Global cluster capability: This allows replication and distributionof data around the world.

This functionality helps with disaster recovery, distribution of hotdata.

Partial object retrieval: For example, if you want just a portion ofa movie object or a TAR file.

Object Storage - Swift

Page 21: OpenStack for devops environment

21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack Metering

• Ceilometer is OpenStack’s telemetry project.

• The project offers metering information about theresource consumption on OpenStack clouds.

Page 22: OpenStack for devops environment

22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Ceilometer• Alarms form the basis of Ceilometer’s monitoring support

and OpenStack Heat integration.

• They are a threshold on a particular meter and resourcethat will create an event when they are exceeded.

• For example, an alarm can be set on an instance’s CPUutilization with a threshold of 75%.

Page 23: OpenStack for devops environment

23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Orchestration module - Heat

• OpenStack Orchestration is a template-driven engine that allows applicationdevelopers to describe and automate thedeployment of infrastructure.

Page 24: OpenStack for devops environment

24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Orchestration module - Heat

• The flexible template language can specify compute,storage and networking configurations as well asdetailed post-deployment activity

• To automate the full provisioning of infrastructure as wellas services and applications.

Page 25: OpenStack for devops environment

25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Orchestration module - Heat

• Through integration with the Telemetryservice, the Orchestration engine can alsoperform auto-scaling of certaininfrastructure elements.

Page 26: OpenStack for devops environment

26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Heat• heat command-line client

• A CLI that communicates with the heat-api to run AWSCloudFormation APIs.

• End developers can directly use the Orchestration RESTAPI.

• heat-api componentAn OpenStack-native REST API thatprocesses API requests by sending them to the heat-engine over Remote Procedure Call (RPC).

Page 27: OpenStack for devops environment

27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

PackStack is a utility that uses Puppet modules to deployvarious parts of OpenStack on multiple pre-installed serversover SSH automatically

OpenStack Automation - PackStack

Page 28: OpenStack for devops environment

28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Database service - Trove

• The Database service provides scalable and reliable cloudprovisioning functionality for both relational and non-relationaldatabase engines.

• Users can quickly and easily use database features without theburden of handling complex administrative tasks.

• Cloud users and database administrators can provision and managemultiple database instances as needed.

Page 29: OpenStack for devops environment

29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Trove

• Its aim is to provide a full-fledgeddatabase environment, while minimizingthe administrative turmoil and pains ofmanaging the surrounding infrastructure.

Page 30: OpenStack for devops environment

30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Data processing service -Sahara

• The Data processing service (Sahara) enables users toprovide a scalable data processing stack and associatedmanagement interfaces.

• This includes provision and operation of data processingclusters as well as scheduling and operation of dataprocessing jobs.

Page 31: OpenStack for devops environment

31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Sahara• The solution addresses the following use cases:

• Fast provisioning of Hadoop clusters on OpenStack fordevelopment and QA.

• Utilization of unused compute power from generalpurpose OpenStack IaaS cloud.

• Analytics-as-a-Service for ad-hoc or bursty analyticworkloads.

Page 32: OpenStack for devops environment

32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Popular Use Cases Bursting workloads from private to public OpenStack

clouds

High availability across clouds (for technicaldiversity)

Page 33: OpenStack for devops environment

33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Bursting workloads from private to public OpenStack clouds

Page 34: OpenStack for devops environment

34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

High availability/disaster recovery

Source http://openstack.org