Slide 1

Slide 1 text

Zašto Cloud, AWS, i serverless? Darko Mesaroš Developer Advocate - AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtu.be/ruptwelve

Slide 2

Slide 2 text

Ciljevi za Danas! • Zašto Cloud? • Zašto AWS? • Šta je, i zašto je Serverless? • (bonus: užasni prevodi na Srpski)

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Photo by Omer Rana on Unsplash

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Dobro Darko, ne treba baš odma sve to da se ima …

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Photo by Dominik Schröder on Unsplash

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Zašto Cloud Infrastruktura? Uvećana Agilnost i performanse Skoro neograničena skalabilnost Uvećana pouzdanost Niži troškovi Maksimalna Sigurnost

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Šta je AWS? Sve što postoji, a da je bitno u Vašem Datacentru

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Customer obsessed našeg roadmapa dolazi od zahteva klijenata 90%

Slide 24

Slide 24 text

Globalna Platforma AWS globalna infrastruktura • 24 AWS Regions with 76 Availability Zones • 5 new AWS Regions coming soon: Indonesia, Italy, Japan, South Africa, Spain • 16 new AZs planned 216 CloudFront PoPs • 205 edge locations • 11 regional edge caches • 84 cities across 42 countries AWS globalna mreža • Redundant 100 GbE network • 100% encrypted between facilities • Private network capacity between all AWS Regions except China

Slide 25

Slide 25 text

A šta ja to tačno mogu u Cloudu?

Slide 26

Slide 26 text

Amazon EC2 Virtual servers in the cloud Physical servers in AWS global Regions Guest 1 Guest 2 Guest n Hypervisor Host server EC2 instances

Slide 27

Slide 27 text

Amazon Aurora Amazon RDS Amazon DynamoDB Amazon DocumentDB Amazon Timestream Amazon Neptune Amazon ElastiCache Amazon QLDB Purpose-built databases

Slide 28

Slide 28 text

Amazon S3 Durable, available, exabyte-scalable Secure, compliant, auditable High performance Low-cost storage and analytics Broad network integration Amazon S3 AWS Lake Formation & AWS Glue AWS Snowball Amazon Kinesis Data Streams AWS Snowmobile Amazon Kinesis Data Firehose Amazon Redshift Amazon EMR Amazon Athena Amazon Kinesis Amazon Elasticsearch Service Amazon SageMaker Amazon Comprehend Amazon Rekognition

Slide 29

Slide 29 text

VISION SPEECH TEXT SEARCH CHATBOTS PERSONALIZATION FORECASTING FRAUD DEVELOPMENT CONTACT CENTERS Ground Truth AWS Marketplace for ML Neo Augmented AI Built-in algorithms Notebooks Experiments Processing Model training and tuning Debugger Autopilot Model hosting Model Monitor Deep Learning AMIs & Containers GPUs & CPUs Elastic Inference Inferentia FPGA Amazon Rekognition Amazon Polly Amazon Transcribe +Medical Amazon Lex Amazon Personalize Amazon Forecast Amazon Comprehend +Medical AI SERVICES ML SERVICES ML FRAMEWORKS & INFRASTRUCTURE Amazon Textract Amazon Kendra Contact Lens For Amazon Connect SageMaker Studio IDE Amazon CodeGuru Amazon SageMaker DeepGraphLibrary Amazon Fraud Detector Amazon Translate The AWS ML Stack Broadest and most complete set of machine learning capabilities

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

Tradicionalna three-tier application arhitektura Web servers Presentation layers Application servers Business logic Database servers Data layer

Slide 34

Slide 34 text

Moderna three-tier application arhitektura Presentation Business logic Data Queues/messages Events Events APIs

Slide 35

Slide 35 text

APIs are the front door of microservices

Slide 36

Slide 36 text

Events are the connective tissue of modern applications

Slide 37

Slide 37 text

A decoupled data strategy improves fault tolerance

Slide 38

Slide 38 text

Decoupling state from servers improves resilience and handles error cases better

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Queues/messages Events Events APIs

Slide 41

Slide 41 text

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

Slide 42

Slide 42 text

Computing evolution – A paradigm shift LEVEL OF ABSTRACTION FOCUS ON BUSINESS LOGIC PHYSICAL MACHINES Requires “guess” planning Lives for years on-premises Heavy investments (capex) Low innovation factor Deploy in months

Slide 43

Slide 43 text

Computing evolution – A paradigm shift LEVEL OF ABSTRACTION FOCUS ON BUSINESS LOGIC VIRTUAL MACHINES Hardware independence Faster provisioning speed (minutes/hours) Trade capex for opex More scale Elastic resources Faster speed and agility Reduced maintenance

Slide 44

Slide 44 text

Computing evolution – A paradigm shift LEVEL OF ABSTRACTION FOCUS ON BUSINESS LOGIC CONTAINERIZATION Platform independence Consistent runtime environment Higher resource utilization Easier and faster deployments Isolation and sandboxing Start speed (deploy in seconds)

Slide 45

Slide 45 text

Computing evolution – A paradigm shift AWS Lambda AWS Fargate LEVEL OF ABSTRACTION FOCUS ON BUSINESS LOGIC Continuous scaling Fault tolerance built-in Pay for value Zero maintenance SERVERLESS

Slide 46

Slide 46 text

Serverless znači?

Slide 47

Slide 47 text

Šta je Bezserverje? No infrastructure to manage Automatic scaling Pay for value Highly available and secure

Slide 48

Slide 48 text

Serverless != just FaaS

Slide 49

Slide 49 text

AWS Lambda AWS Fargate Amazon API Gateway Amazon SNS Amazon SQS AWS Step Functions COMPUTE DATA STORES INTEGRATION AWS AppSync Amazon Aurora Serverless Amazon S3 Amazon DynamoDB Amazon EventBridge

Slide 50

Slide 50 text

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

Slide 51

Slide 51 text

Web application

Slide 52

Slide 52 text

Mobile application

Slide 53

Slide 53 text

Data Processing

Slide 54

Slide 54 text

Positive Chat – Serverless architecture Amazon DynamoDB Amazon Cognito Amazon API Gateway WebSocket connection PositiveChat Lambda function Connections table Conversations table Topics table Web browser AWS Cloud S3 bucket for static assets (HTML, CSS, JS) Authentication Authorization To be implemented Amazon Comprehend Amazon Translate Amazon Rekognition To be implemented https://github.com/danilop/serverless-positive-chat

Slide 55

Slide 55 text

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

Slide 56

Slide 56 text

How-to: Serverless Application Replace heavy infrastructure Reduce your code Start small Use Frameworks

Slide 57

Slide 57 text

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

Slide 58

Slide 58 text

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

Slide 59

Slide 59 text

Malo knjiga Full Stack Serverless by Nader Dabit Running Serverless by Gojko Adžić

Slide 60

Slide 60 text

“Create application” experience Create a serverless application from a starter template • AWS SAM template for IaC • CI/CD pipeline • Clone locally for development with AWS SAM CLI

Slide 61

Slide 61 text

Malo podcasta https://anchor.fm/awsovanje

Slide 62

Slide 62 text

Thank you! © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Darko Mesaroš Developer Advocate - AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtu.be/ruptwelve