Dev ops operations openstack


Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Dev ops operations openstack

  1. 1. Creating a Cloud Infrastructurewith OpenStackBruno Amaro Almeidawww.brunoamaro.com
  2. 2. Agenda What is OpenStack Components Example Infrastructure Scalability What if? Demo
  3. 3. 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 Storagepart of the OpenStack NASA contributed their "Nebula" platform (code) to power the Compute part. OpenStack consortium has managed to have more than 150 members includingCanonical, Dell, Citrix, AT&T, etc.
  4. 4. Components Nova (Compute Infrastructure) Glance (Imaging Service) Swift (Storage Infrastructure) Keystone (Identity Service) Horizon (Administrative Web-Interface)
  5. 5. 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, VMwarevSphere and Hyper-V
  6. 6. 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)
  7. 7. 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)
  8. 8. 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
  9. 9. Keystone, Identity Service Keystone provides identity and access policy services for allcomponents in the OpenStack family. Services Token Service (that carries authorization information about an authenticateduser) Catalog Service (that contains a list of available services at the users disposal) Policy Service (that lets keystone manage access to specific services byspecific users or groups).
  10. 10. Horizon, Administrative Web-Interface Services Instance Management - Create or terminate instance, view console logs and connect throughVNC, Attaching volumes, etc. Access and Security Management - Create security groups, manage keypairs, assign floatingIPs, 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. (…)
  11. 11. Example Infrastructurenode0110.11.0.201Controller10.11.0.200storage10.11.0.[250-X]Virtual Instances10.11.3.XInternet
  12. 12. Scalability?node0110.11.0.201Controller10.11.0.200storage10.11.0.[250-X]More CPU power?+ NodesMore Storage?+ Storage Nodes(GlusterFS, HadoopFS)Internet
  13. 13. What if…?node0110.11.0.201Controller10.11.0.200storage10.11.0.[250-X]Node Crasha) Only instances running on that node are affectedb) Instance image still on gluster and not on nodeController crash?a) Can’t deploy new instances or access webinterfaceb) 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
  14. 14. 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
  15. 15. Thanks!Questions?Bruno Amaro Almeidawww.brunoamaro.com