1 job per VM

44 views
Skip to first unread message

Dr Nic Williams

unread,
Apr 21, 2012, 9:49:39 PM4/21/12
to bosh-dev
$ cd cf-release
$ ls jobs | grep '\w' | wc
      40
$ ls jobs/*/templates/*_ctl | wc
      41      41    1840

There are 40 separate jobs, running 41 separate processes (approximately) in VMWare's CloudFoundry release. For BOSH, this means minimum of 40 VMs. On 40 AWS m1.smalls in Virginia or Oregon this is $3.20 per hour.

And then there is the Micro CloudFoundry concept (job/micro ?). So CloudFoundry does scale down to 1 VM. BOSH doesn't allow for any notion of this in a deployment manifest. If you want less than 40 VMs, then I guess you need to create a whole new release project with composite jobs?

It seems that CF deserves to be able to scale up from 1 VM through 2,3,4,5,6 …. up to 40. Dang, you'd probably still have 2+ DEA VMs, and put several of the controller/routing items on those VMs before you ever got up to having each BOSH job running on a dedicated VM.

Is there a useful abstraction/join model to be considered where deployment manifests specify which jobs (plural) run on each VM?

Nic



Dr Nic Williams VP Developer Evangelism

Engine Yard

The Leading Platform as a Service

Office: 415 860 2185

Skype: nicwilliams

Twitter: @drnic



skaar

unread,
Apr 21, 2012, 9:58:42 PM4/21/12
to bosh...@cloudfoundry.org
Composite jobs (we even call it that) are on our short term road map for exactly this reason - but the work required might take us a while to complete.

/skaar

Dr Nic Williams

unread,
Apr 21, 2012, 10:25:52 PM4/21/12
to bosh...@cloudfoundry.org
As you imagine composite jobs, would the release jobs stay the same and the only thing change (from a BOSH user's perspective) be the deployment manifest? Or can you imaging that jobs will need to be implemented differently (monit, ctl scripts etc)?

-- 
Dr Nic Williams
Engine Yard, VP Developer Evangelism

Vadim Spivak

unread,
Apr 21, 2012, 10:27:48 PM4/21/12
to bosh...@cloudfoundry.org
I'm hoping the release is not going to change at all.

-Vadim

Dr Nic Williams

unread,
Apr 21, 2012, 10:30:45 PM4/21/12
to bosh...@cloudfoundry.org
Right; they don't look like they should - everything is nicely packaged off independently under /var/vcap/

-- 
Dr Nic Williams
Engine Yard, VP Developer Evangelism

Reply all
Reply to author
Forward
0 new messages