SlideShare a Scribd company logo
Introduction to Juju on Azure
By
Khairul Aizat Kamarudzzaman
KLCC, 26 Nov 2015
Deb Packages (host level)
$ apt-get install -y apache
Your infrastructure (services)
$ juju deploy <my_custom_app>
juju provides you with sharable, reusable, and repeatable
expressions of devops best practices
What’s Juju anyways?
Juju is a service orchestration
tool that enables you to quickly
model, configure, deploy and
manage entire cloud
environments with only a few
commands. Use it to deploy
hundreds of pre-configured
services, OpenStack or your own
code to any public or private
cloud and bare metal.
Where You Can Run Juju client?
$ sudo add-apt-repository
ppa:juju/stable
$ sudo apt-get update
$ sudo apt-get install juju-core
https://launchpad.net/juju-
core/1.25/1.25.0/+download/juju-
1.25.0-centos7.tar.gz
$ brewinstall juju or
https://launchpad.net/juju-
core/1.25/1.25.0/+download/juju-
1.25.0-osx.tar.gz
https://launchpad.net/juju-
core/1.25/1.25.0/+download/juju-
setup-1.25.0-signed.exe
What can you do with Juju ? On which platforms ?
Containers
Linux
Bare MetalIntegrateScale-Out
CloudsDeploy
Application deployment at radical velocity
Model
Which Platform You Can Use Juju?
MAAS
The best solution to orchestrate your services
Language independence
Hooks can be written in any
language
Scalable
Templates designed to scale
by adding moreunits
Event-based
React to changes in environment,
self configuring
Ease of
provisioning
Pluggableprovisioning backend,from
local machines to large clouds
Why use Juju?
Bundle charms and instantly deploy these solutions
Instant deploymentService definition
Deployservices
$ juju remove-unit -n 2 wordpress
$ juju deploy wordpress
$ juju deploy mysql
Create relationships
$ juju add-relation wordpress mysql
Expose app to the outside world
$ juju expose wordpress
Scale out the application
$ juju add-unit -n 5 wordpress
Scale down the application
Encapsulateapplication
configurations
1
Charm Package Services
deployment
Define service
2
Define service
scalabilityhooks
3
Create charms and deploy your services
Charm Tools Instant deployment
├── hooks
│ ├── install
│ ├── relation-name-relation-
changed
│ ├── relation-name-
relation- departed
│ ├── relation-name-relation-joined
│ ├── start
│ ├── stop
│ └── upgrade-charm
├── icon.svg
├── metadata.yaml
├── README.ex
my-charm
│ ├── config-changed
│ ├── relation-name-relation-broken
$ sudo add-apt-repository
ppa:juju/stable
$ sudo apt-get update
$ sudo apt-get install charm-tools
$ juju charm create my-charm
Anatomy of a Charm
Hundreds of charms are available today
Charms arerated and reviewed
forqualityassurance
Drag and drop Charms
to createservices
Supportforprivate and
mixed mode Charmstore
Publicly available CharmStore
...
A Growing Charm Ecosystem
Juju Charms for Windows
Active
Directory
Storage Spaces
Direct
Exchange Nova
Hyper-V
SharePoint Windows File
Server (SMB)
MsSQL VDI Windows Server
Failover Clustering
WSUS
Juju Charms for Windows
Windows Server instances in OpenStack
Open Enterprise Cloud
Configure and manage your services
Juju GUI Store
Deployment Environment
KVMComputeCompute Instance
Workload
LXCLXCJuju AgentJuju Agent Workload
API ServerAPI Server
Juju Client
(HTML5, UI,
CLI)
MongoMongo
Provisioning
Server
Provisioning
Server
Juju State Server(in HAmode)
Juju Architecture
Installing Juju
1. Install Juju
$ ssh-keygen -t rsa (if you don’t have one)
$ sudo add-apt-repository ppa:juju/stable
$ sudo apt-get update && sudo apt-get install juju-core
2. Generate base ~/.juju/environments.yaml configuration file
$ juju generate-config
3. Configure to use a particular cloud provider.
Modify ~/.juju/environments.yamlto suite one or more of the
following cloud providers:
Configuring for Amazon AWS
Configuring for Windows Azure
Configuring for HP Cloud
Configuring for OpenStack
Configuring for MAAS
Configuring for LXC local provider (Linux)
3. Final step: bootstrap the environment
$ juju bootstrap -v
$ juju status
4. If you want to destroy the environment
$ juju destroy-environment
Juju GUI on Azure Market Place
More about Juju @ Write Your own Charm?
The Ask Ubuntu website.
Join the mailing list
https://lists.ubuntu.com/mailman/listinfo/juju
The Freenode #juju IRC channel.
Check out Juju it’s opensource:
https://Launchpad.netnet/juju-core
enquiries@informology.my
+603 6179 4324
Juju do the Magic For You
Session
HANDS ON @ DEMO
SupportOperateIntegrateBuildConsultAccessEngage
About Us
Our Experiences Our Expertise Our Partners
What We Do?
Product&Services
Operating System
Network&
Security
BackupSolution
E-commerce
Hardware&
Support
ERP & CRM
Cloud
Computing
Intelligence
Solutions
Consultation&
Training
Product & Services
Informology
intelligence ● information ● technology
THANK YOU
(002334749-P)
www.informology.my

More Related Content

PDF
Juju
PDF
MAAS & Ubuntu Core: OCP Tech Day, Facebook Menlo Park, Aug 30th
PDF
Maas Juju Introduction
PDF
DevOpsMtl, Metal edition – MaaS and Juju
PDF
Metal as a Server
PDF
Understanding Juju Charms
PDF
Service orchestration and metal as a service with juju and maas
PPTX
Ansible & CloudStack - Configuration Management
Juju
MAAS & Ubuntu Core: OCP Tech Day, Facebook Menlo Park, Aug 30th
Maas Juju Introduction
DevOpsMtl, Metal edition – MaaS and Juju
Metal as a Server
Understanding Juju Charms
Service orchestration and metal as a service with juju and maas
Ansible & CloudStack - Configuration Management

What's hot (20)

PPTX
Azure RemoteApp の構築手順例 (ハイブリッド コレクション)
PDF
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
ODP
Itb session v_memcached
PDF
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
PDF
Puppet: Eclipsecon ALM 2013
PDF
Getting Started with Ansible
PPTX
20160627 Docker on Azure Hands on
PPTX
MongoDB and Windows Azure
PDF
Automated infrastructure is on the menu
KEY
GuiceCon 2011 - Sisu
PPTX
Azure virtual machines & Terraform
PDF
Open stack meetup_boston_ubuntu_cloud
PPTX
Hadoop single cluster installation
PPTX
Hadoop single node setup
PPTX
MongoDB and Windows Azure
PPTX
vCloudSync – Hybrid disaster recovery for Openstack
PDF
Single node hadoop cluster installation
PDF
AEgir Overview - Florida Drupal Camp 2011
PPTX
Hadoop cluster 安裝
PDF
Rstudio in aws 16 9
Azure RemoteApp の構築手順例 (ハイブリッド コレクション)
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
Itb session v_memcached
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Puppet: Eclipsecon ALM 2013
Getting Started with Ansible
20160627 Docker on Azure Hands on
MongoDB and Windows Azure
Automated infrastructure is on the menu
GuiceCon 2011 - Sisu
Azure virtual machines & Terraform
Open stack meetup_boston_ubuntu_cloud
Hadoop single cluster installation
Hadoop single node setup
MongoDB and Windows Azure
vCloudSync – Hybrid disaster recovery for Openstack
Single node hadoop cluster installation
AEgir Overview - Florida Drupal Camp 2011
Hadoop cluster 安裝
Rstudio in aws 16 9
Ad

Viewers also liked (14)

PDF
Resume juju
PPT
Ju Ju Online
PPT
Try Reading This
PDF
Juju + Puppet (Puppetconf 2011)
PDF
MLUG Workshop January 2014 - Introducing Juju
PDF
Openstack deployment-with ubuntu
PDF
Dockerizing IoT Services
PDF
Hack the Juju/MAAS (Interop2016)
PDF
Ubuntu Juju/MAAS・OpenStackを使った検証環境構築 - OpenStack最新情報セミナー 2016年3月
DOCX
Lifi Seminar Report Full
PDF
3D PRINTER Seminar fair report (pdf)
PDF
Tadhack - Instant Telecom Solutions with Ubuntu Juju & MAAS
PDF
Juju presentation
PDF
Death by PowerPoint
Resume juju
Ju Ju Online
Try Reading This
Juju + Puppet (Puppetconf 2011)
MLUG Workshop January 2014 - Introducing Juju
Openstack deployment-with ubuntu
Dockerizing IoT Services
Hack the Juju/MAAS (Interop2016)
Ubuntu Juju/MAAS・OpenStackを使った検証環境構築 - OpenStack最新情報セミナー 2016年3月
Lifi Seminar Report Full
3D PRINTER Seminar fair report (pdf)
Tadhack - Instant Telecom Solutions with Ubuntu Juju & MAAS
Juju presentation
Death by PowerPoint
Ad

Similar to Informology - Introduction to juju (20)

PPTX
How to manage Microsoft Azure with open source
PPTX
How to manage Azure with open source
PPTX
Harmonious Development: Via Vagrant and Puppet
PPTX
Puppet + Windows Nano Server
PDF
제3회난공불락 오픈소스 인프라세미나 - JuJu
PDF
From Dev to DevOps
PDF
[Hands-on 필수 준비 사항] 쇼핑몰 예제를 통한 Microservice 개발/배포 실습 - 황주필 부장 / 강인호 부장, 한국오라클
PPTX
Web Technology Management Lecture IV
PPTX
Baylisa - Dive Into OpenStack
PDF
Mahout Workshop on Google Cloud Platform
PDF
Cloud meets Fog & Puppet A Story of Version Controlled Infrastructure
KEY
From Dev to DevOps - ApacheCON NA 2011
PDF
JupyterHub + kubernetes
KEY
Nuxeo on the Cloud - Nuxeo World 2011
PDF
Ansible new paradigms for orchestration
PDF
One-Man Ops
PDF
Building Docker images with Puppet
PPTX
Learn you some Ansible for great good!
PDF
DevOps: Cooking Drupal Deployment
PDF
Continuously-Integrated Puppet in a Dynamic Environment
How to manage Microsoft Azure with open source
How to manage Azure with open source
Harmonious Development: Via Vagrant and Puppet
Puppet + Windows Nano Server
제3회난공불락 오픈소스 인프라세미나 - JuJu
From Dev to DevOps
[Hands-on 필수 준비 사항] 쇼핑몰 예제를 통한 Microservice 개발/배포 실습 - 황주필 부장 / 강인호 부장, 한국오라클
Web Technology Management Lecture IV
Baylisa - Dive Into OpenStack
Mahout Workshop on Google Cloud Platform
Cloud meets Fog & Puppet A Story of Version Controlled Infrastructure
From Dev to DevOps - ApacheCON NA 2011
JupyterHub + kubernetes
Nuxeo on the Cloud - Nuxeo World 2011
Ansible new paradigms for orchestration
One-Man Ops
Building Docker images with Puppet
Learn you some Ansible for great good!
DevOps: Cooking Drupal Deployment
Continuously-Integrated Puppet in a Dynamic Environment

More from Khairul Aizat Kamarudzzaman (10)

PDF
Bird of Feather - OpenStack
PDF
Software Defined Data Center (SDDC) with OpenStack
PDF
Juju introduction @ MyGOSSCON 2012
PDF
Ubuntu in Education - MOE OSS Day 2010
PDF
MOE Ubuntu Desktop training
PDF
MOE Ubuntu training addon
PDF
21 web-developement-trends
PDF
Introduction to Ubuntu
PDF
Ubuntu, Your Choice of Freedom
PDF
Open Source ERP - THE EDGE Jan 2011
Bird of Feather - OpenStack
Software Defined Data Center (SDDC) with OpenStack
Juju introduction @ MyGOSSCON 2012
Ubuntu in Education - MOE OSS Day 2010
MOE Ubuntu Desktop training
MOE Ubuntu training addon
21 web-developement-trends
Introduction to Ubuntu
Ubuntu, Your Choice of Freedom
Open Source ERP - THE EDGE Jan 2011

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Monthly Chronicles - July 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Mobile App Security Testing_ A Comprehensive Guide.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf

Informology - Introduction to juju

  • 1. Introduction to Juju on Azure By Khairul Aizat Kamarudzzaman KLCC, 26 Nov 2015
  • 2. Deb Packages (host level) $ apt-get install -y apache Your infrastructure (services) $ juju deploy <my_custom_app> juju provides you with sharable, reusable, and repeatable expressions of devops best practices What’s Juju anyways? Juju is a service orchestration tool that enables you to quickly model, configure, deploy and manage entire cloud environments with only a few commands. Use it to deploy hundreds of pre-configured services, OpenStack or your own code to any public or private cloud and bare metal.
  • 3. Where You Can Run Juju client? $ sudo add-apt-repository ppa:juju/stable $ sudo apt-get update $ sudo apt-get install juju-core https://launchpad.net/juju- core/1.25/1.25.0/+download/juju- 1.25.0-centos7.tar.gz $ brewinstall juju or https://launchpad.net/juju- core/1.25/1.25.0/+download/juju- 1.25.0-osx.tar.gz https://launchpad.net/juju- core/1.25/1.25.0/+download/juju- setup-1.25.0-signed.exe
  • 4. What can you do with Juju ? On which platforms ? Containers Linux Bare MetalIntegrateScale-Out CloudsDeploy Application deployment at radical velocity Model
  • 5. Which Platform You Can Use Juju? MAAS
  • 6. The best solution to orchestrate your services Language independence Hooks can be written in any language Scalable Templates designed to scale by adding moreunits Event-based React to changes in environment, self configuring Ease of provisioning Pluggableprovisioning backend,from local machines to large clouds Why use Juju?
  • 7. Bundle charms and instantly deploy these solutions Instant deploymentService definition Deployservices $ juju remove-unit -n 2 wordpress $ juju deploy wordpress $ juju deploy mysql Create relationships $ juju add-relation wordpress mysql Expose app to the outside world $ juju expose wordpress Scale out the application $ juju add-unit -n 5 wordpress Scale down the application Encapsulateapplication configurations 1 Charm Package Services deployment Define service 2 Define service scalabilityhooks 3
  • 8. Create charms and deploy your services Charm Tools Instant deployment ├── hooks │ ├── install │ ├── relation-name-relation- changed │ ├── relation-name- relation- departed │ ├── relation-name-relation-joined │ ├── start │ ├── stop │ └── upgrade-charm ├── icon.svg ├── metadata.yaml ├── README.ex my-charm │ ├── config-changed │ ├── relation-name-relation-broken $ sudo add-apt-repository ppa:juju/stable $ sudo apt-get update $ sudo apt-get install charm-tools $ juju charm create my-charm Anatomy of a Charm
  • 9. Hundreds of charms are available today Charms arerated and reviewed forqualityassurance Drag and drop Charms to createservices Supportforprivate and mixed mode Charmstore Publicly available CharmStore ... A Growing Charm Ecosystem
  • 10. Juju Charms for Windows Active Directory Storage Spaces Direct Exchange Nova Hyper-V SharePoint Windows File Server (SMB) MsSQL VDI Windows Server Failover Clustering WSUS
  • 11. Juju Charms for Windows
  • 12. Windows Server instances in OpenStack
  • 14. Configure and manage your services Juju GUI Store
  • 15. Deployment Environment KVMComputeCompute Instance Workload LXCLXCJuju AgentJuju Agent Workload API ServerAPI Server Juju Client (HTML5, UI, CLI) MongoMongo Provisioning Server Provisioning Server Juju State Server(in HAmode) Juju Architecture
  • 16. Installing Juju 1. Install Juju $ ssh-keygen -t rsa (if you don’t have one) $ sudo add-apt-repository ppa:juju/stable $ sudo apt-get update && sudo apt-get install juju-core 2. Generate base ~/.juju/environments.yaml configuration file $ juju generate-config 3. Configure to use a particular cloud provider. Modify ~/.juju/environments.yamlto suite one or more of the following cloud providers: Configuring for Amazon AWS Configuring for Windows Azure Configuring for HP Cloud Configuring for OpenStack Configuring for MAAS Configuring for LXC local provider (Linux) 3. Final step: bootstrap the environment $ juju bootstrap -v $ juju status 4. If you want to destroy the environment $ juju destroy-environment
  • 17. Juju GUI on Azure Market Place
  • 18. More about Juju @ Write Your own Charm? The Ask Ubuntu website. Join the mailing list https://lists.ubuntu.com/mailman/listinfo/juju The Freenode #juju IRC channel. Check out Juju it’s opensource: https://Launchpad.netnet/juju-core enquiries@informology.my +603 6179 4324
  • 19. Juju do the Magic For You
  • 23. Product&Services Operating System Network& Security BackupSolution E-commerce Hardware& Support ERP & CRM Cloud Computing Intelligence Solutions Consultation& Training Product & Services
  • 24. Informology intelligence ● information ● technology THANK YOU (002334749-P) www.informology.my