Evolutionary Serverless Architecture

E8f66870d1204779ecc45f2695faa73e?s=47 Michael Wittig
February 16, 2018

Evolutionary Serverless Architecture

A system architecture often struggles to adapt to new requirements. Serverless architectures can evolve over time because we can replace the building blocks at any time.

E8f66870d1204779ecc45f2695faa73e?s=128

Michael Wittig

February 16, 2018
Tweet

Transcript

  1. 2.

    HELLO! I am Michael Wittig cloudonaut.io and AWS in Action

    (Manning) hello@marbot.io - @hellomichibye 2
  2. 6.

    Hi, marbot here! I’m a Slack bot supporting your DevOps

    team to detect and solve incidents on AWS. 6
  3. 7.

    Why marbot? ▰ smart escalation algorithm minimizes distraction and response

    time ▰ configures AWS monitoring for you ▰ fun and easy to use chatbot ▰ contextual help to resolve AWS incidents 7
  4. 8.

    8

  5. 10.

    Key fitness functions ▰ Never lose alerts ▰ End user

    latency < 200 ms ▰ Code coverage > 80 % ▰ Monitoring coverage > 90 % ▰ Managed over self-managed 10
  6. 13.

    Key fitness functions ▰ • Never lose alerts ▰ •

    End user latency < 200 ms ▰ • Code coverage > 80 % ▰ • Monitoring coverage > 90 % ▰ • Managed over self-managed 13
  7. 14.

    14

  8. 15.

    Key fitness functions ▰ • Never lose alerts ▰ •

    End user latency < 200 ms ▰ • Code coverage > 80 % ▰ • Monitoring coverage > 90 % ▰ • Managed over self-managed 15
  9. 16.

    16

  10. 17.

    Key fitness functions ▰ • Never lose alerts ▰ •

    End user latency < 200 ms ▰ • Code coverage > 80 % ▰ • Monitoring coverage > 90 % ▰ • Managed over self-managed 17
  11. 19.

    Start as simple as possible ▰ Automate deployment ▰ Use

    small managed building blocks ▰ Add monitoring/tracking everywhere ▰ Don’t optimize 19
  12. 20.

    Evolve the architecture over time ▰ Analyze monitoring/tracking data ▰

    Optimize where necessary ▰ Decouple (e.g. with Step Functions) 20
  13. 21.

    Other learnings ▰ Step functions are awesome timers ▰ User

    interaction with step functions is ugly ▰ Idempotent state transitions ▰ Remote calls need retry logic 21
  14. 22.

    CREDITS Special thanks to all the people who made and

    released these awesome resources for free: ▰ Presentation template by SlidesCarnival ▰ Photographs by PEXELS 22