This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
• Memory: CPU proportional to the memory configured
• Increasing memory makes your code execute faster (if CPU bound)
• Timeout: Increasing timeout allows for longer functions, but more wait in case of errors
• Retries: For API Gateway, Lambda doesn’t retry the function execution, but the
Gateway generated SDKs retry throttled requests
• Permission model: API Gateway synchronously triggers Lambda, so assign API
Gateway a resource policy to invoke Lambda.
Monitoring and Debugging Lambda functions
• Console Dashboard• Lists all Lambda functions• Easy editing of resources,
event sources and other settings
• At-a-glance metrics
• Metrics in CloudWatch• Requests• Errors• Latency• Throttles
• Logging in CloudWatch Logs
Using API Gateway Input/Output Transforms
Filter output results• Remove private or unnecessary data• Filter dataset size to improve API
performance
GET to POST• Read all query string parameters from your
GET request, and create a body to make a POST to your backend
JSON to XML• Receive JSON input and transform it to XML
for your backend• Receive JSON from a Lambda function and
transform it to XML
Managing different versions of your API stack
• Operate multiple API versions and multiple stages for each version simultaneously
• Clone an existing API to start working on the next major version
• Set up custom domain names to point directly to a stage
• Version Lambda functions, and associate API stage with Lambda function version alias
COMING SOON!
Three Next Steps
1. Create and test your first API. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services.
2. Create and test your first Lambda function. With AWS Lambda, there are no new languages, tools, or frameworks to learn. You can use any third party library, even native ones.
3. Select Lambda as your backend for your API … This gives you an endpoint for your function which can respond to REST calls like GET, PUT and POST without managing any servers.
Thank you!
Visit http://aws.amazon.com/api-gateway, the AWS blog, and the API Gateway forum to learn more and get started using API Gateway.
Visit http://aws.amazon.com/lambda, the AWS Compute blog, and the Lambda forum to learn more and get started using Lambda.
AWS re:Invent 2015 – October 6-9AWS re:Invent is the largest annual gathering of the global cloud community. Whether you are an existing customer or new to the cloud, AWS re:Invent will provide you with the knowledge and skills to refine your cloud strategy, improve developer productivity, increase application performance and security, and reduce infrastructure costs.
Though AWS re:Invent tickets are sold out, you can still register to view the Live Stream Broadcasts of the keynote addresses and select technical sessions on October 7 and October 8. Register now.
Details:Wednesday, October 79:00am - 10:30am PT: Andrew Jassy, Sr. Vice President, AWS11:00am - 5:15pm PT: 5 of the most popular breakout sessions (to be announced)
Thursday, October 89:00am - 10:30am PT: Dr. Werner Vogels, CTO, Amazon11:00am - 6:15pm PT: 6 of the most popular breakout sessions (to be announced)
Register now for the Live Stream Broadcast by submitting your email where prompted on the AWS re:Invent home page.
Stay Connected: Follow event activities on Twitter @awsreinvent (#reinvent), or like us on Facebook.