Encryption of network traffic between services #
Docker Swarm can optionally encrypt network traffic - both for stack-internal networks, and for networks that span stacks and/or nodes.
That will result in IPSEC tunnels being used, using AES encryption with automatically rotated keys.
To quote the Docker docs:
This encryption imposes a non-negligible performance penalty, so you should test this option before using it in production.
That perfomance penalty is also why the public network that comes on Planetary
Quantum nodes with a load balancer is not encrypted by default.
You can create encrypted networks via the Quantum Console, by going to Networks => Add Network, choosing the overlay driver, and adding an option encrypted: true:

Alternatively, you can set that option directly in your stack files:
| |