stackconf 2021 | Stretching the Service Mesh Beyond the Clouds
- 1. June 2021 | stackconf
Stretching the
Service Mesh
Beyond the
Clouds
- 12. More Service Mesh, More Problems?
Some added complexity
▪ Yet another agent
▪ More to debug
▪ More to operate
▪ Point of failure
- 13. No Service Mesh, More Problems
Operational responsibility for multiple clouds
▪ Minimal automation
▪ Multiple sources of truth
▪ Multiple sources of control
▪ Multiple metrics approaches
- 16. Benefits
Network Automation + Service Mesh
▪ In service mesh:
– Control retries and error handling to non-service mesh
– Progressive delivery techniques (canary, A/B testing, feature flagging)
▪ In non-service mesh:
– Automated control
– No change to existing applications
- 18. Consul Terraform
Sync (CTS)
DAEMON GETS EVENT
SERVICE CHANGED
TERRAFORM CONFIGURATION
REFERENCES MODULE
USE TEMPLATE TO
CREATE TERRAFORM
CONFIGURATION
RUNS TERRAFORM
TERRAFORM
MODULE
DOWNLOAD MODULE
AND APPLY CHANGES
- 21. Benefits
Federated Service Mesh
▪ One place to control retries and error handling
▪ Aggregated & standardized metrics
▪ Progressive delivery across all environments & frameworks
– Fully automated canary deployment
– A/B testing
- 22. DATACENTER
(CONSUL SERVICE MESH, SECONDARY)
LOAD
BALANCER
MY-APPLICATION-0 MY-APPLICATION-1 MY-APPLICATION-2
MY-APPLICATION.CLOUD
LOAD BALANCER
MY-APPLICATION.DATACENTER
MY-APPLICATION-0 MY-APPLICATION-1 MY-APPLICATION-2
MY-APPLICATION.MY-COMPANY.NET
CONSUL MESH
GATEWAY
CONSUL MESH
GATEWAY
CLOUD
(CONSUL SERVICE MESH, PRIMARY)
💡 Private/public network connectivity
❗Must retrofit service mesh