Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
112 views

Builders Online Series: Deploy Your First Web Application in Minutes

The document discusses different options for deploying and hosting web applications on AWS, including AWS Amplify Console, Amazon Lightsail, and AWS Elastic Beanstalk. It provides information on what each service offers and when each would be suitable, such as AWS Amplify Console being good for static websites and front end apps, Amazon Lightsail offering low-cost virtual servers, and AWS Elastic Beanstalk allowing users to upload code and letting AWS handle deployment, scaling, and maintenance.

Uploaded by

Jesudass James
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views

Builders Online Series: Deploy Your First Web Application in Minutes

The document discusses different options for deploying and hosting web applications on AWS, including AWS Amplify Console, Amazon Lightsail, and AWS Elastic Beanstalk. It provides information on what each service offers and when each would be suitable, such as AWS Amplify Console being good for static websites and front end apps, Amazon Lightsail offering low-cost virtual servers, and AWS Elastic Beanstalk allowing users to upload code and letting AWS handle deployment, scaling, and maintenance.

Uploaded by

Jesudass James
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

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

• Static websites & front end apps


• Virtual Private Servers
• Fully managed application and database servers

© 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

1. Connect your repository 2. Configure build settings 3. Deploy your app

© 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

Launch Manage Grow


Get started in minutes Intuitive global console Easily scale your ideas

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?

Amazon Lightsail Amazon Elastic Compute Cloud


(Amazon EC2)
Small-scale, multi-tier apps Large, multi-tier applications
(several dozens of instances)
Websites
Web apps Anything requiring instances that are workload-
optimized, highly configurable, or resource-
Testing environment
intensive
E.g., big data analytics, high performance computing, scientific computing
Line-of-business software

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.

Lightsail provides you with -


* Virtual Server
* Managed Databases - MySQL and PostgreSQL
* Load Balancers
* High Availability Storage - SSD backed
* Powerful API - to configure your servers from console, API or CLI.”
- neelabh-tripathi-66411623

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Lightsail has many preconfigured templates
Operating Systems

Get your server


up and running in
minutes with click- Applications

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?

…and design for high availability?

…and scale dynamically?

…and deploy new application versions safely?

…and keep my run-time updated?

…and keep my OS patched?

…and monitor application health?

© 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

Storage: Amazon S3, Amazon Elastic File System (EFS)

Network: Classic Load Balancer, Application Load Balancer, Network Load Balancer,
Security Groups, Amazon Virtual Private Cloud (Amazon VPC)

Database: Amazon Relational Database Service (Amazon RDS), Amazon DynamoDB,


Amazon Aurora

Management: AWS Auto Scaling, AWS CloudFormation, AWS Systems Manager,


Amazon CloudWatch

© 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…

 Infrastructure provisioning  OS and runtime updates


 Auto scaling configurations  Application deployments
 Network and security configurations  Application health monitoring
 Load balancing configurations  Application analysis & debugging tools

… at no additional cost

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk runtime support

AWS Elastic Beanstalk


supports the most popular
runtimes for web applications,
as well as Docker images

AWS Elastic Beanstalk also


supports custom platforms
and custom images

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk platforms

Applications run on the Your app

AWS Elastic Beanstalk platform


HTTP Server

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

Configure & provision Deploy Monitor & manage

© 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

All at once Immutable


Fastest. May result in small amount of Slower deployment that ensures your new
downtime. application version is deployed to new virtual
machines. Makes rollbacks quick and safe.
Rolling
Avoids downtime, minimizes reduced
availability. Slightly longer deploy times.
Traffic splitting
Canary testing deployments. Direct a portion
of traffic to the new application version while
Rolling with additional batch monitoring health.
Avoids any reduced availability. Longer
deployment times.

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

System level metrics


CPU utilization

Memory & disk usage

Service level metrics


Serving request (2xx)

Errors & failures (4xx, 5xx)

Latency

Application specific metrics

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automated platform updates

Enabled by default

Applies latest OS and runtime


security patches, fixes, minor
updates

Configurable maintenance
windows

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Prefer the command line? Use the eb CLI!

Create your AWS Elastic Beanstalk app


$ eb init

Create the resources and launch the application


$ eb create

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

AWS Amazon AWS


Amplify Console Lightsail Elastic Beanstalk

Global content delivery network Simple server setup Fast and simple to begin

Effortless CI / CD Click-to-launch OS & applications Automatic scaling built-in


Managed environments for many
Perfect for static websites and apps Plans starting at $3.50 per month popular platforms and languages

© 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

Amazon Workshop: Deploying and Scaling Applications with Amazon Lightsail


Lightsail https://lightsailworkshop.com/

AWS AWS Elastic Beanstalk Getting Started Resources


Elastic Beanstalk https://aws.amazon.com/elasticbeanstalk/getting-started/

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

You might also like