Wednesday, October 21, 2015

Running Tutum across Nutanix Acropolis and AWS for Hybrid Cloud PaaS

Docker acquired Tutum today and it’s something that I’ve been working with as I look at different PaaS models around the container ecosystem. I’ve linked my Tutum account (which is actually my Docker hub account) to a Tutum-auth user inside my AWS account, you can set this under "Account Settings" after you register:

Did you know it is also possible to use Tutum on Nutanix to quickly enable a hybrid cloud deployment? Once you login to your Tutum account, go to the Nodes tab and click on "Bring your own node" to get your deployment string to use in the following steps.

  1. Let’s clone a few (in this case 3 to start) nodes from our base linux template, directions from my blog here. Now we can also have them with a salt-minion deployed and use that to issue commands to all of the nodes from our salt-master: salt 'tutumnode*' cmd.run 'curl -Ls https://get.tutum.co/ | sudo -H sh -s 9a...'
  2. Or we could of course log in interactively and run the prep nodes command: curl -Ls https://get.tutum.co/ | sudo -H sh -s 9a...



You should be able to see all of your nodes grab the Tutum agent and be recognized (as long as they are internet accessible) within the “Nodes” tab of your Tutum dashboard.
Now if you’re new to Tutum, we can deploy our first “stack”, or collection of Dockerized services, to our nodes. The example given here is a Redis, web and load-balancer stack: https://tutum.freshdesk.com/support/solutions/articles/5000583471
lb:
  image: tutum/haproxy
  links:
    - "web:web"
  ports:
    - "80:80"
  roles:
    - global
web:
  image: tutum/quickstart-python
  links:
    - "redis:redis"
  target_num_containers: 4
redis:
  image: tutum/redis
  environment:
    - REDIS_PASS=password
The collection of services will start on your Nutanix nodes and you can seamlessly develop collections of services or stacks that could be deployed both to your on-prem Nutanix cluster or simultaneously and identically to AWS or your public cloud vendor. By default the deployment strategy is emptiest_node but you can deploy to all nodes or potentially in the future we could see specific availability zone deployment strategies, tell them:-)




With a Nutanix cluster and Acropolis/AHV you can quickly spin up nodes for Tutum consumption to build a hybrid-cloud PaaS for development in just a few minutes. While running on Nutanix, these nodes will benefit from the same shared and accelerated pool of compute and storage as well as infrastructure analytics and durable API accessibility for any other platform projects like Hadoop, MongoDB, or an ELK stack from my blog here or from my colleague Ray here. More on Nutanix benefits for next-gen apps here. As always, if you have questions or recommendations on more integration feel free to reach out on twitter @vmwnelson.

No comments:

Post a Comment