Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Base Docker Swarm setup provisioner - Provisions 2x Lightsail VMs & Load Balancer + Installs prereqs & docker swarm for an h/a setup

Notifications You must be signed in to change notification settings

appliedblockchain/provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Provisioner

Docker swarm (and kubernetes) base VM provisioner

Install prerequisites

Clone the repo, then:

For the Infrastructure Provisioner:

cd infra
bundle

For the Docker Swarm Provisioner, in the main directory (cd ..):

bundle

You'll have ruby installed.

Usage - Infrastructure provisioner/configurator

This task will provision / configure a Docker Swarm cluster for you (Debian v9, Lightsail LB)

rake

Will print a help usage, with command hits like this one:

rake STACK=stack-name AWS_PROFILE_NAME=aws-credentials-name KEY_PAIR_NAME=your-username CMD=provision

Which will use few defaults and provision 2x Lightsail VMs, with some standard network rules and a Lightsail Load Balancer in front for serving your requests.

Usage - Docker Swarm setup provisioning

rake IP_A=123.456.789.0 IP_A=234.567.89.0

Will set up the VMs, install docker so you will be able to run your docker stack deploy command and have a live docker swarm env, ready for deployment!


Happy Deployments,

The Applied Blockchain Dev Team.

About

Base Docker Swarm setup provisioner - Provisions 2x Lightsail VMs & Load Balancer + Installs prereqs & docker swarm for an h/a setup

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published