Post on 16-Feb-2016
description
Cloud FoundryPart 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
• VMC commands quick reference: http://start.cloudfoundry.com/tools/vmc/vmc-quick-ref.html
Let’s test this codec:\Users\telzur\tmp\cloud>
Check at the browser
my.cloudfoundry.com
Getting started: http://start.cloudfoundry.com/getting-started.html
VMWare Player
After one time setup procedure which is not shown here
Same password as in item #3 in the previous
slide
Error message!Make sure that your application is the only file in the folder otherwise a huge file will be deployed. Solution: next slide
Test the application
vmc info
Scale up the application
X6 memory
Scale down the application
STS = Springsource-Tool-Suite
Use the password you used when you registered for the account
Double click here
2 instances