Unifying The Cloud Experience With Ubuntu Server

1y ago
11 Views
1 Downloads
1.13 MB
27 Pages
Last View : 14d ago
Last Download : 3m ago
Upload by : Karl Gosselin
Transcription

Unifying the Cloud Experience with Ubuntu Server Adam Gandelman Ubuntu Server Cloud Infrastructure Team Adam.gandelman@canonical.com www.canonical.com CloudOpen 2012 1

My Cloud Story – The Beginning Building virtualization stacks and rudementary “clouds” - Xen, Kvm, iSCSI, DRBD, Pacemaker, etc. Glue, Glue, Glue. Duct Tape, Duct Tape, Duct Tape. - The basics were there, but the management capabilites were not. Proprietary offerings were better but was an issue. Open Source solutions worked but still a bit clunky My Goals: Lowering costs, not so much accelerating productivity 2

My Cloud Story – The Amazon Days Working Operations at a Software-as-a-service startup True Infrastructure-as-a-Service APIs to meet our needs Traded performance for amazing flexibility automation foozball (read: Beer) Introduction to Ubuntu Server (the defacto on EC2) Something seems off. 3

My Cloud Story – The Amazon Days Working Operations at a Software-as-a-service startup True Infrastructure-as-a-Service APIs to meet our needs Traded performance for amazing flexibility automation foozball (read: Beer) Introduction to Ubuntu Server (the defacto on EC2) Something seems off. vendor lock in 4 closed source security ?

My Cloud Story – The Open Cloud Safe to assume Amazon leverages FOSS Lets build a platform that suites the needs of all its users Allow and encourage community and growth We have the tools and we know how to use them: OS, software, community. 5

My Cloud Story – The Future ? 6

Ubuntu Cloud Technical Overview Orchestrated Services Innovation and Quality from Top to Bottom Juju Other OS Ubuntu Server Tightly integrated, loosely coupled Ubuntu Server OpenStack Quality Assurance Juju MAAS Ubuntu Server Intel, AMD, ARM 7 Predictable, reliable

Ubuntu Cloud Technical Overview Orchestrated Services Juju Other OS Ubuntu Server Ubuntu Server OpenStack Quality Assurance Juju MAAS Ubuntu Server A Solid Foundation Intel, AMD, ARM 8 Cadence Feature-rich Supported

Ubuntu Cloud Technical Overview Orchestrated Services Juju Other OS Ubuntu Server Ubuntu Server OpenStack Quality Assurance Open IaaS Flexible Configurable Open and Free Juju MAAS Ubuntu Server A Solid Foundation Intel, AMD, ARM 9 Cadence Feature-rich Supported

Ubuntu Cloud Technical Overview Orchestrated Services Enabling IT for the Future Juju Other OS Ubuntu Server Automation DevOps Agility Ubuntu Server OpenStack Quality Assurance Open IaaS Flexible Configurable Open and Free Juju MAAS Ubuntu Server A Solid Foundation Intel, AMD, ARM 10 Cadence Feature-rich Supported

Ubuntu Cloud Technical Overview Orchestrated Services Enabling IT for the Future Juju Other OS Ubuntu Server Automation DevOps Agility Ubuntu Server OpenStack Quality Assurance Open IaaS Flexible Configurable Open and Free Juju MAAS Ubuntu Server A Solid Foundation Intel, AMD, ARM 11 Cadence Feature-rich Supported

Juju? Service Orchestration Framework Originally intended for the cloud (EC2): juju deploy cs:wordpress juju add-relation wordpress haproxy juju add-unit wordpress 12 It would be useful to expand to other providers: juju deploy -e hpcloud cs:hadoop-slave juju add-relation hadoop-slave hadoop-master juju add-unit -n 10 hadoop-slave Also became apparent the same has value on HW: juju deploy -e MAAS cs:nova-compute juju add-relation nova-compute nova-cloud-controller juju add-unit -n 5 nova-compute

How do we do it? Problem 1: Cloud inter-operability EC2, HP, Azure, etc., etc. Problem 2: Hardware Hyper-scale? We have the tools and we know to use them. Ubuntu Cloud Images cloud-init 13 MAAS

Metal-as-a-Service (MAAS) Automatic discovery and enlistment. Node inventory Graphical management. API-driven machine provisioning Orchestrated Services Hardware management and inventory Consumable by Juju as a baremetal provider Dynamic, flexible and “cloudy” Designed to scale OpenStack Hadoop Cloudfoundry Juju Other OS Ubuntu Server Ubuntu Server OpenStack Juju MAAS Ubuntu Server Intel, AMD, ARM 14

cloud-init Orchestrated Services Flexible, First boot configuration system Yaml format Install packages, import SSH Keys, run arbitrary scripts, etc. Integrated with system init. Provider agnostic Plugable data sources EC2, OpenStack (config drive), KVM, local Juju Other OS Ubuntu Server Ubuntu Server OpenStack Easily extended Many user-contributed extensions and data sources. Juju MAAS Integrated Baked into Ubuntu Cloud Images. Used heavily by MAAS and Juju Ubuntu Server Intel, AMD, ARM 15

Example cloud-init #cloud-config packages: - git - bzr - python-setuptools - python-pip - vim - tmux - ipython apt mirror: http://mirror.home.base/ubuntu/ runcmd: - [ wget, "http://amebix.home.base/ adam/devenv/vimrc", -O, /home/ubuntu/.vimrc ] - [ wget, "http://amebix.home.base/ adam/devenv/bash aliases", -O, /home/ubuntu/.bash aliases ] - [ wget, "http://amebix.home.base/ adam/devenv/gitconfig", -O, /home/ubuntu/.gitconfig ] - [ wget, "http://amebix.home.base/ adam/devenv/gdbinit", -O, /home/ubuntu/.gdbinit ] 16

Example cloud-init #cloud-config # Mounts volfile exported by glusterfsd running on # "volfile-server-hostname" onto the local mount point '/mnt/data' # packages: - glusterfs-client mounts: - [ 'volfile-server-hostname:6996', /mnt/data, glusterfs, "defaults,nobootwait", "0", "2" ] runcmd: - [ modprobe, fuse ] - [ mkdir, '-p', /mnt/data ] - [ mount, '-a' ] 17

Ubuntu Cloud Images Public Cloud Private Cloud KVM LXC Maintained, supported Orchestrated Services Base OS image Tested Bug fixes, security updates Daily Builds, Easily Avaiable cloud-images.ubuntu.com API Compatable Releases back to Hardy Juju Other OS Ubuntu Server Ubuntu Server OpenStack Juju MAAS Ubuntu Server Intel, AMD, ARM 18

Consuming the images 19

Consuming the images 20

Consuming the images EC2 via cloud-utils ubuntu-cloudimg-query ami-fe5bd4ce euca-run-instances -k adam -t t1.micro ami-fe5bd4ce 21

Consuming the images OpenStack glance add name ubuntu-12.04 container format ami \ disk format ami \ ubuntu-12.04-server-cloudimg-amd64-disk1.img Uploading image 'ubuntu-12.04-amd64' Added new image with ID: 3564c7fd-6346-46e0-b810-f8a9bad5f854 nova boot --flavor m1.small \ --image 3564c7fd-6346-46e0-b810-f8a9bad5f854 \ my server 22

Tightly Integrated, Loosely Coupled Orchestrated Services MAAS can deploy any workload Juju can deploy. Juju Other OS Ubuntu Server Ubuntu Server OpenStack Hadoop on EC2 Hadoop on Metal MAAS is but one of many Juju providers. Quality Assurance EC2, Openstack, Azure, LXC Cloud Images and cloud-init environment agnostic. Juju MAAS Ubuntu Server Intel, AMD, ARM 23 Cloud-config on hardware Ubuntu Cloud Image in LXC

Unifying the Experience On EC2: juju deploy -e EC2 cs:wordpress juju add-relation wordpress haproxy juju add-unit wordpress On HP Cloud: juju deploy -e hpcloud cs:hadoop-slave juju add-relation hadoop-slave hadoop-master juju add-unit -n 10 hadoop-slave On baremetal: juju deploy -e MAAS cs:nova-compute juju add-relation nova-compute nova-cloud-controller juju add-unit -n 5 nova-compute On your private cloud: juju deploy -e openstack cs:mediawiki juju add-relation mediawiki mysql 24

My Own Use Case OpenStack Integration Testing 25

My Own Use Case OpenStack Integration Testing Using Juju and MAAS, deploy full OpenStack cloud to bare-metal Run integration and smoke tests against deployed cloud Use Juju to deploy an application into the new cloud, native OS API Use Juju to deploy an application into the new cloud, native EC2 API 26

Thank you. Questions? Adam Gandelman Ubuntu Server Cloud Infrastructure Team Adam.gandelman@canonical.com www.canonical.com CloudOpen 2012 27

15 cloud-init Ubuntu Server Ubuntu Server Other OS Juju Ubuntu Server MAAS Intel, AMD, ARM Juju OpenStack Orchestrated Services Flexible, First boot configuration system Yaml format Install packages, import SSH Keys, run arbitrary scripts, etc. Integrated with system init. Provider agnostic Plugable data sources EC2, OpenStack (config drive), KVM, local

Related Documents:

May 02, 2018 · D. Program Evaluation ͟The organization has provided a description of the framework for how each program will be evaluated. The framework should include all the elements below: ͟The evaluation methods are cost-effective for the organization ͟Quantitative and qualitative data is being collected (at Basics tier, data collection must have begun)

Silat is a combative art of self-defense and survival rooted from Matay archipelago. It was traced at thé early of Langkasuka Kingdom (2nd century CE) till thé reign of Melaka (Malaysia) Sultanate era (13th century). Silat has now evolved to become part of social culture and tradition with thé appearance of a fine physical and spiritual .

On an exceptional basis, Member States may request UNESCO to provide thé candidates with access to thé platform so they can complète thé form by themselves. Thèse requests must be addressed to esd rize unesco. or by 15 A ril 2021 UNESCO will provide thé nomineewith accessto thé platform via their émail address.

̶The leading indicator of employee engagement is based on the quality of the relationship between employee and supervisor Empower your managers! ̶Help them understand the impact on the organization ̶Share important changes, plan options, tasks, and deadlines ̶Provide key messages and talking points ̶Prepare them to answer employee questions

Dr. Sunita Bharatwal** Dr. Pawan Garga*** Abstract Customer satisfaction is derived from thè functionalities and values, a product or Service can provide. The current study aims to segregate thè dimensions of ordine Service quality and gather insights on its impact on web shopping. The trends of purchases have

Chính Văn.- Còn đức Thế tôn thì tuệ giác cực kỳ trong sạch 8: hiện hành bất nhị 9, đạt đến vô tướng 10, đứng vào chỗ đứng của các đức Thế tôn 11, thể hiện tính bình đẳng của các Ngài, đến chỗ không còn chướng ngại 12, giáo pháp không thể khuynh đảo, tâm thức không bị cản trở, cái được

Le genou de Lucy. Odile Jacob. 1999. Coppens Y. Pré-textes. L’homme préhistorique en morceaux. Eds Odile Jacob. 2011. Costentin J., Delaveau P. Café, thé, chocolat, les bons effets sur le cerveau et pour le corps. Editions Odile Jacob. 2010. Crawford M., Marsh D. The driving force : food in human evolution and the future.

Le genou de Lucy. Odile Jacob. 1999. Coppens Y. Pré-textes. L’homme préhistorique en morceaux. Eds Odile Jacob. 2011. Costentin J., Delaveau P. Café, thé, chocolat, les bons effets sur le cerveau et pour le corps. Editions Odile Jacob. 2010. 3 Crawford M., Marsh D. The driving force : food in human evolution and the future.