DC/OS (Datacenter Operating System) is an open source platform enabling enterprises to easily build and run modern apps in production. It literally abstracts datacenter into a single computer. DC/OS is suitable for various application types and infrastructure agnostic by design. It runs on top of any bare-metal, private or public clouds. Even local deployment on a single machine is possible and quite easy (useful for testing, development and demo purposes).
Local deployment with Vagrant
Everything is tested on Mac OS X but DC/OS Vagrant package have been reported to work also on Windows (7, 10), Ubuntu (14, 15, 16), Fedora 23, Arch Linux. Minimal requirement for RAM is 5GB.
1) Clone “dcos-vagrant” from GitHub:
2) Download latest DC/OS package into dcos-vagrant folder:
3) Install Vagrant Host Manager Plugin, it manages the “/etc/hosts” on the VMs and host to allow access by hostname.
4) Configure the DC/OS installer, it requires Vagrant config file and environment variable which selects DC/OS configuration.
5) Disable authentication. DC/OS cluster uses external OAuth by default but it is more convenient to have it disabled for local testing.
6) Start minimal DC/OS cluster which has one master node and one agent node. Depending on your Internet connection speed you’ll need to wait some time for download of OS images and setup of VirtualBox VMs.
Check main dashboard
After successful execution of last “vagrant up” command you can check that your minimal cluster is up and running. This is simple. Just open following URL in your browser:
You’ll see something like screen shot below.
So enjoy your day with new DC/OS cluster! You can do more now: install various packages, scale the cluster, deploy your own applications.
When you are done use following command to shutdown all VMs: