ammeon see openstack in action

119
SEE OPENSTACK IN ACTION

Upload: ammeon-hr

Post on 14-Jul-2015

199 views

Category:

Technology


0 download

TRANSCRIPT

SEE OPENSTACK INACTION

HOUSEKEEPING19:30 - 19:35: Intro

Who are we and why are we here?19:35- 20:15: Beginning

Intro to OpenstackGetting OpenStack up and running

20:15-20:30 Bio Break, refreshments20:30 - 21:00: Middle

Deploying a workload to OpenStack21:15 - 21:30 End

Community Contribution and Q&A

QUICK INTROWHO ARE WE AND WHY ARE WE

HERE

ABOUT AMMEON

FOUNDED 2003

We offer Professional Services Consultancy, BespokeDevelopment and Testing & Lean-Agile Transformation

solutions to Accelerate software development and servicerealization

Privately held, Irish company

150+ People

We have DevOps, open systems, Web, IT, mobiletechnologies, mobile application and carrier experience

We are building OpenStack, Enterprise Cloud Migration &Test automation consultancy capabilities

How many people are:

HANDS UP

New to Openstack?

Have installed OpenStack and run a POC?

Have workloads deployed on OpenStack?

Make contributions to OpenStack Community?

Work with Docker or other containerization technology, andare looking at or working with app catalogs e.g. Murano?

GOALS

Show you how to get an OpenStack environment up andrunning

Show you how to deploy an application set to OpenStack

And share insights from our experiences

TONIGHT’S TECHTALKERS

ROB MASON - LOTTA STRANDS IN OLDDUDER'S HEAD

IGOR MILOVANOVIC - LOVES CLOUDSKEITH BYRNE - TERRIBLE PUBLIC SPEAKERLUIS GUZMAN - MAN BEHIND THE CURTAIN

HOW WE GOT INTOOPENSTACK

WHY CLOUD?

SERVICE MODELS

IAAS

PAAS

SAAS

TYPES OF CLOUD

PUBLIC

PRIVATE

HYBRID

BOOK OF THEBEGINNING

PAINLESS INTRO TO OPENSTACK

OPENSTACK“OpenStack is a free and open-source cloud

computing software platform. Usersprimarily deploy it as an infrastructure as a

service (IaaS) solution. The technologyconsists of a series of interrelated projectsthat control pools of processing, storage,and networking resources throughout a

data center—which users manage througha web-based dashboard, command-line

tools, or a RESTful API.”

RIGHT, BUT AGAIN, WHAT ISOPENSTACK?

Is not a software package, it’s a kit, a distribution

Becoming an ecosystem

You can define what components you want to use

... and how you will configure them

WHY OPENSTACK?

Free, Open Source

A very active community with 6-month release cycle

Major companies contribute, shape and improve

Contributor-controlled, nobody “owns” the project

It works :)

OPENSTACK CORE COMPONENTS

OPENSTACK COMPONENTS

TelemetryOrchestration (between cloud instances)

IAAS MANAGEABILITY ADD-ONS

Load Balancer as a Service (part of Neutron)Trove - Database as a Service

Sahara - Data-intensive apps (Hadoop or Spark)Zaqar - multi-tenant messaging service

INTEGRATED PAAS FEATURES

MINIMAL DEPLOYMENT

HIGHLY AVAILABLE

IS IT PRODUCTIONREADY?

CERN“The cloud infrastructure has now more

than 50000 cores and after the nexthardware delivers expected during the nextmonths, more than 35000 new cores will be

added most of them in the remoteComputer Centre in Hungary. Also, wecontinue to migrate existing servers to

OpenStack compute nodes at an average of100 servers per week.” -- March 2014

WALMART“...@WalmartLabs is now running in excess

of 100,000 cores of OpenStack on itscompute layer. And that’s growing by the

day ... the technology that ran parentcompany Walmart’s prodigious Cyber

Monday and holiday season salesoperations. If that’s not production, I’m not

sure what is.” -- Feb 2015

BOOK OF THEBEGINNING II

INSTALL OPENSTACK

IT’S COMPLICATED. TRY THE MANUAL INSTALL GUIDE :)

AND YOU’LL WANT TO DO IT MORE THAN ONCE

Development/Pre-Production/Production

REPRODUCIBILITY

Able to replicate issues from production in test

Requires environment alignment

SO, AUTOMATING THE PROCESS BECOMES CRITICAL

VERSION MANAGE THE CONFIGURATION/ORCHESTRATION

AUTOMATE, YOU SAY?

SCRIPT IT?

devstack

MANAGE IT AS A CONFIGURATION

Puppet, Chef, Saltstack, Ansible

MODULES AVAILABLE FOR CONFIGURING THE OPENSTACKCOMPONENTS

BUTVARIABLES FOR YOUR DEPLOYMENT

ORCHESTRATION IS STILL REQUIRED

THE GOOD NEWS?

THERE ARE LOTS OF TOOLS OUTTHERE TO HELP YOU

THE BAD NEWS?

THERE ARE LOTS OF TOOLS OUTTHERE TO HELP YOU

ORCHESTRATION FOR OPENSTACKINSTALL

MIRANTIS FUEL

RDO PACKSTACK

RACKSPACE PRIVATE CLOUD INSTALLER

Fuel and Packstack utilise Puppetlabs modules forOpenStack

Puppet modules configure components

Fuel/RDO-Packstack provide user input and orchestration

WHATS OUR VIEW?

INSTALL OPENSTACKWITH PACKSTACK

OPENSTACK ON ONE MACHINE

You deploy the components in just one machine

Usually a good idea for starters

Manual installation is lengthy and prone to error

Devstack / Packstack are good options

If you want to expand it, you can add other nodes later on

WE’LL USE PACKSTACK“Packstack is a utility that uses Puppet

modules to deploy various parts ofOpenStack on multiple pre-installed servers

over SSH automatically. Currently onlyFedora , Red Hat Enterprise Linux (RHEL)and compatible derivatives of both are

supported.”

BOOK OF THE MIDDLEDEPLOYING A WORKLOAD TO

OPENSTACK

IF THERE’S SOMETHING WORTHREMEMBERING TODAY, THAT

WOULD BE...

SERVICE ARCHITECTUREPETS TO CATTLE

PETSTHEY ARE UNIQUE, LOVINGLY HAND RAISED AND CARED

FOR

WHEN THEY GET ILL, YOU NURSE THEM BACK TO HEALTH

CATTLETHEY ARE ALMOST IDENTICAL TO OTHER CATTLE

WHEN THEY GET ILL, YOU GET ANOTHER ONE

EVERYONE COMFORTABLE WITHCATTLE CONCEPT?

DEPLOY AUTOSCALING APPS WITHHEAT

ORCHESTRATION WITH HEAT

BASIC UNITS

A SIMPLE TEMPLATEheat_template_version: 2013­05­23parameters:  image:  type: stringresources:  my_instance:    type: OS::Nova::Server    properties:      flavor: m1.small      image: {get_param: image}   outputs:  networks:    description: my_instance network details    value: {get_attr : [my_instance, networks]}

NESTED TEMPLATES

my_resource.yamlheat_template_version: 2013­05­23resources:  my_instance:    type: OS::Nova::Server    properties:      flavor: m1.small      image: my_image

heat_template_version: 2013­05­23resources:  my_nested:    type: my_resource.yaml

AUTOSCALING

METRICS OR USER EVENTS DRIVE SCALINGI

METRICS CAN INCLUDE CPU UTILIZATION, MEMORYUTILIZATION, MANY MORE AS WELL AS CUSTOM

DIMENSIONS

DYNAMICALLY ADD AND REDUCE RESOURCES TO MEETDEMAND

NEUTRON OR THIRD PARTY VENDOR LBAAS DISTRIBUTESLOAD TO SERVER RESOURCES

DEMO TIME!

BOOK OF THE END

COMMUNITY CONTRIBUTION

Review Documentation

Report Bugs

Review Code

Fix Bugs

Submit New Features

TIME FOR SOME Q&A

FINAL HANDS UP:HOW MANY PEOPLE WOULD BE INTERESTED

IN DEEPER DIVE TALK ON ANY OF THETOPICS?

THANK YOU!