Search code examples
jenkinsamazon-s3mountamazon-ecs

Mount S3 Bucket on AWS ECS


I am trying to setup Jenkins server on AWS ECS, but I am having to issue mounting S3 to my Docker container.

Can anyone provide me task definition which can mount s3 bucket with Service of ECS? soi can store my Jenkins workspace on s3


Solution

  • You can install s3fs in your EC2 instances (or may be use a custom AMI for your ECS cluster). Mount the S3 bucket in the EC2 instance and then you can always share the host path.