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
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
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
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
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