SlideShare a Scribd company logo
Fundamentals Treatment of
Web Application Frameworks
• Web app Architecture, also known as web app
map, is the framework that provides relationship
and interaction together between user and server.
In a nutshell, the process flow usually begins with
the user looking for a URL, after which the browser
initiates a search.
• The network delivers data from the server to the
browser as a result of the search, and the browser
shows the page that was requested.
• Modern web app architecture, to put it simply,
consists of multiple components and external apps.
Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production
Features of Web Application Architecture
1- Scalability – The horizontal scaling of web apps is
another factor that is counted in the architecture. It
includes several servers and regions in order to
manage the potential traffic or any sort of
fluctuations. As a result,
strategies for cloud migration services are becoming
a major focus in terms of bandwidth proportion.
2- Security – The vulnerability of a web app is not a
hidden fact and hence it makes security even more
important. Not only this, malicious code
manipulation is the biggest concern in terms of
facing cyber security. It is vital to protect the app to
keep the data secure as per the Government laws.
• Create a web app
• Connect the web app to a serverless
back-end
• Add interactivity to your web app with
an API and a database
THE THREE MAJOR STEPS IN CREATING WEB APPLICATION IN AWS ARE:
BUILDING WEB APPLICATIONS IN AWS
AWS Amplify is an open source JavaScript library provided by
Amazon Web Services (AWS) that enables developers to build
applications with cloud services on web or mobile platforms.
AWS Amplify aims to both enable apps to scale via cloud
services and accelerate them to production.
Amazon API Gateway is an Amazon Web Services (AWS)
feature that enables developers to connect non-AWS
applications to AWS back-end resources, such as servers and
code. The gateway increases AWS customers' access to
compatible applications and the overall utility of Amazon's
other cloud services. An AWS user creates, manages and
maintains APIs within the Amazon API Gateway.
AWS Lambda lets you run code without provisioning or
managing servers. You pay only for the compute time you
consume - there is no charge when your code is not
running. With Lambda, you can run code for virtually any
type of application or backend service - all with zero
administration.
Amazon DynamoDB is a fully managed NoSQL database
service that provides fast and predictable performance
with seamless scalability. DynamoDB also offers
encryption at rest, which eliminates the operational
burden and complexity involved in protecting sensitive
data. DynamoDB uses hashing and B-trees to manage
data.
Create a webapp with amplify console(editor in aws)
1.Open your favorite text editor on your computer. Create a
new file and paste the following HTML in it:
<!DOCTYPE html> <html>
<head>
<meta charset="UTF-8">
<title>Hello World</title>
</head> <body>
Hello World </body>
</html>
2. Save the file as index.html.
3. ZIP (compress) only the HTML file.
4. In a new browser window, log into the Amplify Console.
5. Under Host Your Web App click the orange "Get
Started" button.
6. Select Deploy without Git provider. This is what you
should see on the screenGitHub is a code hosting
platform for collaboration and version control. GitHub
lets you (and others) work together on projects.)
Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production
Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production
Test your web app
• 1. Click on Domain Management in the left
side menu.
• 2. Copy and paste the URL displayed in the
form into your browser.
• 3. Your web app will load in a new browser tab
and render "Hello World." Congratulations!
• No we write a small piece of code, in Python, JavaScript, or
Java, to be used in a later module to add interactivity to your
web page.
• You will use the AWS Lambda service, a compute service
that allows us to create server less functions. (A "server less
function" eliminates the need for software and hardware
management by the developer. Instead, applications are
broken up into individual functions that can be invoked and
scaled individually.)
• These server less functions are triggered based on a specific
event you will define in the code.
• It is also a very affordable service, since you are only
charged for the number of events you process, not the idle
time.
• Best of all, you do not have to worry about managing any
servers!
• Server-less function: It is a Piece of code that
will be executed by a compute service, on-
demand.
• Lambda Trigger : The type of event that will
make a Lambda (server-less) function run. This
can be another AWS service or an external
input.
• In a new browser tab, log into the
AWS Lambda Console.
• You can see this at the very top of the page, next to
your account name.
• Click on the orange "Create Function" button.
• Under "Function Name" type in HelloWorldFunction.
• Select Python 3.8 from the runtime drop-down.
Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production
6. Click on the orange "Create Function" button.
7. You should see a green box at the top of your screen with
the following message "Successfully created the function."
8. Replace the code under "Function Code" with the following:
# import the JSON utility package since we will be working
with a JSON object import json
# define the handler function that the Lambda service will
use an entry point
def lambda_handler(event, context): # extract values from
the event object we got from the Lambda service
name = event['firstName'] +' '+ event['lastName']
# return a properly formatted JSON object
return { 'statusCode': 200, 'body': json.dumps('Hello from
Lambda, ' + name)
9. Click the orange "Save" button at the top of
your screen.
10. Let's test our new function. Click on "Select a
test event" at the top of your screen.
11. From that drop-down menu click on
"Configure test events."
12. Under "Event Name"
type HelloWorldTestEvent.
13. Copy and paste the following JSON object to
replace the default one:
{ "firstName": "Ada", "lastName":
“Bob" }
14. Click the orange "Create" button a the
bottom of the page.
(JSON stands for Javascript Object Notation. JSON is a
Final Steps
• Link server-less function to webapp
• Add interactive function to web app.
Ad

More Related Content

Similar to Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production (18)

A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
Ioannis Polyzos
 
AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)
Ashish Kushwaha
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
SmartWave
 
Deploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdfDeploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless Edition
ecobold
 
Ibm xamarin gtruty
Ibm xamarin gtrutyIbm xamarin gtruty
Ibm xamarin gtruty
Ron Favali
 
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdfGreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
Dhaval Nagar
 
Google App Engine - Overview #3
Google App Engine - Overview #3Google App Engine - Overview #3
Google App Engine - Overview #3
Kay Kim
 
Cloud Computing Complete lecture Notes CCII.pptx
Cloud Computing Complete lecture Notes  CCII.pptxCloud Computing Complete lecture Notes  CCII.pptx
Cloud Computing Complete lecture Notes CCII.pptx
FaizanAnsari379088
 
Third party cloud services cloud computing
Third party cloud services cloud computingThird party cloud services cloud computing
Third party cloud services cloud computing
SohailAliMalik
 
Connecting Xamarin Apps with IBM Worklight in Bluemix
Connecting Xamarin Apps with IBM Worklight in BluemixConnecting Xamarin Apps with IBM Worklight in Bluemix
Connecting Xamarin Apps with IBM Worklight in Bluemix
IBM
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
WebStackAcademy
 
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
AWS Summits
 
Serverless architectures-with-aws-lambda
Serverless architectures-with-aws-lambdaServerless architectures-with-aws-lambda
Serverless architectures-with-aws-lambda
saifam
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Elana Krasner
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
Ioannis Polyzos
 
AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)
Ashish Kushwaha
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
SmartWave
 
Deploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdfDeploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless Edition
ecobold
 
Ibm xamarin gtruty
Ibm xamarin gtrutyIbm xamarin gtruty
Ibm xamarin gtruty
Ron Favali
 
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdfGreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
Dhaval Nagar
 
Google App Engine - Overview #3
Google App Engine - Overview #3Google App Engine - Overview #3
Google App Engine - Overview #3
Kay Kim
 
Cloud Computing Complete lecture Notes CCII.pptx
Cloud Computing Complete lecture Notes  CCII.pptxCloud Computing Complete lecture Notes  CCII.pptx
Cloud Computing Complete lecture Notes CCII.pptx
FaizanAnsari379088
 
Third party cloud services cloud computing
Third party cloud services cloud computingThird party cloud services cloud computing
Third party cloud services cloud computing
SohailAliMalik
 
Connecting Xamarin Apps with IBM Worklight in Bluemix
Connecting Xamarin Apps with IBM Worklight in BluemixConnecting Xamarin Apps with IBM Worklight in Bluemix
Connecting Xamarin Apps with IBM Worklight in Bluemix
IBM
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
WebStackAcademy
 
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
AWS Summits
 
Serverless architectures-with-aws-lambda
Serverless architectures-with-aws-lambdaServerless architectures-with-aws-lambda
Serverless architectures-with-aws-lambda
saifam
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Elana Krasner
 

Recently uploaded (20)

π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Ad

Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production

  • 1. Fundamentals Treatment of Web Application Frameworks
  • 2. • Web app Architecture, also known as web app map, is the framework that provides relationship and interaction together between user and server. In a nutshell, the process flow usually begins with the user looking for a URL, after which the browser initiates a search. • The network delivers data from the server to the browser as a result of the search, and the browser shows the page that was requested. • Modern web app architecture, to put it simply, consists of multiple components and external apps.
  • 4. Features of Web Application Architecture 1- Scalability – The horizontal scaling of web apps is another factor that is counted in the architecture. It includes several servers and regions in order to manage the potential traffic or any sort of fluctuations. As a result, strategies for cloud migration services are becoming a major focus in terms of bandwidth proportion. 2- Security – The vulnerability of a web app is not a hidden fact and hence it makes security even more important. Not only this, malicious code manipulation is the biggest concern in terms of facing cyber security. It is vital to protect the app to keep the data secure as per the Government laws.
  • 5. • Create a web app • Connect the web app to a serverless back-end • Add interactivity to your web app with an API and a database THE THREE MAJOR STEPS IN CREATING WEB APPLICATION IN AWS ARE: BUILDING WEB APPLICATIONS IN AWS
  • 6. AWS Amplify is an open source JavaScript library provided by Amazon Web Services (AWS) that enables developers to build applications with cloud services on web or mobile platforms. AWS Amplify aims to both enable apps to scale via cloud services and accelerate them to production. Amazon API Gateway is an Amazon Web Services (AWS) feature that enables developers to connect non-AWS applications to AWS back-end resources, such as servers and code. The gateway increases AWS customers' access to compatible applications and the overall utility of Amazon's other cloud services. An AWS user creates, manages and maintains APIs within the Amazon API Gateway.
  • 7. AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB also offers encryption at rest, which eliminates the operational burden and complexity involved in protecting sensitive data. DynamoDB uses hashing and B-trees to manage data.
  • 8. Create a webapp with amplify console(editor in aws) 1.Open your favorite text editor on your computer. Create a new file and paste the following HTML in it: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Hello World</title> </head> <body> Hello World </body> </html>
  • 9. 2. Save the file as index.html. 3. ZIP (compress) only the HTML file. 4. In a new browser window, log into the Amplify Console. 5. Under Host Your Web App click the orange "Get Started" button. 6. Select Deploy without Git provider. This is what you should see on the screenGitHub is a code hosting platform for collaboration and version control. GitHub lets you (and others) work together on projects.)
  • 12. Test your web app • 1. Click on Domain Management in the left side menu. • 2. Copy and paste the URL displayed in the form into your browser. • 3. Your web app will load in a new browser tab and render "Hello World." Congratulations!
  • 13. • No we write a small piece of code, in Python, JavaScript, or Java, to be used in a later module to add interactivity to your web page. • You will use the AWS Lambda service, a compute service that allows us to create server less functions. (A "server less function" eliminates the need for software and hardware management by the developer. Instead, applications are broken up into individual functions that can be invoked and scaled individually.) • These server less functions are triggered based on a specific event you will define in the code. • It is also a very affordable service, since you are only charged for the number of events you process, not the idle time. • Best of all, you do not have to worry about managing any servers!
  • 14. • Server-less function: It is a Piece of code that will be executed by a compute service, on- demand. • Lambda Trigger : The type of event that will make a Lambda (server-less) function run. This can be another AWS service or an external input.
  • 15. • In a new browser tab, log into the AWS Lambda Console. • You can see this at the very top of the page, next to your account name. • Click on the orange "Create Function" button. • Under "Function Name" type in HelloWorldFunction. • Select Python 3.8 from the runtime drop-down.
  • 17. 6. Click on the orange "Create Function" button. 7. You should see a green box at the top of your screen with the following message "Successfully created the function." 8. Replace the code under "Function Code" with the following: # import the JSON utility package since we will be working with a JSON object import json # define the handler function that the Lambda service will use an entry point def lambda_handler(event, context): # extract values from the event object we got from the Lambda service name = event['firstName'] +' '+ event['lastName'] # return a properly formatted JSON object return { 'statusCode': 200, 'body': json.dumps('Hello from Lambda, ' + name)
  • 18. 9. Click the orange "Save" button at the top of your screen. 10. Let's test our new function. Click on "Select a test event" at the top of your screen. 11. From that drop-down menu click on "Configure test events." 12. Under "Event Name" type HelloWorldTestEvent. 13. Copy and paste the following JSON object to replace the default one: { "firstName": "Ada", "lastName": “Bob" } 14. Click the orange "Create" button a the bottom of the page. (JSON stands for Javascript Object Notation. JSON is a
  • 19. Final Steps • Link server-less function to webapp • Add interactive function to web app.