-
Notifications
You must be signed in to change notification settings - Fork 4.2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support deploying Airbyte on ECS #4847
Comments
Hi, We are one of the companies that would prefer to deploy to ECS and Fargate. Could someone please explain "but ECS does not offer this capability easily" for me? I do not know the inner workings of Airbyte, so there might be some requirements here I am not getting. However, if the need is to spin up new containers to execute jobs, that should be very possible. ECS support running adhoc tasks, and as long as the container has the appropriate IAM rights, I do not see why this cannot be done from an ECS service? https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html When starting an adhoc task you can pass custom commands and env variables. |
Just wanted to share that we would also like to deploy to ECS. |
The problem relates to the fact that ECS Fargate does not provide permissions for "Docker in Docker", you can build Docker containers inside of Fargate using Kaniko, but you can't run a Docker container inside of a Fargate container: aws/containers-roadmap#1356 |
You would not run a container inside another container, you would have airbyte use the ECS API to run tasks |
yes, exactly my point |
I am also considering deploying airbyte on ECS. Any release plans for this ? |
+1 on ECS deployments. I would wager the easiest way to do this would be to designate SQS queues that trigger the respective jobs. This way, no code to fire up tasks would need to be written. other common alternatives are rabbitmq or redis. |
+1 here, is this issue in the roadmap or is it too complicated ? |
@sherifnada Is there any way to contribute to resolving this issue? |
will defer to @supertopher since his team now manages infra related concerns such as this one |
I am thinking about starting some work on this, I will keep on sharing the solution. |
In principal I think Airbyte can run on ECS today, just not ECS Fargate. AFAIK you can volume mount the docker socket when using EC2 instances in your ECS cluster. |
Are there any updates yet on this topic? Would be interested as well, additionally in running this via GCP CloudRun. |
Has anyone tried this? |
I ever done this kind of docker mount with ECS on EC2. It work as soon you use the same container version. A better approach, could be using aws ecs api to launch dedicated task. This implies to register task definition, cluster, and service before starting airbyte. |
Hello I would like to have this option too. For us it was a dealbreaker, we are now with AWS Glue and only semi-happy. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Tell us about the problem you're trying to solve
i would like to deploy Airbyte on ECS. This is known to be a difficult problem because Airbyte requires the ability to dynamically launch new docker containers (connectors are packaged in containers) but ECS does not offer this capability easily. See here for more information.
Nonetheless many companies solely use ECS as their deployment medium and find it to be a deal breaker if Airbyte does not support it.
Describe the solution you’d like
The ability to deploy on ECS
The text was updated successfully, but these errors were encountered: