Skip to content

Consul Infrastructure Recipes

2017 37 min HashiCorp, an IBM Company en YouTube

Preetha Appan, Consul Expert at HashiCorp This talk covers several specific infrastructure and distributed systems problems, and how to use Consul to solve them. Use cases include: • Load balancing across service instances • Running active/passive instances that fail over without operator intervention using locks • Transparent data-center failover during outages using prepared queries • Turning experimental features on/off for a subset of application servers using the KV store • Integrating Consul with existing applications using consul-template -- If you liked this video and want to see more from HashiCorp, subscribe to our channel: https://www.youtube.com/c/HashiCorp?sub_confirmation=1 To learn more, visit our hands-on interactive lab environment, HashiCorp Learn: https://learn.hashicorp.com/ HashiCorp is the leader in multi-cloud infrastructure automation software. The HashiCorp software suite enables organizations to adopt consistent workflows to provision, secure, connect, and run any infrastructure for any application. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint are downloaded tens of millions of times each year and are broadly adopted by the Global 2000. Enterprise versions of these products enhance the open source tools with features that promote collaboration, operations, governance, and multi-data center functionality. For more information, visit: www.hashicorp.com or follow us on social media: Twitter: @hashicorp LinkedIn: https://www.linkedin.com/company/hashicorp Facebook: https://www.facebook.com/HashiCorp

Chapters

  1. 0:00 Start
  2. 3:25 Problem: Load Balancing
  3. 3:34 Problem: Health Checks
  4. 3:41 Solution: Load Balancer for internal services
  5. 4:06 Problems with Internal Load Balancer
  6. 4:29 Polling
  7. 5:05 Solution Consul Service Registration
  8. 7:36 Gossip Protocol for Failure Detection
  9. 8:32 Architecture with no backend load balancer
  10. 8:55 Load Balancer in the front end
  11. 9:04 Current State
  12. 9:59 Desired Architecture
  13. 10:27 Problems with front end load balancer
  14. 12:50 Order Service with Fabio
  15. 13:34 Review Service with Fabio
  16. 13:57 Load Balancing with Fabio
  17. 14:50 Recap - Problems Addressed
  18. 16:00 Solution Consul Locks
  19. 17:14 Problem - Highly Available Caching Layer
  20. 17:50 Solution - Consul Lock
  21. 18:41 Problem: External Services
  22. 19:33 Solution : External Service Registration
  23. 21:09 Risky Features
  24. 22:02 Solutions
  25. 22:37 Solution - Consul KV for feature toggles
  26. 26:42 Solution: Consul Template
  27. 28:19 More use cases.
  28. 29:46 Datacenters around the world
  29. 29:51 Availability around the world
  30. 30:52 Manual Overrides
  31. 31:32 Solution: Consul Prepared Queries
  32. 33:24 Single Line Config for Geo Fallover
  33. 34:11 Under the hood
Channel
HashiCorp, an IBM Company
Tags
Consul
Views
180

More like this