SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Itb session v_memcached
Itb session v_memcachedItb session v_memcached
Itb session v_memcached
Skills Matter
 
MongoDB and Windows Azure
MongoDB and Windows AzureMongoDB and Windows Azure
MongoDB and Windows Azure
MongoDB
 
Open stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloudOpen stack meetup_boston_ubuntu_cloud
Open stack meetup_boston_ubuntu_cloud
Kamesh Pemmaraju
 
vCloudSync – Hybrid disaster recovery for Openstack
vCloudSync – Hybrid disaster recovery for OpenstackvCloudSync – Hybrid disaster recovery for Openstack
vCloudSync – Hybrid disaster recovery for Openstack
Vinothini Raju
 

Mais procurados (20)

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

Destaque

Try Reading This
Try Reading ThisTry Reading This
Try Reading This
John Sleigh
 

Destaque (14)

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

Semelhante a Informology - Introduction to juju

Web Technology Management Lecture IV
Web Technology Management Lecture IVWeb Technology Management Lecture IV
Web Technology Management Lecture IV
sopekmir
 
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
Carlos Sanchez
 
Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011
Stefane Fermigier
 

Semelhante a Informology - Introduction to juju (20)

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

Mais de Khairul Aizat Kamarudzzaman

Mais de Khairul Aizat Kamarudzzaman (10)

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

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

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