OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud...
Transcript of OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud...
![Page 1: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/1.jpg)
![Page 2: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/2.jpg)
OBLIGATORYBUZZWORD SLIDE
SCALE!DEVOPS!MAGIC!
The only reasonable thing about this slide is the word "Magic"
![Page 3: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/3.jpg)
JUJU LITERALLY MEANSmagic or supernatural powers!
![Page 4: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/4.jpg)
NO REALLYJuju is a cloud automation tool from Canonical
Juju allows you to configure, manage, and scale services in acloud environment
![Page 5: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/5.jpg)
DEPLOY TO DIFFERENTCLOUD ENVIRONMENTS
Amazon Web ServicesHP Public CloudOpenStack CloudsLinuX ContainersWindows Azure!
Using Ubuntu MAAS you can even orchestrate bare metal!
![Page 6: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/6.jpg)
BUT X DID THIS FOR MEWE EMPLOY THESE TOOLS TOO!
"Bring your experience with you"
more on this in a minute...
![Page 7: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/7.jpg)
CONFIGURATION MANAGEMENTIS ONLY THE FIRST STEP
"Nobody is playing Nginx, or MySQL. They areplaying League of Legends (tm)"
Jamie Windsor, Riot Games 2013
![Page 8: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/8.jpg)
WHAT AREYOU TRYINGTO SOLVE?
... Let's talk about Hadoop.
![Page 9: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/9.jpg)
A COMPLEX TOOL, WITH A COMPLEX DEPLOYMENTSTRATEGY
Like it or not, big data is here
You can spend days or a small fortune getting a complex hadoopcluster deployed.
Wouldn't you rather spend that time/$ with your family?
Prepare for an extreme case example...
![Page 10: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/10.jpg)
![Page 11: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/11.jpg)
LIFE AFTER THEHADOOP SLIDE
That was a lot to ingest
Now it's time to talk about Service Orchestration
![Page 12: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/12.jpg)
SERVICEORCHESTRATION
THE ABILITY TO:Deploy services or workloadsConfigure the software on a serviceManage service lifecyclesCreate relationships between servicesHandle increased/decreased workloadstransparently
*Relationships between the services is the key.
![Page 13: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/13.jpg)
HOW ABOUT THISINSTEAD?DEPLOY HADOOP
juju deploy hadoop hadoop-masterjuju deploy hadoop hadoop-slaveclusterjuju add-unit -n 2 hadoop-slavecluster
AND CONNECT THEM TOGETHERjuju add-relation hadoop-master:namenode hadoop-slavecluster:datanodejuju add-relation hadoop-master:jobtracker hadoop-slavecluster:tasktracker
AND SCALE THE WORKERSjuju add-unit hadoop-slavecluster
![Page 14: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/14.jpg)
APTGET FOR THECLOUD
Yeah, its kinda like apt-get for the cloud.
JUJU IS NOT JUST DEPLOYMENTManage at the service level, not the machine level
![Page 15: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/15.jpg)
![Page 16: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/16.jpg)
CHARMSTHE NAME FOR JUJU DEPLOY
UNITS.They are packages of code that handle deployment, configuring,
and relating different services.
![Page 17: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/17.jpg)
TECHNOLOGIES
BUT THATS NOT ALL!
Bash, Perl, PHP, Python, Ruby
The author's choice!
![Page 18: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/18.jpg)
BUILD WITH OURCHARMS
Hundreds of charms have already been written for open sourceapplications like MySQL, Hadoop, or MongoDB
They are free to use and scale with your application
Go to to see the listjujucharms.com
![Page 19: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/19.jpg)
WRITE YOUR OWNCHARM
Don't see what you need?
Charms are designed to be easy to author and you can use anylanguageIf you want people to deploy your application, share it with thejuju world!There are tools to get you started
juju.ubuntu.com/resources
![Page 20: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/20.jpg)
HOW IT WORKSCharms & hooks + something to call themJuju server stores environment state -- agents on the machinesget messagesHooks do whatever needs to be done at this time
![Page 21: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/21.jpg)
A COMMUNITY OFEXPERTISE
The power of Juju really lies in the community, not the packages
As little or as much as you want.... In whatever language you wantEasy to share and hack onLightweight contribution processYou're probably 90% there!
![Page 22: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/22.jpg)
DOES YOUR PROJECTRUN ON THE CLOUD?WE SHOULD TALK...
THANK YOU FOR YOUR TIME!
#Juju on Freenode
juju.ubuntu.comgithub.com/charms
To reach me directly - @lazypower on twitter
![Page 23: OBLIGATORY - USENIX · DEPLOY TO DIFFERENT CLOUD ENVIRONMENTS Amazon Web Services HP Public Cloud OpenStack Clouds LinuX Containers Windows Azure! Using Ubuntu MAAS you can even orchestrate](https://reader033.fdocuments.us/reader033/viewer/2022050518/5fa19a108d0a45349612ca49/html5/thumbnails/23.jpg)
LIVE DEMOLet's see how awesome this really is up close and personal
Get started with a basic hadoop bundle