cloud foundry part ii - tutorial
DESCRIPTION
Cloud Foundry Part II - Tutorial. Dr. Guy Tel- Zur. VMC. Install Ruby gem install vmc (VM command line) gem install sinatra (Ruby) vi hi.rb (see next slide) Installing VMC: http://start.cloudfoundry.com/tools/vmc/installing-vmc.html - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/1.jpg)
Cloud FoundryPart II - Tutorial
Dr. Guy Tel-Zur
![Page 2: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/2.jpg)
![Page 3: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/3.jpg)
VMC
• Install Ruby• gem install vmc (VM command line)• gem install sinatra (Ruby)• vi hi.rb (see next slide)• Installing VMC:
http://start.cloudfoundry.com/tools/vmc/installing-vmc.html
• VMC commands quick reference: http://start.cloudfoundry.com/tools/vmc/vmc-quick-ref.html
![Page 4: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/4.jpg)
![Page 5: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/5.jpg)
Let’s test this codec:\Users\telzur\tmp\cloud>
![Page 6: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/6.jpg)
Check at the browser
![Page 7: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/7.jpg)
my.cloudfoundry.com
Getting started: http://start.cloudfoundry.com/getting-started.html
![Page 8: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/8.jpg)
VMWare Player
![Page 9: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/9.jpg)
![Page 10: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/10.jpg)
After one time setup procedure which is not shown here
![Page 11: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/11.jpg)
Same password as in item #3 in the previous
slide
![Page 12: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/12.jpg)
Error message!Make sure that your application is the only file in the folder otherwise a huge file will be deployed. Solution: next slide
![Page 13: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/13.jpg)
![Page 14: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/14.jpg)
Test the application
![Page 15: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/15.jpg)
vmc info
![Page 16: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/16.jpg)
Scale up the application
X6 memory
![Page 17: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/17.jpg)
Scale down the application
![Page 18: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/18.jpg)
STS = Springsource-Tool-Suite
![Page 19: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/19.jpg)
![Page 20: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/20.jpg)
![Page 21: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/21.jpg)
![Page 22: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/22.jpg)
![Page 23: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/23.jpg)
![Page 24: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/24.jpg)
![Page 25: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/25.jpg)
![Page 26: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/26.jpg)
![Page 27: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/27.jpg)
Use the password you used when you registered for the account
![Page 28: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/28.jpg)
![Page 29: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/29.jpg)
![Page 30: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/30.jpg)
![Page 31: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/31.jpg)
![Page 32: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/32.jpg)
Double click here
![Page 33: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/33.jpg)
![Page 34: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/34.jpg)
![Page 35: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/35.jpg)
![Page 36: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/36.jpg)
![Page 37: Cloud Foundry Part II - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022062222/56815f59550346895dce3b05/html5/thumbnails/37.jpg)
2 instances