Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a multi-account, multi-runtime service...

Building a multi-account, multi-runtime service-oriented architecture

Originally presented at AWS Re:invent 2023.

Rosemary Wang

December 06, 2023
Tweet

More Decks by Rosemary Wang

Other Decks in Technology

Transcript

  1. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. S P O N S O R E D B Y H A S H I C O R P Building a multi-account, multi-runtime service- oriented architecture Rosemary Wang D O P 3 1 6 - S (she/her) Sr. Developer Advocate II HashiCorp J. Cole Morrison (he/him) Sr. Developer Advocate HashiCorp
  2. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is this and why do it?
  3. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. +
  4. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  5. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  6. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. she/her Sr. Developer Advocate II HashiCorp Rosemary Wang he/him Sr. Developer Advocate HashiCorp J. Cole Morrison
  7. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  8. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  9. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. + http://hashi.co/foundational-soa
  10. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1. Principles of scale and service-oriented architecture 2. Creating the production infrastructure 3. Observing, measuring, and managing production 4. Adding features and fixing bugs 5. Securing multi-user access 6. Customizing and adding new runtime Agenda
  11. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA
  12. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA Autonomy Loose coupling Standardization Discoverability
  13. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA – Autonomy Autonomy Self-contained, independent, changeable without disruption
  14. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA – Standardization Standardization Common formats, protocols, and conventions for reusability
  15. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA – Loose coupling Loose coupling Well-defined and abstracted interfaces for communication
  16. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA – Discoverability Discoverability Clear purpose, easily identified, and fully documented
  17. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Principles of scale and SOA Autonomy Loose coupling Standardization Discoverability Self-contained, independent, changeable without disruption Common formats, protocols, and conventions for reusability Well-defined and abstracted interfaces for communication Clear purpose, easily identified, and fully documented
  18. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. + http://hashi.co/foundational-soa
  19. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating the production infrastructure
  20. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo http://hashi.co/foundational-soa
  21. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Multiple accounts offer autonomy • Loose coupling through common interface • Standardize with infrastructure as code • Aim for reproducibility • Discoverability?
  22. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Observing, measuring, and managing production
  23. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo http://hashi.co/foundational-soa
  24. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Standardized view of services and systems • Loose coupling through separation of concerns • “Just enough” observability for now • Customize metrics and telemetry
  25. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Adding features and fixing bugs in production
  26. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo http://hashi.co/foundational-soa
  27. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Autonomy of deployment • Continue loose coupling through common interface • Improve on foundational discoverability • Standardize deployment workflow
  28. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Securing multi-user access to production
  29. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo http://hashi.co/foundational-soa
  30. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Autonomy through just-in-time least privilege • Enable auditing for access discoverability • Standardize definitions of identity • Loosely couple identity from access
  31. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Customizing and adding new runtimes to production
  32. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo http://hashi.co/foundational-soa
  33. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Autonomy • Standardization • Loose coupling • Discoverability All help to extend infrastructure and services
  34. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resources, links, and next steps • Foundational Code Project http://hashi.co/foundational-soa • HashiCorp Developers https://developer.hashicorp.com/ • HashiCorp Cloud Platform https://www.hashicorp.com/cloud
  35. © 2023, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you! © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Please complete the session survey in the mobile app Thank you! © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Please complete the session survey in the mobile app Rosemary Wang linkedin.com/in/rosemarywang github.com/joatmon08 @joatmon08 J. Cole Morrison linkedin.com/in/jcolemorrison github.com/jcolemorrison @jcolemorrison