Skip to content

Commit

Permalink
Switch lambda-sqs-worker template to ARM64
Browse files Browse the repository at this point in the history
These are a bit cheaper and a bit faster than the x86 Lambdas:
<https://aws.amazon.com/blogs/aws/aws-lambda-functions-powered-by-aws-graviton2-processor-run-your-functions-on-arm-and-get-up-to-34-better-price-performance/>

The underlying Lambda architecture should be invisible to typical
TypeScript Lambdas. Indirect Apply has switched over all of their
Lambdas, only encountering difficulty with
DataDog/serverless-plugin-datadog#184
  • Loading branch information
etaoins committed Nov 3, 2021
1 parent 1e01ec3 commit 2d85f7a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .changeset/clever-masks-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'skuba': minor
---

**template/lambda-sqs-worker:** Switch to Graviton2

These are a bit cheaper and a bit faster than the x86 Lambdas:
<https://aws.amazon.com/blogs/aws/aws-lambda-functions-powered-by-aws-graviton2-processor-run-your-functions-on-arm-and-get-up-to-34-better-price-performance/>

The underlying Lambda architecture should be invisible to typical TypeScript Lambdas.
1 change: 1 addition & 0 deletions template/lambda-sqs-worker/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ provider:
name: aws
region: ap-southeast-2
runtime: nodejs14.x
architecture: arm64
stackName: ${self:service}
stage: ${env:ENVIRONMENT}
versionFunctions: true
Expand Down

0 comments on commit 2d85f7a

Please sign in to comment.