config.vm.define "cdh-quickstart" do |c| c.vm.box = "quickstart/cdh" c.vm.hostname = "quickstart.cloudera" c.vm.network "private_network", ip: "192.168.33.40" c.vm.provider "virtualbox" do |vb| vb.cpus = 2 vb.memory = "8192" end c.vm.provision "ansible" do |ansible| ansible.playbook = "ansible/cdh_quickstart.yml" end end end
manager1 cloudera mariadb1 ... consul1 Playbook Template Sample Web App CDH (Including Impala) Consul Client Consul Client Consul Client MariaDB Server Consul Server Nginx FuelPHP Vagrant Ansible Vagrantfile
Playbook Template Vagrant Ansible mariadb1 Consul Client MariaDB Server consul1 Consul Server cloudera CDH (Including Impala) Consul Client Join Join Vagrantfile "impala"
Playbook Template Vagrant Ansible manager1 Consul Client Nginx FuelPHP mariadb1 Consul Client MariaDB Server consul1 Consul Server cloudera CDH (Including Impala) Consul Client Join Join Sample Web App Vagrantfile
Playbook Template Vagrant Ansible manager1 mariadb1 consul1 Sample Web App Consul Client Nginx FuelPHP Consul Server cloudera CDH (Including Impala) Consul Client Consul Client MariaDB Server Vagrantfile
– Development environments are similar (開発環境は似たり寄ったり) – Developers want to deploy (本番環境へのデプロイまでしてほしい) – Microservices are difficult (マイクロサービスのモデリングは難しい)