Geoff Bowers
@modius
Daemon Internet Consultants
September 2015
Characterised by frequent, smaller releases.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Config variables
VAGRANTFILE_API_VERSION = "2"
WEB_SERVER = "192.168.3.33"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
config.vm.define "web" do |web|
web.ssh.forward_agent = true
web.vm.hostname = "read.bob"
web.vm.network :private_network, ip: WEB_SERVER
web.hostmanager.aliases = %w(app.bob api.bob)
# web.hostmanager.aliases = IO.readlines("provisioning/aliases.txt").collect(&:strip)
config.vm.network "forwarded_port", guest: 80, host: 8080
web.vm.synced_folder "project/", "/opt/www/projects/boxofbooks", mount_options: ["dmode=0777", "fmode=0777"], create: true
web.vm.synced_folder "core/", "/opt/www/core", mount_options: ["dmode=0777", "fmode=0777"], create: true
web.vm.synced_folder "logs/", "/logs", mount_options: ["dmode=0777", "fmode=0777"], create: true
web.vm.provision :shell, :path => "provisioning/ansible-run.sh", :args => "/vagrant/provisioning/vagrant.yml"
web.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024", "--natdnshostresolver1", "on"]
end
end
end
Not to forget... Puppet, Salt, etc
(but i like the look of Heroku for simpler lucee apps)
Convergence of several strategies to make the next step...
Adam Wiggins, Heroku Co-Founder
Treat commodity SaaS solutions as 1st class citizens
DEV
STAGE
PROD
Collossus - the app we built to orchestrate the app.
https://www.docker.com/
with Rocket as a 50:1 long shot
https://coreos.com/blog/rocket/
Watching Amazon ECS, DEIS, Flynn, Tutum, Docker's own ecosystem