3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Lambda has 2 cost dimensions: Number of invocations and GB-s. I assume you will invoke the function once to launch the EC2 instance and once to stop it. This means 2 invocations. For GB-s you should probably use a function with a small amount of memory. The function will run for a short period as the Start instance and Stop instance are asynchronous. If you want to wait until the instance is actually running or stopped, you will need to run a loop to check the status. In that case, I would recommend to use Step Functions instead of a Lambda function.
0
Dear Rajesh,
Try using AWS pricing calculator . I don't think it will cost that much if you are going execute lambda 4-6 times a day.
- https://calculator.aws/#/addService ,2. https://s3.amazonaws.com/lambda-tools/pricing-calculator.html
Best Regards, Vikas
répondu il y a un an
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans