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.

Darko Mesaros

October 18, 2020
Tweet

More Decks by Darko Mesaros

Other Decks in Technology

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. $(whoami) Darko Mesaroš / Darko Meszaros / Дарко Месарош !

    → " → # → $ → % Berlin ! @darkosubotica ln/darko-mesaros twitch.tv/ruptwelve youtube.com/ruptwelve
  4. 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
  5. Amazon EC2 Virtual servers in the cloud Physical servers in

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

    Amazon Neptune Amazon ElastiCache Amazon QLDB Purpose-built databases
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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)
  12. 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
  13. 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
  14. 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
  15. “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
  16. 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