Skip to content

Instantly share code, notes, and snippets.

@andypiper
Created March 8, 2014 17:38
Show Gist options
  • Select an option

  • Save andypiper/9435604 to your computer and use it in GitHub Desktop.

Select an option

Save andypiper/9435604 to your computer and use it in GitHub Desktop.
Large app containers on Pivotal Web Services
$ cf-scale-demo git:(master) ✗ cf push largeapp -m 6G
Updating app largeapp in org apiper-org / space development as [email protected]...
OK
Uploading largeapp...
Uploading from: /Users/andyp/Development/cloudfoundry/cf-scale-demo
7.2K, 24 files
OK
Stopping app largeapp in org apiper-org / space development as [email protected]...
OK
Starting app largeapp in org apiper-org / space development as [email protected]...
OK
-----> Downloaded app package (12K)
-----> Downloaded app buildpack cache (2.7M)
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.3.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
Using rack (1.5.1)
Using rack-protection (1.3.2)
Using tilt (1.3.3)
Using sinatra (1.3.4)
Using bundler (1.3.2)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
You have not declared a Ruby version in your Gemfile.
-----> WARNINGS:
To set your Ruby version add this line to your Gemfile:"
ruby '1.9.3'"
# See https://devcenter.heroku.com/articles/ruby-versions for more information."
-----> Uploading droplet (23M)
1 of 1 instances running
App started
Showing health and status for app largeapp in org apiper-org / space development as [email protected]...
OK
requested state: started
instances: 1/1
usage: 6G x 1 instances
urls: largeapp.cfapps.io
state since cpu memory disk
#0 running 2014-03-08 05:35:05 PM 0.0% 68.9M of 6G 52.1M of 1G
$ cf-scale-demo git:(master) ✗ cf files largeapp logs/env.log
Getting files for app largeapp in org apiper-org / space development as [email protected]...
OK
TMPDIR=/home/vcap/tmp
VCAP_APP_PORT=63809
USER=vcap
VCAP_APPLICATION={"instance_id":"6c4bc27435e64999a73a8fa6277363df","instance_index":0,"host":"0.0.0.0","port":63809,"started_at":"2014-03-08 17:35:03 +0000","started_at_timestamp":1394300103,"start":"2014-03-08 17:35:03 +0000","state_timestamp":1394300103,"limits":{"mem":6144,"disk":1024,"fds":16384},"application_version":"6856065d-1f60-45d4-b2f2-7e637b96f243","application_name":"largeapp","application_uris":["largeapp.cfapps.io"],"version":"6856065d-1f60-45d4-b2f2-7e637b96f243","name":"largeapp","uris":["largeapp.cfapps.io"],"users":null}
RACK_ENV=production
PATH=/home/vcap/app/bin:/home/vcap/app/vendor/bundle/ruby/1.9.1/bin:/bin:/usr/bin:/bin:/usr/bin
PWD=/home/vcap
LANG=en_US.UTF-8
VCAP_SERVICES={}
SHLVL=1
HOME=/home/vcap/app
GEM_PATH=/home/vcap/app/vendor/bundle/ruby/1.9.1:
PORT=63809
VCAP_APP_HOST=0.0.0.0
MEMORY_LIMIT=6144m
_=/usr/bin/env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment