Slide 1

Slide 1 text

BOSNIA

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

$(whoami) Darko Mesaroš / Darko Meszaros / Дарко Месарош @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtube.com/ruptwelve

Slide 7

Slide 7 text

How to Cloud in 2020 Darko Mesaroš Developer Advocate - AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtu.be/ruptwelve

Slide 8

Slide 8 text

2020

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

When you look at the systems you are building, can you answer the question: “Are you Well-Architected?”

Slide 12

Slide 12 text

What is the AWS Well-Architected Framework? Design principles Questions Pillars

Slide 13

Slide 13 text

Pillars of AWS Well-Architected Security Cost Optimization Operational Excellence Performance Efficiency Reliability

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

The Amazon Builders’ Library

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

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”

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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)

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Balance capacity across availability zones Elastic Load Balancing Availability Zone 2 Availability Zone 1

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

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

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

Your solution @ Edge

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

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

Slide 32

Slide 32 text

© 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

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Modern Applications

Slide 35

Slide 35 text

© 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

Slide 36

Slide 36 text

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 36 APIs are the front door of microservices

Slide 37

Slide 37 text

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.

Slide 38

Slide 38 text

© 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

Slide 39

Slide 39 text

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

Slide 40

Slide 40 text

© 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

Slide 41

Slide 41 text

© 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

Slide 42

Slide 42 text

A decoupled data strategy improves fault tolerance

Slide 43

Slide 43 text

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

Slide 44

Slide 44 text

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

Slide 45

Slide 45 text

© 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?

Slide 46

Slide 46 text

Decoupling state from servers improves resilience and handles error cases better

Slide 47

Slide 47 text

© 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

Slide 48

Slide 48 text

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

Slide 49

Slide 49 text

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.

Slide 50

Slide 50 text

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?

Slide 51

Slide 51 text

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

Slide 52

Slide 52 text

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

Slide 53

Slide 53 text

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

Slide 54

Slide 54 text

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

Slide 55

Slide 55 text

Takeaways!

Slide 56

Slide 56 text

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