Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft - San Francisco
API Gateways can simplify the work that a developer needs to do to build API based services by helping to standardize authentication and authorization, consumer interfaces, and management needs. With Amazon API Gateway you get all of this and more, including a completely serverless management of your APIs and the ability to host them at almost any scale. You also can get the benefits of the numerous types of APIs that are supported, from pubic to private, REST to Websockets, backed by almost any backend you can think of. In this session we’ll review the powerful capabilities of Amazon API Gateway and how you can get started building awesome APIs.
Speaker: Chris Munns - Principal Developer Advocate, AWS Serverless Applications
12. APIs power all of these:
iPhone
<11 years
iPad
<8 years
iWatch
<4 years
Echo
<4 years
Tesla
Model S
<6 years
Illumina DNA
Sequencer
<4 years
Netflix
Streaming
~11 years
Airbnb
~10 years
Uber
<9 years
Square
<9 years
Amazon
Prime
~13 years
Slack
< years
*Ages might be slightly off
46. Metrics and logging are a universal right!
CloudWatch Logs:
• API Gateway Logging
• 2 Levels of logging, ERROR and INFO
• Optionally log method request/body content
• Set globally in stage, or override per method
• Lambda Logging
• Logging directly from your code with your language’s
equivalent of console.log()
• Basic request information included
• Log Pivots
• Build metrics based on log filters
• Jump to logs that generated metrics
• Export logs to AWS ElastiCache or S3
• Explore with Kibana or Athena/QuickSight