Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

New pattern submission - sfn-lambda-microvms-callback-sam

Đang mở
#3,331 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, python
Lĩnh vực
backend, cloud, database

Hướng nghiên cứu

The implementation is already in pull request https://github.com/aws-samples/serverless-patterns/pull/3330; start by reviewing its changed files and the AWS SAM deployment. Done means the pattern demonstrates successful, failing and hung jobs using Step Functions, Lambda MicroVMs and DynamoDB, with the MicroVM terminated in each case.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Pattern name: sfn-lambda-microvms-callback-sam

Pull request: https://github.com/aws-samples/serverless-patterns/pull/3330

Description:

Run a job on an AWS Lambda MicroVM from an AWS Step Functions workflow using the AWS SDK integration for Lambda MicroVMs, receive the job's result through a task token callback, and always terminate the MicroVM, on success, failure, missed heartbeats or timeout. The workflow starts the MicroVM with the job in the run hook payload, stores its task token in Amazon DynamoDB under the MicroVM ID, and waits. The worker inside the MicroVM reads the token, sends heartbeats while it works and reports its result with SendTaskSuccess or SendTaskFailure. No Lambda function sits in between.

Services used: AWS Step Functions, AWS Lambda MicroVMs, Amazon DynamoDB.

Language: Python 3.12 (worker)
Framework: AWS SAM
Level: 300

Tested end to end in a live account: successful, failing and hung jobs, each ending with the MicroVM terminated, then the stack was deleted.

Ngôn ngữ chính
Python
Star
1.8k
Fork
1.1k
Merge trung bình
4 ngày 9 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws-samples/serverless-patterns

Tất cả issue của aws-samples/serverless-patterns

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.