Builders Online Series: Deploy Your First Web Application in Minutes
Builders Online Series: Deploy Your First Web Application in Minutes
Gabe Hollombe
Senior Developer Advocate,
Amazon Web Services
@gabehollombe
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Great ways to get started with deploying
your web apps on AWS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console
Host your static websites and
front end app on AWS in just a few clicks
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console is great for static content
Perfect for static websites, or serverless web apps
PWAs offer native app-like performance, work Use static site generators (SSG) like Gatsby, Add dynamic functionality to your static web
offline, support push notifications, and can be Hugo, or Jekyll to publish a blog. SSGs perform app using GraphQL or REST APIs. Use AWS
updated over-the-air. Use AWS Amplify to faster than traditional websites. Deploy SSGs Amplify Console to deploy your front end and
deploy PWAs to mobile devices. with AWS Amplify from the AWS console. backend in a single workflow.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console makes CI/CD easy
Powerful CI/CD features
Connect your repository to 'git push' changes to All deployments either roll out successfully or Work on new features without impacting
your frontend and backend in a single fail without requiring maintenance windows. production. Create branch deployments linked
workflow. to each feature branch.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console gives you fast and easy hosting
Worldwide hosting, on our domain or yours
Your app is served via Amazon's reliable Set up custom domains managed in Amazon Share yet-to-be released features with internal
content delivery network with hundreds of Route 53 with a single click, plus get a free stakeholders by setting a username and
points of presence around the world. HTTPS certificate. password.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What people are saying: AWS Amplify Console
“I'm a huge fan of Amplify hosting, it's AWS best kept secret.”
“Been using @AWSAmplify for the last couple of months on a personal projects and I
couldn't be more happier. The DX only keeps getting better and the Amplify Console is
beautiful.”
“Big shout out to #AWS #Amplify for making #continuous #delivery and #release of
mobile and web #apps so freaking easy it’s unbelievable. Highly recommended.”
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console – How it works
How it works
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lightsail
Virtual servers, storage, databases,
and networking for a low, predictable price
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lightsail: Cloud made easy
Low, predictable pricing Robust API and CLI Access other AWS services
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
When to choose Amazon Lightsail?
Advanced networking
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lightsail is great for…
Simple web applications
Pre-configured development stacks for LAMP, Nginx, MEAN, and Node.js.
Websites
Pre-configured click-to-install applications including WordPress, Magento, Plesk, and Joomla.
Business software
Quickly launch your line-of-business software like file sharing and storage, backups, financial
and accounting software, and more.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What people are saying: Amazon Lightsail
“Finally tried AWS Ligthsail [sic]. Lightsail has the friendly fixed pricing to start small and fast. Plans starting at
$3.50 per month! Also, many easy one click-to-launch OS and Apps, e.g. Gitlabs CE.”
“#AWS #Lightsail great VPS on Amazon Web service. Plans starting at $3.50 per month #AWSome”
“If you are using AWS EC2 instances for your workload and want to reduce the monthly bill, consider using AWS
Lightsail. It can reduce the cost significantly compared to similar on-demand EC2 instance configuration.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lightsail has many preconfigured templates
Operating Systems
to-install OS,
application, and
developer stacks
Stacks
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk
Upload your code and let AWS handle the
deployment, load balancing, and scaling
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Growing beyond a Virtual Private Server
How do I migrate my web application to the cloud?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS has a lot of options
Compute: Amazon EC2, AWS Lambda, Amazon Elastic Container Service (ECS),
Amazon Elastic Kubernetes Service (EKS), Amazon Lightsail, AWS Fargate
Network: Classic Load Balancer, Application Load Balancer, Network Load Balancer,
Security Groups, Amazon Virtual Private Cloud (Amazon VPC)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
But is there just one service I can use to host my
web application?
Yes
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk
A single service for web applications that automatically handles…
… at no additional cost
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk runtime support
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk platforms
Elastic Beanstalk
managed by
12 different platform options Application Server
based on OS and runtime
Language Interpreter
Operating System
Ensures all of the components are
working seamlessly together EC2 Host
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What people are saying: AWS Elastic Beanstalk
Prezi moved two of its most critical back-end services to AWS Elastic Beanstalk, which
deploys and scales web applications and services automatically. This lets Prezi’s developers
worry less about managing infrastructure.
- AWS Prezi Case Study
“Using AWS Elastic Beanstalk, the transformation to AWS was incredibly easy”
- Ron Rejwan, Cofounder, Jelly Button Games
“Elastic Beanstalk handles that extra demand, and when our demand goes down, our
environment scales down as well — we’re not stuck with datacenter equipment to
depreciate”
- Geoff Clitheroe, GeoNet Development Manager, GNS Science
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk workflows
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Options for deploying applications
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Health monitoring
Latency
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automated platform updates
Enabled by default
Configurable maintenance
windows
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Prefer the command line? Use the eb CLI!
Deploy updates
$ eb deploy
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Summary
Static website / App hosting Virtual Private Servers Managed application servers
Global content delivery network Simple server setup Fast and simple to begin
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where to learn more
AWS AWS Amplify Console User Guide
Amplify Console https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Other options for web apps on AWS
Serverless
"Front door" for HTTP & Run code without provisioning The fastest and easiest way to
WebSocket APIs any servers develop web apps that scale.
Databases &
Storage
Fully managed relational databases Fast and flexible NoSQL database for MySQL / PostgreSQL compatible Store any amount of data from
MySQL/PostgreSQL/Oracle/ any scale. Serverless option available. database with 3 to 5x performance. anywhere. Great for uploads and
Microsoft SQL Server Serverless option available. static content.
Containers
Highly available, secure, and scalable Run containers without needing to Fully managed container Run Kubernetes on AWS without
load balancing. provision and manage servers. orchestration with deep AWS installing, operating, and maintaining
integration. your own Kubernetes control plane.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Digital Training
Featured Courses
• AWS Cloud Practitioner Essentials (Second Edition)
Learn the fundamentals of the AWS Cloud and prepare for the AWS
Certified Cloud Practitioner exam.
• Amazon DynamoDB for Serverless Architectures
An introduction to Amazon DynamoDB and how it’s leveraged in
building a serverless architecture.
• AWS Security Fundamentals
Learn fundamental cloud computing and AWS security concepts,
including AWS access control and management, governance, logging,
Build cloud skills with and encryption methods.
550+ free digital training • Getting Started with Amazon Simple Storage Service (Amazon S3)
courses, or dive deep The course provides you with the knowledge to determine when to use
with classroom training Amazon S3 by reviewing typical use cases and understanding how the
service provides object storage for your applications.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. aws.amazon.com/training
Thank you for attending AWS Builders Online Series
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.
aws-apac-marketing@amazon.com
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
slideshare.net/AmazonWebServices
twitch.tv/aws
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Builders Online Series
Thank you
Gabe Hollombe
@gabehollombe
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.