More Related Content Similar to Building & Deploying Your First Serverless Application (20) More from Amazon Web Services (20) Building & Deploying Your First Serverless Application1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Building and Deploying Your First Serverless Application
Heeki Park
Sr Consultant, App Architect
AWS Professional Services
AWS Compute Evolved Week
2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Developing a Serverless Application
AWS CodeStar
AWS CodeCommit AWS CodeBuild AWS
Cloudformation
AWS SAM
Amazon API
Gateway
Add()
Lambda Function
/add/x/y
/
GetHelloWorld()
Lambda Function
3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Understanding AWS SAM
Lambda Function
CloudFormation /
SAM
Code.js
Code.py
s3
4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Javascript function
function substract(x,y) {
var result = 0;
result = x – y;
return result;
}
5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Javascript types
“2” !== 2
Number(”2”) === 2
6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Javascript object members
var person = People()
person[‘friend’]
person[’friend’][‘name’]
7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
HTTP GET
HTML/JSON DOCUMENT
Images etc.
8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Lab instructions:
http://bit.ly/serverless-development
9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS