AWS Notes
5.6K subscribers
471 photos
43 videos
10 files
2.84K links
AWS Notes — Amazon Web Services Educational and Information Channel

Chat: https://xn--r1a.website/aws_notes_chat

Contacts: @apple_rom, https://www.linkedin.com/in/roman-siewko/
Download Telegram
Лямбда-arm64 на Graviton2 — быстрее и дешевле:

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/

Lambda functions powered by Graviton2 are designed to deliver up to 19 percent better performance at 20 percent lower cost.

Для Лямбд без зависимостей простое переключение на ARM даст неплохую экономию.

x86 128 MB $0.0000000021
arm64 128 MB $0.0000000017

🎉 Сразу с поддержкой в CloudFormation и CDK (хотя этого на момент написания поста нет в документации) — просто добавляем параметр Architectures: [arm64] в AWS::Lambda::Function.

p.s. Отдельно интересно, что архитектура задаётся как list, a не string, что может указывать на возможность задания сразу нескольких архитектур в будущем.

Updated, спасибо за пример @geekexport:
LambdaArmExample:
 Type: AWS::Serverless::Function
 Properties:
  Handler: ./dist/index.handler
  Timeout: 30
  MemorySize: 1024
  Architectures:
   - arm64

#Lambda #Graviton2
​​💥 Free Trial! 💥

AWS Graviton2 t4g.small instance (2 vCPU & 2 GB RAM) is free until 🗓Dec 31st 2023!

For all AWS accounts: 👍

existing
new customers

https://aws.amazon.com/ec2/faqs/#t4g-instances

👉 How to get access to the t4g.small Free Trial?

Until December 31, 2023, all AWS customers will be enrolled automatically in the t4g.small Free Trial as detailed in the AWS Free Tier. During the free-trial period, customers who run a t4g.small instance will automatically get 750 free hours per month deducted from their bill during each month.

Free Trial vs Free Tier:

🔹 The t4g.small Free Trial will be available in addition 💪 to the existing Free Tier on t2.micro/t3.micro.
🔸 Customers who have exhausted their t2.micro/t3.micro Free Tier usage can still benefit from the t4g.small Free Trial.

#EC2 #Graviton2 #free
🔥27👍9