AWS Notes
5.62K subscribers
501 photos
43 videos
10 files
2.89K 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
🔥42👍6
🆕 Lambda Managed Instances

https://aws.amazon.com/blogs/aws/introducing-aws-lambda-managed-instances-serverless-simplicity-with-ec2-flexibility/

Lambda в стиле ECS — возможность запускать свои serverless нагрузки на собственных EC2 инстансах.

Великолепное решение для тех, у кого счёт за Lambda $1000+, т.к. перенос затратных длительных исполнений на EC2 даст существенную экономию.

У кого мелкие расходы, то учитывая +15% за обслуживание (от стоимости EC2) вряд ли подойдёт.

▫️ First, you pay standard Lambda request charges of $0.20 per million invocations.
▫️ Second, you pay standard Amazon EC2 instance charges for the compute capacity provisioned. Your existing Amazon EC2 pricing agreements, including Compute Savings Plans and Reserved Instances, can be applied to these instance charges to reduce costs for steady-state workloads.
▫️ Third, you pay a compute management fee of 15% calculated on the EC2 on-demand instance price to cover AWS’s operational management of your instances.
▫️ Note that unlike traditional Lambda functions, you are not charged separately for execution duration per request.


Пока не вижу возможности использования Spot для такого, что могло бы дать экономию и для средних нагрузок.

В любом случае отличная штука, точно нужно пробовать.

#Lambda
🤯17👍71🔥1
🆕 Lambda + durable functions 🔥

https://aws.amazon.com/blogs/aws/build-multi-step-applications-and-ai-workflows-with-aws-lambda-durable-functions/

То есть теперь можно запилить на Lambda фичи, для которых ранее требовались Step Functions.

Steps—The context.step() method adds automatic retries and checkpointing to your business logic. After a step is completed, it will be skipped during replay.

Wait—The context.wait() method pauses execution for a specified duration, terminating the function, suspending and resuming execution without compute charges.


В результате на простых пайплайнах можно получить 2-4 раза экономию по деньгам.

#Lambda
🔥91