Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Costruire Applicazioni Moderne con AWS

919 vues

Publié le

Vent'anni fa Amazon ha attraversato una trasformazione radicale con l'obiettivo di aumentare il ritmo dell'innovazione. In questo periodo abbiamo imparato come cambiare il nostro approccio allo sviluppo delle applicazioni ci ha permesso di aumentare notevolmente l'agilità, la velocità di rilascio e, in definitiva, ci ha consentito di creare applicazioni più affidabili e scalabili. In questa sessione illustreremo come definiamo le applicazioni moderne e come la creazione di app moderne influisce non solo sull'architettura dell'applicazione, ma sulla struttura organizzativa, sulle pipeline di rilascio dello sviluppo e persino sul modello operativo. Descriveremo anche approcci comuni alla modernizzazione, compreso l'approccio utilizzato dalla stessa Amazon.com.

  • Identifiez-vous pour voir les commentaires

Costruire Applicazioni Moderne con AWS

  1. 1. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential Modern Applications on AWS Dario Pizzuto – Solutions Architect November 10th, 2020
  2. 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. • Overview • Becoming high frequency • Amazon’s adoption of modern applications • How to get there • Shrink the scope • Offload the undifferentiated pieces • Choose the right tool for the job • Automate everything • Benefits Agenda
  3. 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. A modern application is not a static thing, but is, by definition, ever-changing: Modern (mod·ern)* adjective of, relating to, or characteristic of the present or the immediate past MODERN APPLICATIONS OVERVIEW *https://www.merriam-webster.com/dictionary/modern
  4. 4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. However, it does refer to how builders leverage people, process, and technology to build applications TODAY. It is about building automated, operatable, business focused solutions. MODERN APPLICATIONS OVERVIEW
  5. 5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. A modern approach allows you to: Shrink the scope Offload the undifferentiated pieces Choose the right tool for the job Automate everything MODERN APPLICATIONS OVERVIEW
  6. 6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Becoming High Frequency
  7. 7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. The frequency spectrum
  8. 8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Enterprises feel pressure to close the gap 90% 15% Source: McKinsey
  9. 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Enterprises feel pressure to close the gap 67% Source: Gartner
  10. 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Enterprises feel pressure to close the gap Source: Puppet Labs State of DevOps Report
  11. 11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Why do enterprises feel safer moving slowly? Failing or unstable applications Security, risk, and compliance Big bet launch failures 1 2 3
  12. 12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Invest in your workforce And put them closer to your customers Automate your bureaucracy To provide safety and speed Build it in, don’t bolt it on Assume attack and failure Break up the work Monolith to microservices 1 2 3 4
  13. 13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Changes at Amazon…
  14. 14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Development transformation at Amazon: 2001-2002 Monolithic application + teams Microservices + 2 pizza teams 2001 2002
  15. 15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Two-pizza teams are fast & agile • Full ownership & autonomy • You build it, you run it • DevOps – small, nimble teams • Focused innovation
  16. 16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. A shift to microservices Single-purpose Connect only through hardened APIs Largely “black boxes” to each other Business logic and data only accessible through APIs
  17. 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Self-service platforms without gatekeepers Creating powerful self-service platforms that enable builders to use the right tool for the right job
  18. 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Deployment at scale 1,000s of teams Micro- services CI/CD Serverless >60 Million deployments per year* =
  19. 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Architectural patterns Operational model Data management Software delivery What changes have to be made in this new world?
  20. 20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Architectural patterns Shrink the scope
  21. 21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. APIs are the front door of microservices
  22. 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. When the impact of change is small, release velocity can increase Monolith Does everything Microservices Does one thing
  23. 23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Event-driven architectures
  24. 24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Events are observable, not directed Directed Commands Observable Events
  25. 25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Event-driven Benefits: Break up the work Decoupled and distributed Decrease waste Pay for value
  26. 26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Operational model Offload the undifferentiated pieces
  27. 27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Isn’t all of this very hard now that we have lots of pieces to operate?
  28. 28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. LEVELOFABSTRACTION FOCUS ON BUSINESS LOGIC SERVERLESS PHYSICAL MACHINES VIRTUAL MACHINES CONTAINERIZATION AWS Lambda AWS Fargate • Continuous scaling • Fault tolerance built-in • Pay for value • Zero maintenance • Focus on business value There’s a paradigm shift happening
  29. 29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Serverless reduces the operational load No infrastructure provisioning, no management Pay for value Automatic scaling Highly available
  30. 30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Compute Virtual Machine EC2 Elastic Beanstalk AWS Lambda Fargate Databases MySQL MySQL on EC2 RDS MySQL RDS Aurora Aurora Serverless DynamoDB Storage Storage S3 Messaging ESBs Amazon MQ Kinesis SQS / SNS Analytics Hadoop Hadoop on EC2 EMR Elasticsearch Service Athena OPERATIONAL LOAD Let AWS do the heavy lifting more less
  31. 31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. So you don’t have to Less concernsMore concerns AWS Lambda Serverless functions AWS Fargate Serverless containers ECS/EKS Container-management as a service EC2 Infrastructure-as-a-Service AWS MANAGES CUSTOMER MANAGES • Data source integrations • Physical hardware, software, networking, and facilities • Provisioning • Application code • Container orchestration, provisioning • Cluster scaling • Physical hardware, host OS/kernel, networking, and facilities • Application code • Data source integrations • Security config and updates, network config, management tasks • Container orchestration control plane • Physical hardware software, networking, and facilities • Application code • Data source integrations • Work clusters • Security config and updates, network config, firewall, management tasks • Physical hardware software, networking, and facilities • Application code • Data source integrations • Scaling • Security config and updates, network config, management tasks • Provisioning, managing scaling and patching of servers
  32. 32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. A common question, which is appropriate? Serverless compute engine for containers • Long-running • Bring existing code • Fully-managed orchestration AWS Fargate Serverless event-driven code execution • Short-lived • All language runtimes • Data source integrations AWS Lambda
  33. 33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Data management Right tool for the job
  34. 34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Common dependencies limit solutions
  35. 35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Data becomes a part of each microservice
  36. 36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. A family of purpose-built databases KEY-VALUE A m a z o n D y n a m o D B A m a z o n E l a s t i C a c h e f o r R e d i s & M e m c a c h e d IN-MEMORY A m a z o n N e p t u n e GRAPH A m a z o n D o c u m e n t D B DOCUMENT w i t h M o n g o D B c o m p a t i b i l i t y A m a z o n T i m e s t r e a m LEDGER A m a z o n Q L D B TIME SERIES
  37. 37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Delivery of software Automate everything
  38. 38. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Project-based Monolithic Development Developers Single pipelineMonolith Build Test Release Monitor
  39. 39. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Team-based Monolithic Development Single pipelineMonolithTeams Build Test Release Monitor
  40. 40. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Product-based Development Teams Single pipelineServices Build Test Release Monitor
  41. 41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Product-based Delivery Teams Services Automated release pipelines Build Test Release Monitor Build Test Release Monitor Build Test Release Monitor Build Test Release Monitor
  42. 42. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Built-in security puts developers at the center of your security team DEVELOPMENT
  43. 43. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Security in the CI/CD pipeline Artifact validation Static code analysis Security of the CI/CD pipeline Access roles Hardening build servers/nodes 1 2 Automated and Secure Pipelines
  44. 44. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Cloud Custodian Built-in guardrails
  45. 45. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. The modernization journey
  46. 46. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. On- premises Lift & shift Instance Right-Sizing Improved Elasticity Measure, Monitor, Improve Optimized EC2 Storage Optimization Serverless Architecture Managed Services True AWS Optimized Post-migration cost savings and architectural maturity Mature & Optimized Typical Starting Point Modernization and cloud maturity is a journey
  47. 47. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Many paths to modern applications CAPACITYPROCESSESCOSTMODELS OPERATIONAL PROCESSES DEVELOPMENT MODELS ON-PREMISESCLOUD “LEGACY” ARCHITECTURES MODERN ARCHITECTURES AWS EC2 AWS ECS AWS FARGATE AWS EKS AWS LAMBDA AWS ECS AWS FARGATE AWS EKS Containers Modern Applications DIRECT
  48. 48. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Typically starts with breaking down the monolith Moving monolithic applications to microservices by gradually creating events and APIs for various components on of the legacy application THE STRANGLER PATTERN https://martinfowler.com/bliki/StranglerFigApplication.html
  49. 49. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Breaking up the monolith one service at a time
  50. 50. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH
  51. 51. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH
  52. 52. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH
  53. 53. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH
  54. 54. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH • Used AWS cloud native services with legacy applications • Decoupled functionality for quicker/safer development • Gradually carve out one task at a time to refactor • Works with cloud or hybrid applications
  55. 55. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. BREAKING UP THE MONOLITH
  56. 56. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Modern Application Benefits
  57. 57. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. Why are customers choosing to build modern apps? Faster to Market More reliable applications Increased rate of innovation Reduced costs
  58. 58. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. We are witnessing a paradigm shift Our goal is to automate and abstract away as much as is possible so customers can focus on building applications for their business Win Customers Build better products Release features faster Experiment and Innovate more often Focus on business logic Decouple software systems
  59. 59. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. One more thing…
  60. 60. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential. AWS Europe (Milan) Region On April, 28th AWS expanded its global footprint with the opening of the AWS Infrastructure Region in Italy. The new Region AWS Europe (Milano) brings advanced cloud technologies that enable opportunities for innovation, entrepreneurship, and digital transformation. For additional information about services and characteristics of an AWS Region, you can check the website: aws.amazon.com/local/italy/milan/
  61. 61. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential Thank you! dpizzuto@amazon.com

×