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

Cutting-Edge Architectures Based on AppSync, Lambda, and Fargate

Cutting-Edge Architectures Based on AppSync, Lambda, and Fargate

AWS is changing and innovating fast. It’s about time to ask: How does a cutting-edge architecture for a web application on AWS look like? You will be surprised about the new possibilities to build highly scalable and fault-tolerant applications with minimum effort. You definitely should join this talk when you are planning to start a new project from scratch or think about re-architecting existing applications. You will learn about two innovative approaches for building web applications on AWS during this talk:

* Serverless with AWS AppSync (GraphQL), AWS Lambda, and Amazon DynamoDB
* Containerized with AWS ALB, AWS Fargate, and Amazon Aurora.

After introducing all parts of the architecture, we will discuss the technical details of each service. Next, you will learn about pitfalls and limitations. Afterwards, you will get a live demo of all parts. On top of that, you will learn how to do continuous deployment and operations for both architectures.

E8f66870d1204779ecc45f2695faa73e?s=128

Michael Wittig

February 26, 2019
Tweet

Transcript

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

    rights reserved. S U M M I T Cutting-Edge Architectures Based on AppSync, Lambda, and Fargate Andreas Wittig cloudonaut.io H a l l 5 Michael Wittig cloudonaut.io
  2. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T Agenda • A brief history of AWS architectures • Why cutting-edge architectures matter • AppSync + Lambda + DynamoDB • ALB + Fargate + Aurora • Summary
  3. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T A brief history of AWS architectures 2009 2015 2016 2017 2018
  4. S U M M I T © 2019, Amazon Web

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

    rights reserved. S U M M I T Goals • Low operational effort • Cost-effective • Highly available • Scalable • Automated deployment • Future proof
  6. S U M M I T © 2019, Amazon Web

    Services, Inc. or its affiliates. All rights reserved.
  7. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T AppSync + Lambda + DynamoDB AWS AppSync Lambda function Amazon DynamoDB S3 Bucket HTML, JS, CSS Vue.js Apollo AWS Cloud GraphQL
  8. S U M M I T © 2019, Amazon Web

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

    rights reserved. S U M M I T Your voice counts! Vote for your favorite AWS architecture: http://bit.ly/aws-berlin19
  10. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T Pitfalls + Limitations • No customizable rate limits • No built-in way to trigger subscriptions from external systems
  11. S U M M I T © 2019, Amazon Web

    Services, Inc. or its affiliates. All rights reserved.
  12. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T ALB + Fargate + Aurora AWS Cloud Elastic Load Balancing ALB Container Container AWS Fargate Amazon Aurora Serverless
  13. S U M M I T © 2019, Amazon Web

    Services, Inc. or its affiliates. All rights reserved.
  14. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T Pitfalls + Limitations • Aurora Serverless needs around 20 seconds to start when stopped (optional) • Offload background jobs (crons)
  15. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T • ECS/EKS with EC2 requires a lot of heavy lifting • Fargate is the choice to run existing, dockerized applications on AWS • AppSync is beginner friendly and much easier to use than API Gateway • DynamoDB on-demand offers a maintenance free database • Aurora Serverless solves the scalability challenge for relational databases Summary
  16. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T New book • To the point • Ready to use • Low operational effort Get your copy at cloudonaut.io!
  17. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T https://github.com/widdix/aws-cutting-edge-appsync/ https://github.com/widdix/aws-cutting-edge-fargate/ Examples
  18. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. S U M M I T Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Andreas Wittig cloudonaut.io Michael Wittig cloudonaut.io