I am able to get the new BitBucket Pipeline Runners to work by running the docker image locally on my Ubuntu VM, it works great. Now I want to move this to the company's infrastructure on AWS ECS, is this possible?
Hi @drichards-alcon,
Thanks for reach out to the community.
I can confirm that you can use Pipelines Runners on AWS as long as you're using Linux with x64 architecture.This is also mentioned in Pipelines runners official documentation.
I also tested this on my end by spinning up an AWS EC2 instance with a Linux environment and Pipelines runners is working great.
Hope it helps and let me know if you have further questions that I can help with.
Regards,Mark C
Thanks for the info @Mark C I have no doubt it would run on an EC2 instance where I install docker, but will it run in an ECS Task container?
My concern is that as it is running docker in docker and needs access to the docker socket and that this would prevent it from running in the ECS model, forcing us to go down the EC2 model. As to add a new ECS Task is easy but to get approval for an EC2 instance is a bit more work.
Thanks
Hi @drichards-alconTo be honest, I haven't come across a Pipelines runners use case with AWS ECS.However, I've asked this internally.I'm afraid there could be some constraints running Pipelines runners on AWS ECS specifically with running docker-in-docker service container that requires privileged mode.Also, I'm not really sure if AWS ECS is allowing this already.For this, as long as AWS ECS is allowing a docker-in-docker service container with privileged mode, you can use Pipelines runner there.Regards,Mark C
Makes sense, yeah the use case is that we need to access an on-prem credential vault (Saviynt) so not only do we need someplace to run a docker container, it needs to have access to the on-prem servers, which leaves us on AWS
Sounds like I will move down the EC2 with Docker path, thanks for the update!
It looks like you're new here. Sign in or register to get started.