0% found this document useful (0 votes)
12 views35 pages

PDF Slide Deploying Your First Web App in Minutes

The document outlines various AWS services for deploying web applications, including AWS Amplify Console for static websites, Amazon Lightsail for virtual private servers, and AWS Elastic Beanstalk for managed application servers. It emphasizes the ease of use, scalability, and low management overhead of these services. Additionally, it provides links to resources for further learning and encourages feedback on the event.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views35 pages

PDF Slide Deploying Your First Web App in Minutes

The document outlines various AWS services for deploying web applications, including AWS Amplify Console for static websites, Amazon Lightsail for virtual private servers, and AWS Elastic Beanstalk for managed application servers. It emphasizes the ease of use, scalability, and low management overhead of these services. Additionally, it provides links to resources for further learning and encourages feedback on the event.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

AWS Builders Online Series

Deploying your first web app


in minutes
Derek Bingham
Senior Developer Advocate
Amazon Web Services
@deekob

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The best ways to get started

• Static websites and front end apps

• Virtual private servers

• Fully managed application and database servers

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Static websites & front
end web apps

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

© 2023, 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 Use static site generators (SSG) like Add dynamic functionality to your
performance, work offline, support push Gatsby, Hugo, or Jekyll to publish a static web app using GraphQL or REST
notifications, and can be updated over- blog. SSGs perform faster than APIs. Use AWS Amplify Console to
the-air. Use AWS Amplify to deploy traditional websites. Deploy SSGs with deploy your front end and backend in a
PWAs to mobile devices. AWS Amplify from the AWS console. single workflow

© 2023, 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' All deployments either roll out Work on new features without impacting
changes to your frontend and successfully or fail without production. Create branch deployments
backend in a single workflow requiring maintenance windows linked to each feature branch

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amplify Console gives you fast and easy hosting

Worldwide hosting, on our domain or yours

Your app is served via Amazon's Set up custom domains managed in Share yet-to-be released features
reliable content delivery network Amazon Route 53 with a single click, with internal stakeholders by setting
with hundreds of points of presence plus get a free HTTPS certificate a username and password
around the world

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting started with
AWS Amplify Console

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Amplify Console

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual private servers

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Lightsail ?

The easiest way to get started


on AWS at a low, predictable price

Virtual servers Object storage Managed Networking Containers


databases

© 2023, 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

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
When to choose Amazon Lightsail?

Amazon Lightsail Amazon Elastic Compute Cloud (EC2)


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

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

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Operating
Systems

Applicati
ons

Stac
ks

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Managed application
servers

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

© 2023, 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?

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Here are the options
Compute: Amazon EC2, AWS Lambda, Amazon Elastic Container Service (ECS),
Amazon Elastic Kubernetes Service (EKS), Amazon Lightsail, AWS Fargate

Storage: Amazon Simple Storage Service (S3), Amazon Elastic File Service (EFS)

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

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


Amazon Aurora

Management: Amazon EC2 Auto Scaling, AWS CloudFormation,


AWS Systems Manager, Amazon CloudWatch

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

© 2023, 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

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

Elastic Beanstalk deploys your Your app

app with the right runtime (e.g. Beanstalk Environment

Java) and platform components HTTP Server

Language Application
Platform
Elastic Beanstalk manages the Interpreter Server managed and
platform to ensure all updated by
components work seamlessly Operating System Elastic Beanstalk
together
EC2 Instance

Web server instance

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

Configure & Provision Deploy Monitor & Manage

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Low management overhead

Automated app Automated App health


deployments platform updates monitoring
• Safely deploys app updates • Keeps the operating system • Summarizes app health based
while monitoring app health and runtime updated with on multiple inputs
latest patches and updates
• Choose from all-at-once, • Monitors HTTP error rates &
rolling, traffic splitting or • Reduces update costs by request/response latency
blue/green deployments $100/server/yr. vs. manually
applied updates • Monitors resource usage (CPU,
• Durably stores each app network, memory)
version to S3 for easy rollback • Monthly releases of new
platform updates • Logs health events

• Configurable update schedule • Sends notifications based on


user-defined thresholds

© 2023, 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

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Summary

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS is a great place to run your web apps

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 & • Automatic scaling built-in
• Perfect for static websites and applications • Managed environments for
apps • Plans starting at $3.50 per many popular platforms and
month languages

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where to learn more?

AWS Amplify Amplify Console User Guide


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 Elastic AWS Elastic Beanstalk Getting Started Resources


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

© 2023, 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 The fastest and easiest way to
WebSocket APIs provisioning any servers develop web apps that scale.

Databases Fully managed relational Fast and flexible NoSQL MySQL / PostgreSQL Store any amount of data
& Storage databases
MySQL/PostgreSQL/Oracle/
database for any scale.
Serverless option available.
compatible database with 3
to 5x performance.
from anywhere. Great for
uploads and static content.
Microsoft SQL Server Serverless option available.

Containers Highly available, secure, and Run containers without Fully managed container Run Kubernetes on AWS without
scalable load balancing. needing to provision and orchestration with deep installing, operating, and maintaining
manage servers. AWS integration. your own Kubernetes control plane.

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS TRAINING & CERTIFICATION
Access 500+ Free Digital Courses
with AWS Skill Builder
Focus on the cloud skills and services that are most relevant
to you across 30+ AWS solutions, including digital self-
paced learning plans and Ramp-Up Guides.

• Build your future in the AWS Cloud at your own pace


• Advance your skills and knowledge with learning plans
• Validate your cloud expertise with AWS Certification

LEARN YOUR WAY EXPLORE.SKILLBUILDER.AWS »

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
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.

[email protected]
twitter.com/AWSCloud

facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices

linkedin.com/company/amazon-web-services
twitch.tv/aws

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Derek Bingham
Senior Developer Advocate
Amazon Web Services

@deekob

© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.

You might also like