SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Online Tech Talks
La serie di webinar AWS in Italiano
Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console
Speaker
Stefano Sandrini
Solutions Architect, AWS
Obiettivi
§ Fornire una panoramica del servizio AWS Amplify Console
§ Fornire linee guida sullo sviluppo e la distribuzione di applicativi web
moderni integrando AWS Amplify Console e Amplify Framework
§ Mostrare tecniche di continuous integration / continuous deployment
semplificato, gestito e orchestrato
§ Fornire esempi di hosting globale e altamente disponibile per use case
tipici
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What’s covered in this session
• An overview of the AWS Amplify Console service
• Guidelines on the development and distribution of modern mobile web
applications by integrating AWS Amplify Console and Amplify Framework
• Simplified, managed and orchestrated continuous integration / continuous
deployment techniques
• Examples of global and highly available hosting for typical use case
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern Web Applications
• Traditional client-server web architectures led to poor experiences
Every button click required a roundtrip to the server, re-rendering the entire
application every time
• Modern Web Applications are created as Single Page Applications (SPA)
Package all application’s components into static files
• Native app-like experience
Frontend served efficiently as prebuilt HTML and Javascript files , can invoke
backend functionalities asynchronously without reloading the page.
• Functionality spread across multiple places and resources
Static frontend and assets, backend business logic, database, authentication
services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern Web App architecture
AWS Cloud
Region
Region
Edge location
Edge location
Bucket with
web assets
Users
1) Frontend request
2) Backend request
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Full stack” DevOps approach for Web apps
• Strong isolation barrier between projects and stages
Dedicated AWS stack for each project and stage (sandbox, staging, prod)
• Source code (and history) for each stage readily available
Git branching used for the source code for each stage
• Minimize version mismatches between frontend and backend
Frontend (e.g., code) and backend (e.g., AWS CloudFormation templates)
developed and versioned together in same Git repository
• Developers in control => Developers deploy frontend *and* backend
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DevOps requirements for modern Web apps
- Recognize that there may be coupling between frontend and backend
- Share backends between team members or clone for isolated development
Web app
per dev
sandbox
Test Web app Prod Web
app
Isolated
backends
Shared backend
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DevOps challenges with modern Web apps
Lots of moving parts complicate the following:
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NEW: Introducing the AWS Amplify Console
Build, deploy, and host cloud-powered modern web apps
Optional deployment of backend resources + fully managed frontend hosting
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console
Globally available
Your app is served via AWS’s reliable
content delivery network with 144 points of
presence globally.
Easy custom domain setup
Set up custom domains managed in
Amazon Route 53 with a single click plus
get a free HTTPS certificate.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console
Simplified continuous
workflows
Connect your repository to 'git push'
changes to your frontend and backend in a
single workflow.
Feature branch deployments
Work on new features without impacting
production. Create branch deployments linked to
each feature branch.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console
Atomic deployments
All deployments either rollout successfully
or fail without requiring maintenance
windows.
Password protection
Share yet-to-be released features with internal
stakeholders by setting a username and
password.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console: Use cases
Blogs or static web apps
Use static site generators like Hugo or
Jekyll to publish a blog. SSGs perform
faster than traditional websites. Deploy
SSGs with free SSL on the AWS Amplify
Console.
Serverless web apps
Add dynamic functionality using GraphQL or
REST APIs. Use AWS Amplify Console to deploy
your frontend and backend in a single workflow.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console: Use cases
Progressive web apps
PWAs offer native app-like performance,
work offline, support push notifications,
and can be updated over-the-air. Use AWS
Amplify to deploy PWAs to mobile devices.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Part of the AWS Amplify family
Developer Tools
Amplify Framework
Cloud Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case: Gatsby-based static website
AWS Amplify Console
• Globally available website frontend
• Easy custom domain setup
• Feature branch deployment
• Atomic deployments
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case: Gatsby-based static website (frontend only)
AWS Cloud
Region
Edge location
Edge location
Bucket with
web assets
(old)
Users
Frontend request
Lambda@
Edge
Bucket with
web assets
(new)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case – Serverless web app
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless web app – Architecture
AWS Cloud
Region
Region
Edge location
Edge location
Bucket with
web assets
Users
1) Frontend request
2) Backend request
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployment approaches
Deploy frontend and backend as a “unit” => Single workflow
• Benefit: Only one workflow to manage
Deploy frontend and backend separately => Different workflows
• Benefit: Ability to share the backend across multiple frontend
versions
• Risk: Version mismatches between frontend and backend
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NEW: Multi-environments and team workflow (Beta)
in the Amplify CLI
- Git-style interaction & project switching
- Share backends between team members or clone for isolated development
User Users
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Part of the AWS Amplify family
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Summary
• Serverless web apps contain multiple moving parts across the frontend
and the backend
• Deploy existing frontends in a few steps using the Amplify Console
• Build serverless backends using the Amplify CLI
• Perform continuous delivery of frontend + backend by pairing the AWS
Amplify Console + Amplify CLI
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get started!
https://amplify.aws
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
12 Marzo 2019 | MiCo - Centro Congressi
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Stefano Sandrini, Solutions Architect @ Amazon Web Services
Mail: stefano@amazon.com
Twitter: @electricste

More Related Content

What's hot

AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
Chris Munns
 
re:Invent 2018: AI/ML Services
re:Invent 2018: AI/ML Servicesre:Invent 2018: AI/ML Services
re:Invent 2018: AI/ML Services
Amazon Web Services
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
Amazon Web Services
 
Serverless Applications with AWS SAM
Serverless Applications with AWS SAMServerless Applications with AWS SAM
Serverless Applications with AWS SAM
Chris Munns
 
Serverless is dead.
Serverless is dead.Serverless is dead.
Serverless is dead.
Chris Munns
 
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Chris Munns
 
Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用
Amazon Web Services
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
AWS Summits
 
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksOverview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Amazon Web Services
 
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
Amazon Web Services
 
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS SummitTwelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Amazon Web Services
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
AWS Summits
 
Deep Dive into Amazon Fargate
Deep Dive into Amazon FargateDeep Dive into Amazon Fargate
Deep Dive into Amazon Fargate
Amazon Web Services
 
Dalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS FargateDalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS Fargate
Amazon Web Services
 
How AWS builds Serverless services using Serverless
How AWS builds Serverless services using ServerlessHow AWS builds Serverless services using Serverless
How AWS builds Serverless services using Serverless
Chris Munns
 
All the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev ServerlessAll the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev Serverless
Chris Munns
 
AWS business essentials
AWS business essentials AWS business essentials
AWS business essentials
Amazon Web Services
 
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
Chris Munns
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWS
Donnie Prakoso
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019
AWS Summits
 

What's hot (20)

AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
 
re:Invent 2018: AI/ML Services
re:Invent 2018: AI/ML Servicesre:Invent 2018: AI/ML Services
re:Invent 2018: AI/ML Services
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
Serverless Applications with AWS SAM
Serverless Applications with AWS SAMServerless Applications with AWS SAM
Serverless Applications with AWS SAM
 
Serverless is dead.
Serverless is dead.Serverless is dead.
Serverless is dead.
 
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
 
Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksOverview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
 
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
AWS Lambda Layers, the Runtime API, & Nested Applications: re:Invent 2018 Rec...
 
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS SummitTwelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
 
Deep Dive into Amazon Fargate
Deep Dive into Amazon FargateDeep Dive into Amazon Fargate
Deep Dive into Amazon Fargate
 
Dalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS FargateDalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS Fargate
 
How AWS builds Serverless services using Serverless
How AWS builds Serverless services using ServerlessHow AWS builds Serverless services using Serverless
How AWS builds Serverless services using Serverless
 
All the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev ServerlessAll the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev Serverless
 
AWS business essentials
AWS business essentials AWS business essentials
AWS business essentials
 
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
Serverless Streams, Topics, Queues, & APIs! Pick the Right Serverless Applica...
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWS
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019
 

Similar to Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console

CI/CD for Modern Applications
CI/CD for Modern ApplicationsCI/CD for Modern Applications
CI/CD for Modern Applications
Amazon Web Services
 
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Chargebee
 
AWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudAWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the Cloud
Cobus Bernard
 
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
Cobus Bernard
 
AWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudAWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the Cloud
Cobus Bernard
 
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Shift Conference
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
Amazon Web Services
 
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSDevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWS
atSistemas
 
CICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdfCICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdf
Amazon Web Services
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
Amazon Web Services
 
Progetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWSProgetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWS
Amazon Web Services
 
CICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdfCICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdf
Amazon Web Services
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
Amazon Web Services
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
Amazon Web Services
 
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
Amazon Web Services
 
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about serversServerless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
Amazon Web Services
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...
Amazon Web Services
 
Core services
Core servicesCore services
Core services
Richard Harvey
 
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
Amazon Web Services
 
How to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStarHow to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStar
Amazon Web Services
 

Similar to Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console (20)

CI/CD for Modern Applications
CI/CD for Modern ApplicationsCI/CD for Modern Applications
CI/CD for Modern Applications
 
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
 
AWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudAWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the Cloud
 
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
 
AWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudAWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the Cloud
 
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSDevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWS
 
CICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdfCICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdf
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
 
Progetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWSProgetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWS
 
CICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdfCICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdf
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
 
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about serversServerless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...
 
Core services
Core servicesCore services
Core services
 
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
 
How to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStarHow to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStar
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Online Tech Talks La serie di webinar AWS in Italiano Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console Speaker Stefano Sandrini Solutions Architect, AWS Obiettivi § Fornire una panoramica del servizio AWS Amplify Console § Fornire linee guida sullo sviluppo e la distribuzione di applicativi web moderni integrando AWS Amplify Console e Amplify Framework § Mostrare tecniche di continuous integration / continuous deployment semplificato, gestito e orchestrato § Fornire esempi di hosting globale e altamente disponibile per use case tipici
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What’s covered in this session • An overview of the AWS Amplify Console service • Guidelines on the development and distribution of modern mobile web applications by integrating AWS Amplify Console and Amplify Framework • Simplified, managed and orchestrated continuous integration / continuous deployment techniques • Examples of global and highly available hosting for typical use case
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Modern Web Applications • Traditional client-server web architectures led to poor experiences Every button click required a roundtrip to the server, re-rendering the entire application every time • Modern Web Applications are created as Single Page Applications (SPA) Package all application’s components into static files • Native app-like experience Frontend served efficiently as prebuilt HTML and Javascript files , can invoke backend functionalities asynchronously without reloading the page. • Functionality spread across multiple places and resources Static frontend and assets, backend business logic, database, authentication services
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Modern Web App architecture AWS Cloud Region Region Edge location Edge location Bucket with web assets Users 1) Frontend request 2) Backend request
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. “Full stack” DevOps approach for Web apps • Strong isolation barrier between projects and stages Dedicated AWS stack for each project and stage (sandbox, staging, prod) • Source code (and history) for each stage readily available Git branching used for the source code for each stage • Minimize version mismatches between frontend and backend Frontend (e.g., code) and backend (e.g., AWS CloudFormation templates) developed and versioned together in same Git repository • Developers in control => Developers deploy frontend *and* backend
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. DevOps requirements for modern Web apps - Recognize that there may be coupling between frontend and backend - Share backends between team members or clone for isolated development Web app per dev sandbox Test Web app Prod Web app Isolated backends Shared backend
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. DevOps challenges with modern Web apps Lots of moving parts complicate the following:
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. NEW: Introducing the AWS Amplify Console Build, deploy, and host cloud-powered modern web apps Optional deployment of backend resources + fully managed frontend hosting
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Amplify Console Globally available Your app is served via AWS’s reliable content delivery network with 144 points of presence globally. Easy custom domain setup Set up custom domains managed in Amazon Route 53 with a single click plus get a free HTTPS certificate.
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Amplify Console Simplified continuous workflows Connect your repository to 'git push' changes to your frontend and backend in a single workflow. Feature branch deployments Work on new features without impacting production. Create branch deployments linked to each feature branch.
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Amplify Console Atomic deployments All deployments either rollout successfully or fail without requiring maintenance windows. Password protection Share yet-to-be released features with internal stakeholders by setting a username and password.
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Amplify Console: Use cases Blogs or static web apps Use static site generators like Hugo or Jekyll to publish a blog. SSGs perform faster than traditional websites. Deploy SSGs with free SSL on the AWS Amplify Console. Serverless web apps Add dynamic functionality using GraphQL or REST APIs. Use AWS Amplify Console to deploy your frontend and backend in a single workflow.
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Amplify Console: Use cases Progressive web apps PWAs offer native app-like performance, work offline, support push notifications, and can be updated over-the-air. Use AWS Amplify to deploy PWAs to mobile devices.
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Part of the AWS Amplify family Developer Tools Amplify Framework Cloud Services
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use case: Gatsby-based static website AWS Amplify Console • Globally available website frontend • Easy custom domain setup • Feature branch deployment • Atomic deployments
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use case: Gatsby-based static website (frontend only) AWS Cloud Region Edge location Edge location Bucket with web assets (old) Users Frontend request Lambda@ Edge Bucket with web assets (new)
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18.
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use case – Serverless web app
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless web app – Architecture AWS Cloud Region Region Edge location Edge location Bucket with web assets Users 1) Frontend request 2) Backend request
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployment approaches Deploy frontend and backend as a “unit” => Single workflow • Benefit: Only one workflow to manage Deploy frontend and backend separately => Different workflows • Benefit: Ability to share the backend across multiple frontend versions • Risk: Version mismatches between frontend and backend
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. NEW: Multi-environments and team workflow (Beta) in the Amplify CLI - Git-style interaction & project switching - Share backends between team members or clone for isolated development User Users
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Part of the AWS Amplify family
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 25.
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Summary • Serverless web apps contain multiple moving parts across the frontend and the backend • Deploy existing frontends in a few steps using the Amplify Console • Build serverless backends using the Amplify CLI • Perform continuous delivery of frontend + backend by pairing the AWS Amplify Console + Amplify CLI
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Get started! https://amplify.aws
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 12 Marzo 2019 | MiCo - Centro Congressi
  • 29. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Stefano Sandrini, Solutions Architect @ Amazon Web Services Mail: stefano@amazon.com Twitter: @electricste