Build Cloud like Rackspace with OpenStack Ansible

Similar documents
"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

Architecture and terminology

SUSE OpenStack Cloud Production Deployment Architecture. Guide. Solution Guide Cloud Computing.

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

DEPLOYING NFV: BEST PRACTICES

OpenStack Architecture and Pattern Deployment with Heat. OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Red Hat OpenStack Platform 10 Product Guide

Minimal OpenStack Starting Your OpenStack Journey

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

An Introduction to Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Field Product Manager, Red Hat

HPE Helion OpenStack Carrier Grade 1.1 Release Notes HPE Helion

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

BRKDCT-1253: Introduction to OpenStack Daneyon Hansen, Software Engineer

Introduction To OpenStack. Haim Ateya Group Manager, EMC

Contrail Cloud Platform Architecture

Red Hat OpenStack Platform 12

HPE HELION CLOUDSYSTEM 9.0. Copyright 2015 Hewlett Packard Enterprise Development LP

Contrail Cloud Platform Architecture

Red Hat OpenStack Platform 11

BCS EXIN Foundation Certificate in OpenStack Software Syllabus

Red Hat OpenStack Platform 12

Build your own Cloud on Christof Westhues

Introduction to Neutron. Network as a Service

HP Helion OpenStack Carrier Grade 1.1: Release Notes

Red Hat OpenStack Platform 13

Integrated Management of OpenPOWER Converged Infrastructures. Revolutionizing the Datacenter

Dell EMC Ready Bundle for Red Hat OpenStack Platform. PowerEdge FX Architecture Guide Version

Reference Architecture: Red Hat OpenStack Platform

Building a Video Optimized Private Cloud Platform on Cisco Infrastructure Rohit Agarwalla, Technical

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

EMC STORAGE SOLUTIONS WITH MIRANTIS OPENSTACK

POWERED BY OPENSTACK. Powered by OpenStack. Globo.Tech GloboTech Communications

Best Practice Deployment of F5 App Services in Private Clouds. Henry Tam, Senior Product Marketing Manager John Gruber, Sr. PM Solutions Architect

5 Things You Need for a True VMware Private Cloud

Baremetal with Apache CloudStack

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

Reference Architecture: Red Hat OpenStack Platform with ThinkSystem Servers

DEEP DIVE: OPENSTACK COMPUTE

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

Cisco Virtual Networking Solution for OpenStack

Human Centric. Innovation. OpenStack = Linux of the Cloud? Ingo Gering, Fujitsu Dirk Müller, SUSE

Reimagining OpenStack*

OpenStack Mitaka Release Overview

Dell Red Hat OpenStack Cloud Solution Reference Architecture Guide - Version 5.0

IBM Cloud Orchestrator Version User's Guide IBM

Red Hat Enterprise Linux OpenStack Platform User Group.

Deployment Guide. SUSE OpenStack Cloud 7

Dell EMC Ready Bundle for Red Hat OpenStack Platform. Dell EMC PowerEdge R-Series Architecture Guide Version

Road to Private Cloud mit OpenStack Projekterfahrungen

Introduction to OpenStack

Why software defined storage matters? Sergey Goncharov Solution Architect, Red Hat

Red Hat OpenStack Platform 9 Architecture Guide

Dell EMC Red Hat OpenStack Cloud Solution. Architecture Guide Version 6.0

Spawning Virtual HPCs Using OpenStack

Life Without DevStack: OpenStack Development With OSA. Miguel

Red Hat OpenStack Platform 10 Architecture Guide

OPENSTACK: THE OPEN CLOUD

VMware Integrated OpenStack User Guide. VMware Integrated OpenStack 4.1

OpenStackFundamentals Workshop

VMware Integrated OpenStack Installation and Configuration Guide

OpenStack Networking Services and Orchestration 2015 BROCADE COMMUNICATIONS SYSTEMS, INC. COMPANY PROPRIETARY INFORMATION

VMware Integrated OpenStack Quick Start Guide

VMware Integrated OpenStack User Guide

Cloud Computing. Amazon Web Services (AWS)

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

Enhanced and Automated Virtual Machine Provisioning to Online E-assessment using Openstack Cloud

GETTING STARTED WITH OPENSTACK. Kenneth Hui, Rackspace Dan Radez, Red Hat April 27, 2016

HP Helion CloudSystem 9.0 Administrator Guide

Analyzing Performance of OpenStack with Grafana Dashboards

getting started guide

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Helion OpenStack Carrier Grade 4.0 RELEASE NOTES

CLOUD INFRASTRUCTURE ARCHITECTURE DESIGN

Using the vrealize Orchestrator OpenStack Plug-In 2.0. Modified on 19 SEP 2017 vrealize Orchestrator 7.0

Dell EMC NFV Ready Bundle for Red Hat

Reference Architecture: Red Hat Enterprise Linux OpenStack Platform 7

SUSE OpenStack Cloud

HPE Digital Learner OpenStack Content Pack

Actual Agility with SDN: Weaving SDN into Data Center Automation May 6, John Burke Principal Research Analyst & CIO

Installing and Configuring VMware Integrated OpenStack. Modified on 13 JUL 2018 VMware Integrated OpenStack 5.0

Huawei FusionSphere 6.0 Technical White Paper on OpenStack Integrating FusionCompute HUAWEI TECHNOLOGIES CO., LTD. Issue 01.

OpenStack in 10 minutes with DevStack

User Guide for XenServer Fuel Plugin

OpenStack and OpenDaylight, the Evolving Relationship in Cloud Networking Charles Eckel, Open Source Developer Evangelist

Dell EMC Ready Bundle for Red Hat OpenStack Platform

Introduction to OpenStack Trove

Cloud Essentials for Architects using OpenStack

Adding Speed and Agility to Virtualized Infrastructure with OpenStack

OpenStack End User Guide. SUSE OpenStack Cloud 8

Dell EMC + Red Hat NFV Solution. Dell EMC PowerEdge R-Series Architecture Guide Version 10.0

School of Software / Soongsil University Prof. YOUNGJONG KIM, Ph.D. Soongsil University

Introduction to OpenStack

Case Study on Enterprise Private Cloud

Getting to Know Apache CloudStack

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

OpenStack Cloud Storage. PRESENTATION TITLE GOES HERE Sam Fineberg HP Storage

Transcription:

Build Cloud like Rackspace with OpenStack Ansible https://etherpad.openstack.org/p/osa-workshop-01 Jirayut Nimsaeng DevOps & Cloud Architect 2nd Cloud OpenStack-Container Conference and Workshop 2016 Grand Postal Building, Bangrak, Bangkok September 22-23, 2016

What is OpenStack Open source software for creating private and public clouds Coordinated collection of software from a few dozen related projects

What is OpenStack

OpenStack Core Services

OpenStack Optional Services

OpenStack Release Cycle

Why OpenStack?

Maturity

High Availability and Scalability

Cost saving http://www.slideshare.net/randybias/openstack-architected-like-aws-and-gcp

Automation Infrastructure

OpenStack Core Services

Overview

OpenStack Dashboard (Horizon) A graphical interface to OpenStack services Develop on Django web application that is Python

Play with Horizon

OpenStack Image Service (Glance) Managed pre-built OS images Accepts API requests for disk or server images Images can have metadata definitions Supports the storage of disk or server images on various repository types

Play with Glance

OpenStack Networking (Neutron) Provide networks and connectivity for instances Create and attach interfaces devices Plug-ins use to accommodate different networking equipment and software It is Software Defined Networking or SDN And provided functionality to do Network Function Virtualization or NFV

Traditional Switch Topology

Data Plane and Control Plane

Neutron Components

Play with Neutron

Security Groups Named collection of network access rules to limit the types of traffic that have access to instance You can assign one or more security groups to instance Basically it is iptables Any incoming traffic that is not matched by a rule is denied access by default What you can configure are Source of traffic Protocol Destination port Rules are automatically enforced as soon as you create or modify

Play with Security Groups

Key Pairs SSH keys Provides SSH access to the instances Image must has cloud-init package Key pair is belongs to an individual user, not to a project

Play with Key Pairs

OpenStack Compute (Nova) Virtualization Start and Stop VMs Keep track of all running VMs to do load balancing Report back to the cloud VM states

Nova Hypervisors Supported KVM LXC Qemu VMWare vsphere Xen IBM PowerVM Microsoft Hyper-V

Play with Nova

Floating IP An IP address that a project can associate with a VM

Play with Floating IP

OpenStack Block Storage (Cinder) Adds persistent storage to a virtual machine Managing volumes, volume snapshots and volume types Interacts with Nova to provide volumes for instances

Storage types

Play with Cinder

OpenStack Identity (Keystone) Provides a single point of integration for managing Authentication Authorization Catalog of services Can integrate with external user management systems such as LDAP

Service Catalog Users and services can locate other services by using the service catalog A service catalog is a collection of available services Each service can have one or many endpoints Endpoint has three types admin internal public

OpenStack Keystone API V2

OpenStack Keystone API V3

OpenStack Identity Design

Domains

Groups

OpenStack and Active Directory

OpenStack Policy

OpenStack policy.json

Play with Keystone

Summary

OpenStack Optional Services

OpenStack Object Storage (Swift) Multi-tenant object storage system Highly scalable Can manage large amounts of unstructured data Low cost Interact with RESTful HTTP API

Play with Swift

OpenStack Telemetry (Ceilometer) Collect data, store in database and provide API service Uses an agent-based architecture Still need to use command for almost features

Play with Ceilometer

OpenStack Bare-Metal Provisioning (Ironic) Provides physical hardware as opposed to virtual machines Configure via PXE or IPMI Make it easy to provision physical servers like a virtual machines in a cloud

OpenStack Orchestration (Heat) Tool for orchestrating cloud Automated configures and deploys resources in stacks Defined with templates. Heat Orchestration Template (HOT) or Cloud Formation

Heat Orchestration Template

And many more...

OpenStack Distributed Storage

Distributed Storage Solution

What is Ceph? Distributed storage platform Software-defined Storage Maintain by Red Hat (that acquired InkTank) Support Block, Object, File

Why Ceph? Enterprise Class Data Protection with Replication Self-healing No RAID needed Flexibility and Scalability (to exabyte!!) Performance (with RADOS) Lower cost (free and open source) Fully-tested with OpenStack

Way to deploy OpenStack

Vendor lock-in

No vendor lock-in

Why OpenStack Ansible?

Use and maintain by Rackspace and Big Tent

Because it is Ansible Agentless architecture No centralized server Human readable Open Source Highly flexible and configurable Idempotent

Infrastructure as a Code

Comply Security Technical Implementation Guide http://docs.openstack.org/developer/openstack-ansible-security/auto_controls-all.html

Best way to learn how OpenStack working

OpenStack Ansible (OSA)

OpenStack Ansible (OSA) OSA uses Ansible to automate deploy OpenStack environment on Ubuntu Linux OSA deploy OpenStack components into Linux container (LXC) for isolation and ease of maintenance

Ansible Ansible provides an automation platform to simplify system and application deployment Ansible manages systems using Secure Shell (SSH) Ansible uses playbooks written in the YAML language for orchestration Ansible host types Deployment host Target hosts

YAML

Linux Containers (LXC) Containers provide operating-system level virtualization No overhead and complexity of virtual machines Access to the same kernel, devices and file systems It is Linux kernel namespaces

Software requirements Ubuntu 16.04 LTS or Ubuntu 14.04 LTS Secure Shell (SSH) client and server that supports public key authentication Network Time Protocol (NTP) client for time synchronization Python 2.7.x must be on the hosts en_us.utf-8 as locale

Hardware requirements CPU support hardware-assisted virtualization extensions Disk for install OS should be SSD and doing RAID1 Network recommended 10 Gigabit Ethernet with bonded LACP network interfaces Enable jumbo frames Switch L3 for VLAN and support LACP

OpenStack Ansible Architecture

Infrastructure services MariaDB/Galera RabbitMQ MemcacheD Repository Load Balancer Utility Container Log Aggregation Host Unbound DNS Container

OpenStack Services supported Enabled by default Not enabled by default Cinder Swift Nova Ironic Horizon Aodh, Ceilometer, Gnocchi Keystone Magnum Glance Sahara Neutron Aodh Heat Ceilometer Gnocchi

Networking OSA uses Linux bridges to provide layer 2 connectivity between interfaces and containers

OpenStack Ansible Network

OSA Network on Compute Host

VXLAN and VLAN

Cinder

Glance

Ephemeral storage

Storage choice LVM iscsi Ceph SANs

Swift

How to Deploy with OpenStack Ansible

OpenStack Ansible Deploy Steps

Q/A

Backup Slides

OpenStack CLI

Automated configure commands

Some tips

Caching

OpenStack Network

OpenStack Network Single Flat Network Multiple Flat Networks Mixed Flat + Private Networks Single Provider Router Per-Tenant Router

OpenStack Network

VLANs or VXLANs?

VLANs Network Traffic Flow