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

Zašto Cloud, AWS i Serverless

Zašto Cloud, AWS i Serverless

Prezentacija sa OpenIT konferencije 2020.

8db231d3fe08b46242f6e0e45c95eee1?s=128

Darko Mesaros

October 18, 2020
Tweet

Transcript

  1. Zašto Cloud, AWS, i serverless? Darko Mesaroš Developer Advocate -

    AWS @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtu.be/ruptwelve
  2. Ciljevi za Danas! • Zašto Cloud? • Zašto AWS? •

    Šta je, i zašto je Serverless? • (bonus: užasni prevodi na Srpski)
  3. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  4. None
  5. Photo by Omer Rana on Unsplash

  6. None
  7. None
  8. None
  9. None
  10. Dobro Darko, ne treba baš odma sve to da se

    ima …
  11. None
  12. None
  13. Photo by Dominik Schröder on Unsplash

  14. None
  15. Zašto Cloud Infrastruktura? Uvećana Agilnost i performanse Skoro neograničena skalabilnost

    Uvećana pouzdanost Niži troškovi Maksimalna Sigurnost
  16. $(whoami) Darko Mesaroš / Darko Meszaros / Дарко Месарош !

    → " → # → $ → % Berlin ! @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtube.com/ruptwelve
  17. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  18. None
  19. None
  20. None
  21. Šta je AWS? Sve što postoji, a da je bitno

    u Vašem Datacentru
  22. None
  23. Customer obsessed našeg roadmapa dolazi od zahteva klijenata 90%

  24. 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
  25. A šta ja to tačno mogu u Cloudu?

  26. Amazon EC2 Virtual servers in the cloud Physical servers in

    AWS global Regions Guest 1 Guest 2 Guest n Hypervisor Host server EC2 instances
  27. Amazon Aurora Amazon RDS Amazon DynamoDB Amazon DocumentDB Amazon Timestream

    Amazon Neptune Amazon ElastiCache Amazon QLDB Purpose-built databases
  28. 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
  29. 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
  30. None
  31. None
  32. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  33. Tradicionalna three-tier application arhitektura Web servers Presentation layers Application servers

    Business logic Database servers Data layer
  34. Moderna three-tier application arhitektura Presentation Business logic Data Queues/messages Events

    Events APIs
  35. APIs are the front door of microservices

  36. Events are the connective tissue of modern applications

  37. A decoupled data strategy improves fault tolerance

  38. Decoupling state from servers improves resilience and handles error cases

    better
  39. None
  40. Queues/messages Events Events APIs

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

    rights reserved.
  42. 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
  43. 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
  44. 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)
  45. 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
  46. Serverless znači?

  47. Šta je Bezserverje? No infrastructure to manage Automatic scaling Pay

    for value Highly available and secure
  48. Serverless != just FaaS

  49. 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
  50. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  51. Web application

  52. Mobile application

  53. Data Processing

  54. 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
  55. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.
  56. How-to: Serverless Application Replace heavy infrastructure Reduce your code Start

    small Use Frameworks
  57. © 2020, Amazon Web Services, Inc. or its affiliates. All

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

    rights reserved.
  59. Malo knjiga Full Stack Serverless by Nader Dabit Running Serverless

    by Gojko Adžić
  60. “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
  61. Malo podcasta https://anchor.fm/awsovanje

  62. 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