Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
Oracle Confidential – Int...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
1. Chef Workstation Setup...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• For this demo, we use
h...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Create a new organizati...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Download the Starter Ki...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Download ChefDK from
ht...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Install a demo chef-rep...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Follow the steps of the...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Available commands
knif...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• List of available image...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check the public keys a...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• knife oraclecloud serve...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• The instance (firstChef...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• After a while, the inst...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check the provisioning ...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check registered nodes ...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Backup slides
Oracle Confidential – Internal/Restric...
Upcoming SlideShare
Loading in …5
×

Oracle Public Cloud : Provisioning with Chef

1,234 views

Published on

Step by step guide

Published in: Internet
  • Be the first to comment

Oracle Public Cloud : Provisioning with Chef

  1. 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef Oracle Confidential – Internal/Restricted/Highly Restricted 1
  2. 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef 1. Chef Workstation Setup and configuration 2. Chef Server Configuration 3. Provision Oracle Public Cloud Instance Oracle Confidential – Internal/Restricted/Highly Restricted 2 Agenda
  3. 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • For this demo, we use https://manage.chef.io/login • Create a new account (or use existing one) Oracle Confidential – Internal/Restricted/Highly Restricted 3 Chef Server
  4. 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Create a new organization (or join an existing one) Oracle Confidential – Internal/Restricted/Highly Restricted 4 Chef Server
  5. 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Download the Starter Kit Oracle Confidential – Internal/Restricted/Highly Restricted 5 Chef Server
  6. 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Download ChefDK from https://docs.chef.io/install_dk.html • Install ChefDK • Do the verification $ chef verify Oracle Confidential – Internal/Restricted/Highly Restricted 6 Install ChefDK
  7. 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Install a demo chef-repo from the chef-starter kit –Unzip chef-starter.zip Oracle Confidential – Internal/Restricted/Highly Restricted 7 Install a demo chef-repo
  8. 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Follow the steps of the following link: https://github.com/chef- partners/knife-oraclecloud • Install Knife-oraclecloud chef gem install knife- oraclecloud Oracle Confidential – Internal/Restricted/Highly Restricted 8 knife-oraclecloud
  9. 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Available commands knife oraclecloud Oracle Confidential – Internal/Restricted/Highly Restricted 9 knife-oraclecloud
  10. 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • List of available images knife oraclecloud image list --oraclecloud-api-url https://api- z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin -- oraclecloud-password Acstric@8BbY --oraclecloud-domain gse00000525 Oracle Confidential – Internal/Restricted/Highly Restricted 10 knife-oraclecloud
  11. 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check the public keys available to connect to Oracle Cloud Instances and if needed create a new one. Oracle Confidential – Internal/Restricted/Highly Restricted 13 OPC SSH Key
  12. 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • knife oraclecloud server create --node-name firstChef --ssh-user opc --sshkeys cloud.admin/myChefKey --identity-file C:UsersJPINTEDocumentsChefKeysoraclecloud.pem -- oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --image /oracle/public/OL-6.6-20GB-x11-RD --shape oc3 -- hostname firstChef --public-ip pool --oraclecloud-username cloud.admin --oraclecloud-password Acstric@8BbY --oraclecloud- domain gse00000525 Oracle Confidential – Internal/Restricted/Highly Restricted 14 Instance creation
  13. 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • The instance (firstChef) is under creation Oracle Confidential – Internal/Restricted/Highly Restricted 15 Instance creation
  14. 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • After a while, the instance (fistChef) is created and running ! Oracle Confidential – Internal/Restricted/Highly Restricted 16 Instance creation
  15. 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check the provisioning status from the Chef workstation Oracle Confidential – Internal/Restricted/Highly Restricted 19 Instance creation
  16. 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check registered nodes from Chef Server Oracle Confidential – Internal/Restricted/Highly Restricted 21 Instance creation
  17. 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Backup slides Oracle Confidential – Internal/Restricted/Highly Restricted 22

×