OpenStack101 vBrownBagLatAm 2016

25
ALVARO SOTO @2016 OPENSTACK & CEPH ENGINEER OPENSTACK 101 / VBROWNBAG LATAM

Transcript of OpenStack101 vBrownBagLatAm 2016

Page 1: OpenStack101 vBrownBagLatAm 2016

ALVARO SOTO @2016 OPENSTACK & CEPH ENGINEER

OPENSTACK 101 / VBROWNBAG LATAM

Page 2: OpenStack101 vBrownBagLatAm 2016

WHOAMI

▸ Software developer (python lover).

▸ Full Linux sysadmin stack.

▸ Fan of “Design for Failure” architectures.

▸ Cepher / Stacker

OPENSTACK 101 / VBROWNBAG LATAM

Page 3: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

AGENDA

▸ Open what?

▸ The born of…

▸ Core components

▸ Release history

▸ OpenStack architecture

▸ Where to start

▸ Where to go next

Page 4: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

OPEN WHAT?

OpenStack is a free and open-source software platform for cloud computing, mostly deployed as an infrastructure-as-a-service (IaaS).

The software platform consists of interrelated components that control hardware pools of processing, storage, and networking resources throughout a data center. Users either manage it through a web-based dashboard, through command-line tools, or through a RESTful API. (From https://wikipedia.org)

Page 5: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

THE BORN OF…

Page 6: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

SUPPORTING COMPANIES (SOME OF)

Page 7: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

ONE OF THE FASTEST GROWING OPEN SOURCE COMMUNITIES IN THE WORLD.

Page 8: OpenStack101 vBrownBagLatAm 2016

OPENSTACK 101 / VBROWNBAG LATAM

CORE COMPONENTS

Page 9: OpenStack101 vBrownBagLatAm 2016

NOVA

▸ Compute / IaaS.

▸ Relies on Keystone for authentication and authorization of all API requests.

▸ Handle pool of computer resources.

▸ Hypervisor agnostic.

▸ Designed to scale horizontally on standard hardware.

▸ Nova interacts heavily with other OpenStack services like Keystone for performing authentication, Horizon for its Web interface and Glance for supplying its images.

OPENSTACK 101 / VBROWNBAG LATAM

Page 10: OpenStack101 vBrownBagLatAm 2016

NEUTRON

▸ Networking component managing IP addresses.

▸ Relies on Keystone for authentication and authorization of all API requests.

▸ Nova interacts with Neutron through API calls. As part of creating an instance, nova-compute communicates with the Neutron API to plug each virtual NIC.

▸ Horizon has a basic integration with the Neutron API, and allows tenants to create networks and subnets.

▸ There are two categories of networks that can be created within Neutron: Provider Networks, Tenant Networks.

OPENSTACK 101 / VBROWNBAG LATAM

Page 11: OpenStack101 vBrownBagLatAm 2016

CINDER

▸ Block Storage provides persistent block-level storage devices for use with OpenStack compute instances.

▸ Manages the creation, attaching and detaching of the block devices to servers.

▸ Permits organisations that deploy it to make available a catalog of block-based storage devices with differing characteristics (tiers).

▸ Basic storage capabilities such as snapshot management and volume clones, which are often enhanced through vendor-specific drivers.

OPENSTACK 101 / VBROWNBAG LATAM

Page 12: OpenStack101 vBrownBagLatAm 2016

KEYSTONE

▸ Provides a central directory of users mapped to the OpenStack services they can access.

▸ Architecturally, Keystone is simple. It processes all the API requests, providing Identity, Token, Catalog, and Policy services. It is organized as a group of front-end services exposed via the API network.

OPENSTACK 101 / VBROWNBAG LATAM

Page 13: OpenStack101 vBrownBagLatAm 2016

GLANCE

▸ Provides discovery, registration, and delivery services for disk and server images.

▸ Stored images can be used as a template.

▸ It can also be used to store and catalog an unlimited number of backups.

▸ Glance can store disk and server images in a variety of back-ends

OPENSTACK 101 / VBROWNBAG LATAM

Page 14: OpenStack101 vBrownBagLatAm 2016

SWIFT

▸ Is a scalable redundant storage system.

▸ Objects and files are written to multiple disk drives spread throughout servers in the data center.

▸ Storage clusters scale horizontally simply by adding new servers.

▸ If a server of disk fail, swift replicates its content from other active nodes to new locations in the cluster.

▸ Because OpenStack uses software logic to ensure data replication and distribution across different devices, commodity hardware can be used.

OPENSTACK 101 / VBROWNBAG LATAM

Page 15: OpenStack101 vBrownBagLatAm 2016

HORIZON

▸ Provides administrators and users a graphical interface to access, provision, and automate cloud-based resources.

▸ The dashboard is also brandable for service providers.

▸ It not provides all the power of the API or CLI.

▸ Not state whatsoever.

▸ Fully developed in Django and the design provides and easy way to accommodate third party products and services.

OPENSTACK 101 / VBROWNBAG LATAM

Page 16: OpenStack101 vBrownBagLatAm 2016

HEAT

▸ Service to orchestrate multiple composite cloud applications using templates.

▸ YAML templates.

▸ Uses OpenStack-native REST API.

▸ Useful to create HA architectures or specific deploy of instances.

OPENSTACK 101 / VBROWNBAG LATAM

Page 17: OpenStack101 vBrownBagLatAm 2016

OTHER PROJECTS

▸ Database (Trove)

▸ Elastic Map Reduce (Sahara)

▸ Bare Metal (Ironic)

▸ Messaging (Zaqar)

▸ Shared File System (Manila)

▸ DNS (Designate)

▸ Search (Searchlight)

▸ Key Manager (Barbican)

▸ Containers (Magnum)

OPENSTACK 101 / VBROWNBAG LATAM

Page 18: OpenStack101 vBrownBagLatAm 2016

RELEASE HISTORY

OPENSTACK 101 / VBROWNBAG LATAM

Page 19: OpenStack101 vBrownBagLatAm 2016

OPENSTACK ARCHITECTURE

OPENSTACK 101 / VBROWNBAG LATAM

Page 20: OpenStack101 vBrownBagLatAm 2016

OPENSTACK ARCHITECTURE

OPENSTACK 101 / VBROWNBAG LATAM

Page 21: OpenStack101 vBrownBagLatAm 2016

OPENSTACK ARCHITECTURE

OPENSTACK 101 / VBROWNBAG LATAM

Page 22: OpenStack101 vBrownBagLatAm 2016

WHERE TO START

▸ DevStack:

▸ http://docs.openstack.org/developer/devstack/

▸ Deploy tools:

▸ JUJU

▸ Ansible

▸ Puppet

▸ Chef

OPENSTACK 101 / VBROWNBAG LATAM

Page 23: OpenStack101 vBrownBagLatAm 2016

WHERE TO GO NEXT

OPENSTACK 101 / VBROWNBAG LATAM

Page 24: OpenStack101 vBrownBagLatAm 2016

THANKS!!!!

Q & A

OPENSTACK 101 / VBROWNBAG LATAM

Page 25: OpenStack101 vBrownBagLatAm 2016

CONTACT INFO

▸ Twitter: @alsotoes

▸ E-Mail: [email protected] / [email protected]

▸ Web / Blog: http://headup.ws

▸ IRC: khyron

▸ Code: https://github.com/alsotoes

OPENSTACK 101 / VBROWNBAG LATAM