Dev ops operations openstack

16
DEVOPS FINLAND MEETUP OPERATIONS Agenda - Creating a Cloud Infrastructure with OpenStack ( Bruno Almeida) - B uilding Automated Deplo yments on existing code (Ferrix Hovi) - Operating data: when data became child of an application (Tuuli Siiskonen) - D evOps Talks (Open Session)

Transcript of Dev ops operations openstack

Page 1: Dev ops operations  openstack

DEVOPS FINLAND MEETUP

OPERATIONSAgenda

- Creating a Cloud Infrastructure with OpenStack (Bruno Almeida)

- Building Automated Deployments on existing code (Ferrix Hovi)

- Operating data: when data became child of an application (Tuuli Siiskonen)

- DevOps Talks (Open Session)

Page 2: Dev ops operations  openstack

Creating a Cloud Infrastructure with OpenStack

Bruno Amaro Almeida

www.brunoamaro.com

https://www.linkedin.com/in/brunoamaroalmeida

Page 3: Dev ops operations  openstack

Agenda

What is OpenStack

Components

Example Infrastructure

Scalability

What if?

Demo

Page 4: Dev ops operations  openstack

Who, When, What …

OpenStack is a collection of open source software.

Project started in 2010

Rackspace and NASA are the key initial contributors.

Rackspace contributed their "Cloud Files" platform (code) to power the Object Storage part of the OpenStack

NASA contributed their "Nebula" platform (code) to power the Compute part.

OpenStack consortium has managed to have more than 150 members including Canonical, Dell, Citrix, AT&T, etc.

Page 5: Dev ops operations  openstack

Components

Nova (Compute Infrastructure)

Glance (Imaging Service)

Swift (Storage Infrastructure)

Keystone (Identity Service)

Horizon (Administrative Web-Interface)

Page 6: Dev ops operations  openstack

Nova, Compute Infrastructure

 Functions and Features: Instance life cycle management

Management of compute resources

Networking and Authorization

REST-based API

Asynchronous eventually consistent communication

Hypervisor agnostic : support for Xen, XenServer/XCP, KVM, UML, VMware vSphere and Hyper-V

Page 7: Dev ops operations  openstack

Nova, Compute Infrastructure

Components API Server (nova-api)

Message Queue (rabbit-mq server)

Compute Workers (nova-compute)

Network Controller (nova-network)

Volume Worker (nova-volume)

Scheduler (nova-scheduler)

Page 8: Dev ops operations  openstack

Glance, Imaging Service

Allow to use any of these storage backends Local filesystem (default)

OpenStack Object Store to store images

S3 storage directly

S3 storage with Object Store as the intermediate for S3 access.

HTTP (read-only)

Page 9: Dev ops operations  openstack

Swift, Storage Infrastructure

Similar to Amazon Web Services - Simple Storage Service (S3)

 Functions and Features Storage of large number of objects

Storage of large sized objects

Data Redundancy

Archival capabilities - Work with large datasets

Data container for virtual machines and cloud apps

Media Streaming capabilities

Secure storage of objects

Backup and archival

Extreme scalability

Page 10: Dev ops operations  openstack

Keystone, Identity Service

Keystone provides identity and access policy services for all components in the OpenStack family.

Services Token Service (that carries authorization information about an

authenticated user)

Catalog Service (that contains a list of available services at the users' disposal)

Policy Service (that let's keystone manage access to specific services by specific users or groups).

Page 11: Dev ops operations  openstack

Horizon, Administrative Web-Interface

Services Instance Management - Create or terminate instance, view console logs and connect through

VNC, Attaching volumes, etc.

Access and Security Management - Create security groups, manage keypairs, assign floating IPs, etc.

Flavor Management - Manage different flavors or instance virtual hardware templates.

Image Management - Edit or delete images.

Manage users, quotas and usage for projects.

User Management - Create user, etc.

Volume Management - Creating Volumes and snapshots.

Object Store Manipulation - Create, delete containers and objects.

(…)

Page 12: Dev ops operations  openstack

Example Infrastructure

node0110.11.0.201

Controller10.11.0.200

storage10.11.0.[250-X]

Virtual Instances10.11.3.X

Internet

Page 13: Dev ops operations  openstack

Scalability?

node0110.11.0.201

Controller10.11.0.200

storage10.11.0.[250-X]

More CPU power? + Nodes

More Storage?+ Storage Nodes

(GlusterFS, HadoopFS)

Internet

Page 14: Dev ops operations  openstack

What if…?

node0110.11.0.201

Controller10.11.0.200

storage10.11.0.[250-X]

Node Crasha) Only instances running on that node are affectedb) Instance image still on gluster and not on node

Controller crash?a) Can’t deploy new instances or access web

interfaceb) Instances running on controller are affectedc) Instances running on the nodes are ok

Storage crash (e.g. GlusterFS)a) With replication factor of 3, it doesn’t matterb) Gluster rebalance the cluster.

Internet

Page 15: Dev ops operations  openstack

DEMO

Install a controller (… using F-Secure EasyStack script)

Add an image template

Deploy multiple virtual instances

Explore nova console commands

Add a extra nova-compute node

Page 16: Dev ops operations  openstack

Thanks!

Questions?

Bruno Amaro Almeida

www.brunoamaro.com

https://www.linkedin.com/in/brunoamaroalmeida