Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pradeep Buditi - Making An Easily Scalable Cloud Using MaaS And CEPH

Pradeep Buditi - Making An Easily Scalable Cloud Using MaaS And CEPH

Deploying and managing a cloud is a difficult task. With the use of MaaS and CEPHS on the Production cloud, at PALO IT, Pradeep was able to make it scalable with limited human intervention and full automation of setups. Attendees will get to understand the technologies used and witness the benefits of combining these technologies to make a highly scalable cloud through a live demonstration.
DevOpsDays Singapore 2017


DevOpsDays Singapore

October 26, 2017

More Decks by DevOpsDays Singapore

Other Decks in Technology


  1. DevOpsDays Singapore 2017 MAAS, CEPH & OpenStack - October 2017

    DevOps Lead | PALO IT Pradeep BUDITI
  2. Bare Metal Automation for Smart Data Centres and to deploy

    high available and scalable OpenStack Private Cloud Tools: ◦ Metal As A Services (MAAS) ◦ OpenStack Deployment ◦ Juju Charms ◦ CEPH OBJECTIVE
  3. 1 MAAS

  4. • Bare metal machines is where all VMs run. •

    Complexity on On-boarding, provisioning • Is Infrastructure must be agile ? • Manual Data centre deployments • A tool to manage infrastructure. Bare Metal
  5. What is MAAS ? • Metal as a Service --

    MAAS • treat physical servers like virtual machines in the cloud. • Elastic cloud-like resource • Provisioning construct created by Canonical
  6. • Use MAAS to deploy Windows servers in their data

    centre during business hours to support applications and employee systems. • Once the day is done, they use MAAS to redeploy the data centre server infrastructure to support Linux Servers and perform batch processing and transaction settlement for the day’s activities. MAAS – Use Case
  7. • Installing, configuring, and monitoring bare metal hardware. Including but

    not limited to, servers, switches, power distribution units (PDU)/mains distribution units (MDU), etc. • Install and upgrade firmware,patches, and updates. • Automated server utilisation and re-utilisation based on need. • Discovery of compute, network, capabilities, and storage based on server. • Power on and off servers as needed. MAAS Introduction Benefits
  8. MAAS Architecture Enhance NLP • Web UI (optimised for mobile

    devices) • Open source IP address management (IPAM) full API/CLI support • High availability (optional) • Inventory of components • DHCP and DNS for other devices on the network • DHCP relay integration • VLAN and fabric support • NTP for the entire infrastructure • Hardware testing • Composable hardware support
  9. MAAS NETWORKING MAAS A B C D ethernet ports 1

    2 3 1 2 3 1 2 3 1 2 3 Internal Switch External Switch IPMI Power PXE DHCP Internet
  10. MAAS SETUP steps STEP 01 STEP 02 STEP 03 STEP

    04 STEP 05 Hardware Setup Install MAAS Access Enable DHCP Comission Nodes Rack mounting hardware Setup Network Switches Configure both internal and External Switch Install Ubuntu Server on one box Install Maas “sudo snap install maas” Create admin user and password for login Complete the first user configuration journey Turn on DHCP on the internal subnet Start the servers. Maas will recognize the nodes. Hit commissioning MAAS Cloud is ready
  11. 2 OpenStack Deployment

  12. • OpenStack is an open source cloud platform • Controls

    large pools of compute, storage, and networking resources throughout a datacenter • Turns hypervisors into data centres (supports KVM to Hyper-V) • Support Container Orchestration (Kubernetes, Swarm, Mesos) What is OpenStack ?
  13. OpenStack Business Drivers OpenStack User Survey April 2017 https://www.openstack.org/assets/survey/April2017SurveyReport.pdf

  14. OpenStack Architecture Keystone - Authentication Nova - Compute Neutron -

    Network Glance - Image Cinder - Volume Storage Horizon - Dashboard Swift - Object Storage Core Services
  15. OpenStack Deployment Challenges • Big software big challenges ◦ Deployment

    ◦ Scaling out ◦ Server upgrades ◦ Rolling updates ◦ Repeatable best Practices • H/W configuration and integration • Agility
  16. 3 JUJU Charms

  17. OpenStack Deployment Fully Automated MAAS and Juju - workflow Juju

    openstack-base model MAAS JUJU Physical Infrastructure Model Landscape Charm store Initial deployme nt update/sc ale openstack Auto Provisioning On Bare Metal DNS/DHCP/NT P Web Console $ conjure-up juju gui • MAAS – to handle bare metal • Juju – Model-driven solution to deploy, manage and monitor (WebUI and CLI) • Autopilot - OpenStack installation with best practices (LXD, ZFS, CEPH, OVS) • Two Step deployment ◦ Run ”conjure-up” on maas server to deploy landscape ◦ Launch Landscape GUI to install OpenStack
  18. JUJU Charms openstack-base • Juju, enables you to quickly design,

    configure, deploy and manage both legacy and cloud ready applications. • Provides a drag-and-drop ability to deploy individual components • Ability to scale with MAAS
  19. CEPH for Storage CEPH • Ceph is a massively scalable,

    open source, distributed storage comprised of ◦ object store ◦ block store ◦ POSIX-compliant distributed file system • Auto-scale to the exabyte level and beyond • Runs on commodity hardware • Self-healing and self-managing, and has no single point of failure
  20. Automation MAAS JUJU Physical Infrastructure Model Landscape Charm store Initial

    deployment update/scale openstack Auto Provisioning On Bare Metal DNS/DHCP/NTP Web Console $ conjure-up juju gui