phpne-2014-juju-talk



phpne-2014-juju-talk

0 0


phpne-2014-juju-talk

Juju unconf talk for PHPNE 2014

On Github 1stvamp / phpne-2014-juju-talk

How to do that JuJu you wanna do ..hoo

Wes Mason

@1stvamp

Who?

  • @1stvamp (twitter/github)
  • Engineer at Server Density
  • I release lots of open source code
  • I have curated phpweekly.info

Juju?

  • Service orchestration
  • Deployment tool(s)
  • Vagrant for your production infrastructure
  • Not just Ubuntu

But why?

  • Service orientated architecture
  • Scaling
  • Configuration

Charms

  • Re-usable
  • Best-practices for deploying/configuring a service
  • e.g. distilled expertise
  • Charm store

Example

juju init
juju deploy wordpress
juju deploy mysql
juju add-relation wordpress mysql
juju add-unit mysql -n 2
juju stat

Configuration

juju set mysql flavor=percona
juju set haproxy global_user=haproxy_admin

Best practice presets

juju set wordpress tuning=optimized

!( $configuration_management )

  • Use with your favour CM (Ansible, Chef, Puppet etc.)
  • CM handles machine configuration, can be mixed with service config

sys.exit(0)

^D