Using Cloud-Config
CoreOS allows you to declaratively customize various OS-level items, such as network configuration, user accounts, and systemd units. This document describes the full list of items we can configure. The coreos-cloudinit program uses these files as it configures the OS after startup or during runtime. Your cloud-config is processed during each boot.
Since I primarily work with vSphere, I wanted to run CoreOS on ESXi. The first place I went to was the CoreOS documentation and there is a section for VMware. After going through the instructions, I found the process to be quite manual and potentially requiring additional tools as a simple OVF/OVA for CoreOS did not exist.
I figured I could wrap the process in a very simple shell script that only required a couple of input parameters from the user based on their environment and the script would auto-magically handle the deployment. I created a shell script that would run on the ESXi Shell called deploy_coreos_on_esxi.sh
A pretty complete walk through of lots of the moving parts in CoreOS, including using etcd and confd for configuration and using bringing up a cluster on EC2 using CloudFormation.
CoreOS is currently in heavy development and actively being tested. These instructions will walk you through running CoreOS on VMware Fusion or ESXi. If you are familiar with another VMware product you can use these instructions as a starting point.
$private_ipv4
and $public_ipv4
substitution variables referenced in other documents are not supported on VMware.In this tutorial, we will show you how to set up your own 3-machine Deis platform cluster on DigitalOcean.
To illustrate how easy life is becoming, we are going to deploy an original CloudFoundry node.js application to Docker on a CoreOS cluster. This hands-on experiment is based on MacOS, Vagrant and VirtualBox.