Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless Framework - AWS Meetup POA

Serverless Framework - AWS Meetup POA

A Quick view about Serverless Framework and its use at Warren Brasil. Presentation held in AWS Meetup POA, in 10/22/19

Avatar for Filipe Oliveira

Filipe Oliveira

October 22, 2019
Tweet

More Decks by Filipe Oliveira

Other Decks in Technology

Transcript

  1. Serverless Framework ⬡ Open Source CLI ⬡ Develop, Test and

    Deploy ⬡ Serverless apps across different cloud providers ⬡ Node, Python, Ruby, Go, F#, C# 7
  2. 14 Simple Queue Service resources: Resources: HubSpotQueue: Type: "AWS::SQS::Queue" Properties:

    QueueName: "HubSpotQueue" VisibilityTimeout: 30 MessageRetentionPeriod: 900 # 15 min
  3. 15 Simple Queue Service functions: processor: handler: src/processor/index.handler timeout: 900

    reservedConcurrency: 15 vpc: ${self:custom.${self:provider.stage}.vpc} events: - sqs: arn: Fn::GetAtt: - HubSpotQueue - Arn batchSize: 10
  4. 18

  5. 19

  6. 23 Lambda’s size can impact: ⬡ S3 Storage Pricing ⬡

    Cold start time ⬡ Deploy Duration https://read.acloud.guru/does-coding- language-memory-or-package-size-a ffect-cold-starts-of-aws-lambda-a15 e26d12c76