~/talk

Building and running Spring Cloud-based microservices on AWS ECS

Talkat Spring I/O 2018 · 2018-05-24..05-25· [spring, cloud-infrastructure]
slides:none on file

A Spring Cloud microservices stack runs in Docker on AWS ECS using Terraform for infra, CircleCI for CI and ECR for images; service discovery initially uses Consul service registration using EC2 host IP addresses and port numbers (requires querying EC2 metadata and ECS container metadata) and later moves toward internal ALBs and Route 53 service discovery. A custom Spring Cloud PropertySource integrates with AWS Parameter Store for encrypted secrets, and centralized logging/tracing uses Logback, logs.io and Sleuth; the setup works but exposes ECS networking and scaling quirks.

AI-written summary · about

  1. 0:00Introduction
  2. 2:45Architecture
  3. 4:29Project Setup
  4. 7:45Technology
  5. 11:17Expectations
  6. 12:43How ECS Works
  7. 13:31Scaling ECS vs EC2
  8. 19:21ECS Networking
  9. 21:16Discover Host
  10. 22:21Discover Port Binding
  11. 23:54Configuring Consul Instance ID
  12. 27:09AWS Systems Manager Parameter Store
  13. 28:06Spring Cloud Parameter Store support
  14. 28:43Spring Cloud Config Clients
  15. 29:39Implementing Parameter Store Support
  16. 30:49Wrapping up
  17. 32:07Health Checks in ECS
  18. 33:11AWS Advancements
  19. 35:40AWSVPC Small Print
  20. 36:39ECS Service Discovery
  21. 37:24Ribbon & Server-side Load Balancing
  22. 38:13Ribbon & Zuul Configuration
  23. 41:57Distributed Tracing
  24. 42:47SLF4J MDC Integration
  25. 43:09Brave vs. AMZN Trace IDs
  26. 44:31Bootstrap Logging
  27. 45:16Conclusion
  28. 46:57Bonus: shared HTTP client config
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.