I'm working on a VOIP project using Asterisk on Linux. Our current goal is to have several EC2 machines running an Asterisk container on each of them, and we want to be able to have development, staging and production environments. To do this, I'm writing a CloudFormation template to use AWS-ECS. My problem is that I can't find the proper way to map AWS-S3 buckets into container volumes. I want to use 2 different buckets. One for injecting Asterisk config files into all containers. Another one to save voice messages and logs of all containers.
Thanks,
P.S. I've pushed my Asterisk image on AWS-ECR and referenced to it in a TaskDefenition. I see MountPoints and Volumes there, but they doesn't seem to be my solution.