+ All Categories
Home > Engineering > OpenStack 101

OpenStack 101

Date post: 15-Jul-2015
Category:
Upload: priti-desai
View: 405 times
Download: 0 times
Share this document with a friend
Popular Tags:
37
OpenStack 101 What is OpenStack? Priti Desai Sr. Software Engineer OpenStack 101 1
Transcript

OpenStack 101What is OpenStack?

Priti DesaiSr. Software Engineer

OpenStack 101 1

Me

• Part of Symantec since 2008

• STAR

– Reputation Based Technology

– Symantec Data Analytics Platform (now CPE)

• OpenStack Developer

• OpenStack Security Group

OpenStack 1012

What is Cloud?

OpenStack 1013

Cloud is more than virtualization

• Virtualization is an integral part of cloud computing

– Virtualization allows to fully maximize the computing resources but it still requires a system administrator to provision the virtual machine for the end-users

– Virtualization itself does not provide the customer a self-service layer and without that layer you cannot deliver compute as a service.

• Cloud computing is about providing self-service to end users

– Architecture and tools to enable virtualization to be delivered as a service and virtualization is one possible service that could be delivered.

– Self-provision servers, applications and other resources

– Utility model similar to power or water – meter resources and pay for what is used

OpenStack 1014

What is OpenStack?

OpenStack 1015

What is OpenStack?

As described by the OpenStack Foundation:

“Open source software for creating

private and public clouds.”

OpenStack 1016

Why OpenStack?

• Standard– OpenStack is not a “cheap alternative” to proprietary, it is a dominant

standard as an IaaS.

• Compatible– Compatibility with public cloud makes it easy to migrate data and

applications to public/hybrid clouds.

• Proven– OpenStack today powers some of the largest public and private clouds in

the world.

OpenStack 1017

What are the key capabilities of OpenStack ?

OpenStack 1018

OpenStack Capabilities

• VMs on demand

– Provisioning

– Snapshotting

• Block/Object Storage

• Database as a Service

• Multi-tenancy - Tenant Isolation

OpenStack 1019

OpenStack History

OpenStack 10110

OpenStack History

Series (codename) Status Releases

… … …

Havana EOL 2013.2 (October, 2013)

IceHouse Security Supported 2014.1 (April, 2014)

Juno Current Stable 2014.2 (October, 2014)

Kilo Under Development Due (April, 2015)

OpenStack 10111

OpenStack Projects

OpenStack 10112

OpenStack Projects

OpenStack 10113

• Keystone (Identity Service)

• Nova (Compute Service)

• Glance (Image Service)

• Neutron (Network Service)

• Cinder (Block Storage Service)

• Swift (Object Storage Service)

• Horizon (Dashboard)

Logical Architecture

OpenStack 10114

Logical Architecture

OpenStack 10115

Logical Architecture

OpenStack 10116

OpenStack 10117

1

2

3

4

5

6

OpenStack Identity Service

Codename: Keystone

OpenStack 10118

Keystone Concepts

OpenStack 10119

How does AuthN mechanism work?

OpenStack 10120

Keystone AuthN

OpenStack 10121

OpenStack Compute Service

Codename: Nova

OpenStack 10122

Nova Components

OpenStack 10123

OpenStack Image Service

Codename: Glance

OpenStack 10124

Glance Components

OpenStack 10125

OpenStack Block Storage Service

Codename: Cinder

OpenStack 10126

Cinder Components

OpenStack 10127

CPE Deployment

OpenStack 10128

CPE Deployment Topology

OpenStack 10129

Control Cluster

Horizon Keystone NeutronNova Ctrl Glance

Compute ClusterCompute

Node

Compute Node

Compute Node

Compute Node

Compute Node

Compute Node

Storage Cluster (Swift)StorageNode

StorageNode

StorageNode

StorageNode

StorageNode

StorageNode

How to build OpenStack development environment?

OpenStack 10130

OpenStack Development Environment

OpenStack 10131

• Select a Linux Distribution

• Install selected OS

• Download DevStack– git clone https://github.com/openstack-dev/devstack.git -b stable/juno

• Configure– local.conf - OpenStack Repo, Install Directory, Logging Directory

• Start the install– cd devstack

– ./stack.sh

How to provision a VM in your OpenStack development environment?

OpenStack 10132

Launch a VM

OpenStack 10133

• Set environment:

– export OS_AUTH_URL=https://keystone.ash2.symcpe.net/v3

– export OS_USERNAME=priti_desai

– export OS_PASSWORD=<password>

– export OS_USER_DOMAIN_NAME=<domain name>

– export OS_PROJECT_DOMAIN_NAME=<domain name>

– export OS_PROJECT_NAME=<project name>

– export OS_IDENTITY_API_VERSION=3

Launch a VM

• Choose flavor:– openstack flavor list

• Choose Image:– openstack image list

• Choose Network:– openstack network show <private-network>

• Choose Security Group:– openstack security group list

• Create a VM– openstack server create –flavor=<flavor-id> –image=<image-id> --min=1 --max=1 --nic net-id=<net-id>--

security-group=<security-group> openstack-test-server

OpenStack 10134

Access VM

• List VM– openstack server list

• Create Floating IP– openstack ip floating create <public-network>

• Attach floating IP– openstack ip floating add <floating IP> <server>

• Logging into VM– Ping <floating IP>

– ssh root@<floating IP>

OpenStack 10135

Q&ALet’s talk…

OpenStack 101 36

Thank You!

Priti [email protected]@pritidesai8


Recommended