Overview
Last updated
Last updated
slingnode.ethereum is an Ansible role that facilitates deployment of Ethereum clients. Its objective is to enable a consistent way of deploying and upgrading the chosen client mix. The role can be used to deploy:
a single node running execution, consensus and validator layers
hundreds of nodes running all three layers
a distributed set up with each layer running on a separate server
change client mix (as seamlessly as this can be done)
upgrade clients
The project uses Docker Compose to deploy and manage the lifecycle of the clients. We believe that that the software developers know best how to build and package their software. Therefore slingnode.ethereum uses unmodified stable Docker images published and maintained by the original developers (the docker image is specified as variable and can be modified for each client if a role user wants to use their own image, this will work as long as the entrypoint is the same).
slingnode.ethereum can be used by anyone from a solo-staker running a single node to a DevOps Team deploying and managing hundreds of servers. Check out example Playbooks to see how this can be implemented using group_vars.
slingnode.ethereum role supports two types of deployment, a single server deployment where all client layers run on a single server and a distributed deployment where each layer runs on a separate server.
In a single server deployment (default type) all client layers run on a single server and communicate over Docker Network as depicted in the diagram below.
In a distributed deployment the clients run on separate servers and communicate over the network (LAN) as depicted in the diagram below.
The role is available from Ansible Galaxy: https://galaxy.ansible.com/slingnode/ethereum
The source code is on Github: https://github.com/SlingNode/slingnode-ansible-ethereum
use unmodified official docker images
require only a running Docker daemon and the Compose plugin
provide secure defaults
keep it simple
DRY
If you have any questions join our Discord server or log a GitHub issue.
Throughout the development we have
referred to the amazing Eth-Docker project - https://github.com/eth-educators/eth-docker
used Discord to seek help and explanations from various Ethereum projects
We'd like to thank the Eth-Docker maintainers as well as the individuals that have helped us in Discord.