Thanks for pointing out auto-scaling can be done without load balancer. Previously, I followed this tutorial which includes a load balancer to set up auto-scaling on AWS: https://aws.amazon.com/blogs/compute/automatic-scaling-with-amazon-ecs/
May I know is it suitable for me to follow the settings like cloudwatch alarm, scaling policy, scaling action in the link for Cloud Transcode? Or do you have a better tutorial for reference as you’ve mentioned that we can scale by Pending SFN workflow?
Besides, may I know is it ok to put validate service and transcode service under same cluster if we are going to auto-scale with multi-AZ or should we separate into two different clusters?
Other than that, may I know the correct way to load test this auto-scaling?
Thank you Nicolas.
Thank you so much for your encouragement.
When I try to upload fake mp4 file, it passes through the Validate stage in State Machine and proceeded to the Transcode stage. May I know is the validation stage working correctly and is this step necessary?
Sometimes, the transcode step failed in Step Function and returned:
May I know is this caused by termination of the cluster when the task still running, if yes, how can we solve this issue?
Thanks Nicolas, you’re really kind. :smile: :thumbsup:
I’ve created an invalid MP4 file by simply renaming a text file with an extension of MP4 to see whether it goes through the validation steps. So, the validation step returned these metadata.
May I know what’s the difference between these two assets:
Can I use SATranscodeAssets.json which doesn’t have the validation step?