GETTING STARTED WITH OPENSTACK - Fedora People

Transcription

GETTING STARTED WITHOPENSTACKKenneth Hui, RackspaceDan Radez, Red HatApril 27, 2016

PresentersKenneth HuiDan RadezOpenStack EvangelistSr. Software EngineerRackspaceRed HatTwitter: @kenhuinyIRC: radez2 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

The OpenStack Story

The E-mail That Started It All4 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

The Birth Of OPENSTACK5 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

The Open Source Project6 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Recent User Adoption TrendsEnterprise Private CloudPublic CloudTelecom & NFVResearch & Big Data7 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

What Is OpenStack?

Automation and Orchestration Of IT Resources9 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

In A Loosely Coupled Architecture10 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

To Deliver Self-Service IT Rapidly At Scale11 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OpenStack Reference Architecture12 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Consumption ModelsPublicPrivate Cloud DistroPrivate Cloud as aServiceOff-PremisesOn-PremisesOn or Off PremisesShared astructureNo deploymentrequired/ Upgrades byvendorDeployments andupgrades bycustomer or vendorDeployment andupgrades byvendorOperated by vendorOperated bycustomerOperated byvendor13 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OpenStack Vendors (Sample)PublicPrivate Cloud DistroPrivate Cloud as aServiceDreamhostMirantisCiscoGoDaddyRed HatIBM Blue ckspace withRed Hat14 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Rackspace OpenStack Private Cloud Options15 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Red Hat OpenStack Options16 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Learning OpenStack

Resources To Get You StartedThe OpenStack Foundationhttp://www.openstack.org/Official OpenStack Documentationhttp://docs.openstack.org/The OpenStack Cloud Computing Cookbook (Third ditionOpenStack and-cloud/openstack-essentials18 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Join The OpenStack Communityhttp://www.openstack.org/community/19 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

Let's Get Going!

REDHAT'S COMMUNITY DISTRIBUTIONhttp://www.rdoproject.org21 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW22 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW23 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW24 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW25 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW26 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW27 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW28 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

OVERVIEW29 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

DASHBOARD: WEB INTERFACE30 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

DASHBOARD: WEB INTERFACE Web based interface for managing OpenStackModular design31 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

DASHBOARD: WEB INTERFACE vagrant up vagrant ssh sudo -i cat keystonerc adminhttp://192.168.37.2/dashboard/32 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CONNECT TO THE DASHBOARD

COMMAND LINE INTERFACE Converged CLIComponent CLI openstack help keystone help keystone help user-create glance help34 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

KEYSTONE: IDENTITY MANAGEMENT35 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

KEYSTONE: IDENTITY MANAGEMENT Centralized identity serviceCentral catalog of servicesMultiple authentication options Username / Password / Token OAuth Apache REMOTE USER36 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CREATE A USER

GLANCE: IMAGE MANAGEMENT38 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

GLANCE: IMAGE MANAGEMENT Registry for virtual disk imagesImages used as base for new instancesMany pre-built images available39 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

ADD AN IMAGE

NEUTRON: NETWORK MANAGEMENT41 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

NEUTRON: NETWORK MANAGEMENT Networking as a serviceModular architectureDesign Features Central or distributed arch Network subnet, and port abstrations Plugin arch supports many technologies42 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

ADD A NETWORK

NOVA: INSTANCE MANAGEMENT44 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

NOVA: INSTANCE MANAGEMENT Manages virtual machines on hypervisorsProvides virtual servers on demandDesign Features Designed to scale horizontally Designed for standard hardware45 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

BOOT AN INSTANCE

NEUTRON: PROVIDER NETWORKS Provides non-project network access to instancesTechnical Design Project network Project router “External” Network47 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

NEUTRON: PROVIDER NETWORKS CIDR: 172.24.4.224/28Tenant: serviceGateway: 172.24.4.225Disable DHCPAllocation pool: 172.24.4.227,172.24.4.23848 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CONFIGURE PROVIDER NETWORK

CINDER: BLOCK STORAGE50 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CINDER: BLOCK STORAGE Manages virtual persistent block storage volumesSnapshot capabilitiy51 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CREATE, ATTACH ANDMOUNT A VOLUME

SWIFT: OBJECT STORAGE53 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

SWIFT: OBJECT STORAGE Simple file storage and retrievalMultiple backing store options54 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

CREATE A CONTAINER ANDUPLOAD AN OBJECT

INSTALLATION METHODSRDO Packstack Triple-ORH OPENSTACK PLATFORM OSP Director56 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

REVIEW57 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

RESOURCES Rackspace: www.rackspace.comRed Hat: www.redhat.comRDO: www.rdoproject.comOpenStack: www.openstack.orgTryStack www.trystack.orghttps://radez.fedorapeople.org/ Vagrantfile OpenStackSummitAustin2016.pdf58 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016

14 OPENSTACK SUMMIT :: AUSTIN, TX :: APRIL 2016 OpenStack Vendors (Sample) Public Private Cloud Distro Private Cloud as a Service Dreamhost Mirantis Cisco GoDaddy Red Hat IBM Blue Box Internap SUSE Platform9 Rackspace Ubuntu Rackspace Rackspace with Red Hat