DEV Community

Discussion on: Generating video thumbnails with S3 and Fargate using the CDK

Collapse
 
rehanvdm profile image
Rehan van der Merwe

Nice! What happens to the container? Does it kill the container when the script ends?

Collapse
 
ryands17 profile image
Ryan Dsouza

Yup! In case of a success or failure, the container will be killed and you will only be billed for the execution time taken by Fargate. This is the beauty of using Fargate compared to EC2 instances.