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

How to cloud in 2020 - AWS Community Day Bosnia

8db231d3fe08b46242f6e0e45c95eee1?s=47 Darko Mesaros
September 25, 2020

How to cloud in 2020 - AWS Community Day Bosnia

8db231d3fe08b46242f6e0e45c95eee1?s=128

Darko Mesaros

September 25, 2020
Tweet

Transcript

  1. BOSNIA

  2. None
  3. None
  4. None
  5. None
  6. $(whoami) Darko Mesaroš / Darko Meszaros / Дарко Месарош @darkosubotica

    ln/darko-mesaros twitch.tv/ruptwelve youtube.com/ruptwelve
  7. How to Cloud in 2020 Darko Mesaroš Developer Advocate -

    AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtu.be/ruptwelve
  8. 2020

  9. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  10. None
  11. When you look at the systems you are building, can

    you answer the question: “Are you Well-Architected?”
  12. What is the AWS Well-Architected Framework? Design principles Questions Pillars

  13. Pillars of AWS Well-Architected Security Cost Optimization Operational Excellence Performance

    Efficiency Reliability
  14. The Amazon Builders’ Library Architecture, software delivery, and operations By

    Amazon’s senior technical executives and engineers Real-world practices with detailed explanations Content available for free on the website
  15. The Amazon Builders’ Library

  16. 16 Visit aws.training Classroom Training In-person and virtual training from

    instructors who teach your team in a hands-on learning environment Enable Your Team With the Right Training Developed by the experts at AWS Digital Training Free, on-demand courses so your team can learn about the latest services when and where it’s convenient AWS Certification Identify skilled professionals to lead cloud initiatives using AWS
  17. Goal Strategy Outcome Establish cloud offering Develop a cloud-positive culture

    Private onsite training AWS Technical Essentials training for ~80 person team Deep technical training for a core group of 8 employees Baseline cloud knowledge so everyone was speaking the same language Faster journey from “cloud naïve” to “cloud native”
  18. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  19. Content Consumption in 2020 Increase of 39% in Global streaming

    hours (March 2020) 69.9B Minutes in 2019 vs 161.4B Minutes in 2020 (March)
  20. None
  21. Predictive scaling in Amazon EC2 Auto Scaling Machine learning technology

    behind the scenes Machine learning model Billions of data points from Amazon.com Load metric and forecasts next two days based on the pre-trained model Performs regression analysis between load metric and scaling metric Schedules scaling actions for the next two days, hourly Repeats every day Capacity provisioning On-Premises Capacity provisioning with Dynamic Scaling Capacity provisioning with Predictive Scaling and Dynamic Scaling Time Load/Capacity Time Load/Capacity Time Load/Capacity Provisioned Capacity Actual Capacity Demand
  22. None
  23. Balance capacity across availability zones Elastic Load Balancing Availability Zone

    2 Availability Zone 1
  24. Re-target capacity to alternative availability zones Elastic Load Balancing Availability

    Zone 2 Availability Zone 1
  25. Elastic Load Balancing Availability Zone 2 Availability Zone 1 Re-target

    capacity to alternative availability zones
  26. Elastic Load Balancing Availability Zone 2 Availability Zone 1 Re-target

    capacity to alternative availability zones
  27. Elastic Load Balancing Availability Zone 2 Availability Zone 1 Re-balance

    capacity across availability zones
  28. Elastic Load Balancing Availability Zone 2 Availability Zone 1 Re-balance

    capacity across availability zones
  29. Your solution @ Edge

  30. None
  31. N. Virginia N. California Ireland AWS GovCloud West Oregon São

    Paulo Montreal Ohio London Mumbai Seoul Ningxia Cape Town Hong Kong Sweden AWS GovCloud East Osaka Milan Bahrain Jakarta 2016–2020: 13 regions and 1 local region Coming soon: 3 regions Next 5 years: 7 regions First 5 years: 4 regions Regional expansion Frankfurt Singapore Beijing Spain Paris Sydney
  32. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential Meeting increased capacity needs Distance learning “Since the beginning of the year, we’ve seen significant growth across Robinhood, including record trading activity and customer sign-ups. Thanks to the flexibility and power of the EC2 platform, we’ve been able to continuously expand our capacity to meet this demand. The AWS team has been invaluable in helping us tackle other challenges in scaling our services by advising us on potential demands, including helping us identify bottlenecks in how we integrate with RDS, the AWS hosted version of PostgreSQL.” — Adam Wolff, VP of Engineering at Robinhood
  33. None
  34. Modern Applications

  35. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 35 A modern three-tier application architecture Presentation Business logic Data Queues/messages Events Events APIs
  36. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 36 APIs are the front door of microservices
  37. 2002 - Bezos API Mandate 1. All teams will henceforth

    expose their data and functionality through service interfaces. 2. Teams must communicate with each other through these interfaces. 3. There will be no other form of inter-process communication allowed: no direct linking, no direct reads of another team’s data store, no shared-memory model, no back-doors whatsoever. The only communication allowed is via service interface calls over the network. 4. It doesn’t matter what technology they use. 5. All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions.
  38. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 38 Realtor.com uses APIs between services Lambda function AWS Amazon CloudWatch monitoring Amazon CloudFront Mobile apps API Gateway cache Websites Image Processing Internet Image Repository “We process 800 million images per day through Amazon API Gateway...” Kuntal Shah, SVP Engineering, Realtor.com
  39. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 39 Events are the connective tissue of modern applications
  40. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 40 Event-driven architectures drive reliability and scalability Asynchronous Events Improve responsiveness and reduce dependencies Event Routers Abstract producers and consumers from each other Event Stores Buffer messages until services are available to process
  41. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 41 Lego uses an event-driven design Commerce platform Order & customer updates Event relay Amazon EventBridge Login Customer login Checkout Submit order Order Process order Shipping Send order to SAP Data sync Customer, VIP, wishlist sync Payment Authorize payment FIFO queue Customer login Invoke every minute Order complete Events Payment authorized Customer login Order complete Order submit
  42. A decoupled data strategy improves fault tolerance

  43. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 43 Decoupling your data
  44. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 44 Decoupling data into each service improves resilience
  45. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 45 Purpose built databases Massive data volume? One size does not fit all. What are the data needs of each modular service? Data warehousing? High speed rendering?
  46. Decoupling state from servers improves resilience and handles error cases

    better
  47. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Confidential and Trademark 47 © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Frame.io uses Step Functions as a media transcoding solution 1. Uses state machines to pick execution engine 2. Uses CloudWatch Events for messaging & triggering Step Functions
  48. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  49. The way we work is changing The globalization of the

    economy has driven the need to work from anywhere, with anyone at any time. You can no longer assume that all your work gets done within the confines of the traditional office. Organizations are increasingly looking for options for employees to work securely from any location.
  50. How do I enable my employees and students to remotely

    access the applications they need? How do my employees and students engage with each other using audio and video conferencing at scale? How do I keep my contact center operational while my staff are all working from home? How can my VPN service scale to handle peak demand when unexpected events require many of my employees to work remotely?
  51. Remote work and learning solutions Cloud desktops, applications, content collaboration

    Remote communication and collaboration Virtual contact center Secure remote network access Access your desktop anywhere, anytime, from any device Securely deliver desktop applications to any computer Secure content collaboration, simplified Working together, simplified Connect amazon Easy-to-use cloud contact center Client VPN AWS Securely access any resources from anywhere
  52. Customer case studies “At Amazon, we were able to burst

    scale our Amazon WorkSpaces environment - in 1.5 weeks - from a steady-state of 25k running instances to a maximum capacity of near 300k running instances across 8 regions; this ensures that every Amazon employee has a dedicated, remotely-accessible corporate computer.” Andrew Blackard, Manager, Client Engineering, Amazon “With Amazon WorkSpaces, we can provide new workers with a Windows desktop and the applications they need within hours instead of days. Because Amazon WorkSpaces is cost effective and requires no upfront payment, we have been able to save 30 percent of our desktop operations costs and 70 percent on capital expenditure.” Leon Backbier, IT Manager - Edemol Shine Nederland “In the past, opening a new office required a significant IT capex investment and took three to six months of planning. With Amazon WorkSpaces, we are able to save money on capex, and we can open a new location in days. Amazon Web Services has helped us accelerate the pace of growth for our business.” Elly Krommidas, Managing Director - CMC Property Services
  53. AWS Cloud9 A cloud IDE for writing, running, and debugging

    code • Code with just a browser • Start new projects quickly • Code together in real time • Build serverless applications with ease • Direct terminal access AWS Cloud9 for cloud-based development
  54. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  55. Takeaways!

  56. Hvala! Darko Mesaroš Developer Advocate - AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve

    youtu.be/ruptwelve