Cloud Foundry Tutorial - Guy Tel-Zur

advertisement
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/installin
g-vmc.html
• VMC commands quick reference:
http://start.cloudfoundry.com/tools/vmc/vmcquick-ref.html
Let’s test this code
c:\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
Make sure that your application is the
only file in the folder otherwise a huge
file will be deployed. Solution: next slide
Error message!
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
Download