Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#3,331 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
aws, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
1.8k
Fork
1.1k
Merge medio
1g 14h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws-samples/serverless-patterns

Tutte le issue di aws-samples/serverless-patterns

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.