Chef Meetup tokyo

 

2015/02/10

 

@KDDI

Hiroyuki Urasoko

twitter: @urasoko

facebook: h.urasoko

Creatioline, Inc.

twitter: @creationline

facebook: creatioline

about Creationline

Agenda

  • Chef Server 12
    • Premium features
  • Chef Client 12
    • Chef DK 0.4.0
  • knife-softlayer
  • knife-google

where is here?

KDDI

why are we here?

Chef

with

KDDI

Do you know

KCPS?

Subscribe Now!

Chef server 12

  • Open Source
    • ​Enterprise Chef
      • ​Private Chef
    • ​Hosted Chef

Try it

Demo

on google cloud

  • knife-google
  • Hosted Chef

Sign Up Now!

manage.chef.io/signup

View on softlayer

  • Tokyo DC
  • Software VPN
  • knife-softlayer

multi tenancy

  • Each API Endpoint
    • for organization
  • CLI control for user/organization​
    • chef-server-ctl user-create
    • chef-server-ctl org-user-add​
    • chef-server-ctl org-delete
      • on Hosted Chef
        • Ask to Support​​

version 12.0.3

  • Key control
  • In case upgrade from version 12.0.2
    • pivotal.pem wasn't authed...
      • ​chef-server-ctl update
        • ​service is down
          • ​chef-server-ctl start
      • ​​github issue
        • ​So quickly...

High Availability

PremiuM features

  • Manage
    • Web UI
      • Same as Hosted Chef's UI
  • Reporting
    • (See web on SoftLayer)
    • In case upgrade to 1.2.2
    • knife-reporting plugin

PremiuM features

  • Analytics
    • Version 1.1.x
      • OAuth
        • ​Redirect failure...
          • ​Path is not end with slash...
            • ​chef-docs updated
      • ​Rule
      • Notify
    • ​(See web on Softlayer)

premium features

  • Push Job
    • ​knife ssh ... ?
      • Job (another server/client)
      • ​​Require open 10000-10003 port
        • From Node to Server
      • client-cookbook
        • ​Linux
          • ​compile runit
        • Windows
          • regist service
      • white-list
      • require user define

Chef client 12

Chef DK

  • Before version 0.3.x ...
    • Chef Dev Kitty ...
      • Chef Client version depends 11.x ...
  • ChefDK 0.4.0 Released! | Chef Blog
    • Include Chef Client 12
      • Why?
        • I want to use stable version client
          • Version 12 SSL check
          • Version 11 don't  send trusted_certs to nodes
    • chef generate 

Chef DK

  • Test Kitchen
    • Include kitchen-vagrant
    • Download boxes from bento
  • Which case do you use Vagrant?
    • Test!
      • I don't write Vagrantfile
      • To .kitchen.yml
      • Use kitchen command
        • Sometime I use vagrant command
    • Useful for VM life cycle
  • github.com/urasoko/cookbooks-chef-server
    • provisioner:
        name: chef_zero

Knife-softlayer

** SOFTLAYER COMMANDS **
knife softlayer datacenter list (options)
knife softlayer datacenter show DATACENTER
knife softlayer flavor list (options)
knife softlayer global ip list (options)
knife softlayer image list
knife softlayer key pair create
knife softlayer key pair list
knife softlayer server create (options)
knife softlayer server destroy (options)
knife softlayer server relaunch <NODE NAME> [<NODE NAME>]
knife softlayer vlan create
knife softlayer vlan list (options)
knife softlayer vlan show ID (options)
  • fog-softlayer 0.4.0
    • knife-softlayer
      • fog-softlayer = 0.3.29

knife-google

  • google-api-client
** GOOGLE COMMANDS **
knife google disk create NAME --gce-disk-size N -Z ZONE (options)
knife google disk delete NAME -Z ZONE (options)
knife google disk list -Z ZONE (options)
knife google project list (options)
knife google region list (options)
knife google server create NAME -m MACHINE_TYPE -I IMAGE -Z ZONE (options)
knife google server delete SERVER [SERVER] -Z ZONE (options)
knife google server list -Z ZONE (options)
knife google setup
knife google zone list (options)

chef-provisioning

chef-provisioing-ssh

we wantedly you!

Chef Conf 2015

3/31 – 4/2 • Santa Clara, CA 
Santa Clara Convention Center

Made with Slides.com