I have a ecs task running with aws fargate. I generate some files on the container and need to upload these files to an s3 bucket.
Can I do this by installing the aws cli to the container?
I'm not sure about the following stuff:
- Do I need to use some rest api (like python boto3 library) or can I use the aws console?
- How should I authenticate the requests (iam and aws secrets manager?)