See the main documentation for installation instruction and details.
- (Ubuntu) Docker Swarm installation and configuration
- (Ubuntu) Security hardening
- (Ubuntu) High-availability (redundancy, backup and monitoring)
Adding to the basic workload features, this template/recipe add the installation and configuration of a Docker Swarm. All 'public' nodes will be elected as Managers in the swarm, all 'private' nodes will be Workers. The first public node will be elected as the default Leader of the swarm.
- If don't specify the public_node_count parameters during the deployment, we will automatically elect the first node as the one, publicly exposed, Leader of the Swarm
- We will use the remainder left after instantiating the number of public node specified in the public_node_count parameter as private nodes, not accessible to the internet unless you go through the ssh bastion server.
Note: These are currently configured to be used with an Internap Agile Cloud account.
-
using Ansible:
./openstack-ansible -e os_cloud=<MY_CLOUDS_YAML_PROFILE> -e role=docker-swarm -e node_count=4
- ha= true or false (default is true) to disable High-availability using the keepalived role
Feel free to raise issues and send some pull request, we'll be happy to look at them! We also would love to have other provider adding their own workload and configuration to make it a repository of generic, hardened, IaaS recipe.