Announcement: Deprecation of Docker Compose Today,...
# announcements
n
Announcement: Deprecation of Docker Compose Today, we are announcing that Docker Compose will be deprecated from future versions of Airbyte OSS after version 1.0 is released (expected in August 2024). Support for Docker Compose and running Airbyte via the
run_ab_platform.sh
script will end in August 2024. With the release of abctl, we've provided a best-in-class tool that improves the initial user experience and ensures you are set up for a production-ready instance of Airbyte from the start. To support the migration of existing Docker Compose deployments, we’ve created a migration path that we are beginning to test with external users, and looking for volunteers from the Community to help ensure our migration paths can adequately cover the ways in which users currently use Docker Compose. This beta group of testers will work directly with our Engineering team to migrate their existing Airbyte deployments to
abctl
. You can read more and sign up for the beta testing group here: https://github.com/airbytehq/airbyte/discussions/40599
❀️ 2
🫠 5
airbyte rocket 9
πŸ₯΅ 2
kirby 1
πŸ˜ͺ 1
a
I can help with this, we are using Airbyte OSS with docker compose
g
Also using docker compose ourselves (still on an earlier version of Airbyte, due to connector updates needed before we can updated). Definitely interested in it. The quick view of the docs leaves plenty of gaps for me. We are running Airbyte on a cloud server, with a number of compose modifications (to connect to RDS rather than local database, not to have password auth for the frontend as it's protected in other ways, etc...), and it's unclear how much this "small server but not local machine" use case is covered yet.
πŸ‘ 2
b
good riddance πŸ™‚
j
we are on docker-compose as well using traefik as a reverse proxy configured directly within docker-compose file. Will abctl support this setup?
j
We also have some customizations, which I can not see in abctl: β€’ AWS logs export β€’ Metric export with otel β€’ RDS β€’ Removed password auth
j
Same stack as @Jade, set it up a few weeks ago πŸ‘€
s
We're also using docker-compose and would be up for testing and upgrading our instance πŸ™‚
b
@Gergely Imreh and @Jonas Schmitz Sorry for the delayed response. We are currently updating the documentation to be more clear on how to configure Airbyte with
abctl
. I will post here once the new documentation has been released.
Abctl does have a built in auth system, but it can be disabled. Using a reverse proxy should still be supported, although Airbyte will no longer be running along side the reverse proxy with docker compose. You can also use Traefik as a kubernetes ingress: https://doc.traefik.io/traefik/providers/kubernetes-ingress/ which should work as well.
s
oh no, we heavily depend on docker compose and k8s deployments for DB related products are not allowed
b
@stanley is there a particular problem that you see with using
abctl
as a replacement for the docker compose solution?
k
Does anyone know if running Airbyte on ECS is still on the roadmap after this announcement (and potential timelines if it is)?
t
I'm also interested in being part of this deprecation testing as we have a customized docker-compose file which you can see here: https://github.com/mitodl/ol-infrastructure/blob/main/src/bilder/images/airbyte/files/docker-compose.yaml It is largely a copy of upstream from airbyte-platform, but has layered in traefik, traefik-forward-auth, and removed the database and proxy containers.
j
Hi there ! I am using Docker compose for deploying Airbyte version 0.63.1. If I stick to this version, will I always be able to pull the run-ab-platform.sh (from this url : https://raw.githubusercontent.com/airbytehq/airbyte/$AIRBYTE_VERSION/run-ab-platform.sh ) ? In any case, I would be available from the 22nd of July if you want to test the new deployement method ! Thanks for letting us know πŸ™‚ Have a good day !
πŸ‘ 1
b
For those who are using docker-compose on an EC2 machine, there are is now documentation on how to use
abctl
with an EC2 instance here: https://docs.airbyte.com/deploying-airbyte/infrastructure/aws
πŸ™ 2
I will look into the Traefik solution, as it appears to be fairly common.
@Kimmo Lahdenkangas running on ECS is not supported and we do not currently have plans to support ECS.
There is now documentation on how to use
abctl
to migrate from docker-compose: https://docs.airbyte.com/deploying-airbyte/infrastructure/aws This is a non-destructive process, so it should be safe to run and you can be confident you wont lose data if you need to revert back to docker-compose.
j
So, by reading through the documentation, am I correct by understanding that I need to pay for Docker Desktop in order to run
abctl
to stand up Airbyte OSS? That feels weird. πŸ€”
b
No, Docker Desktop is free for personal use. From the Docker website: "Commercial use of Docker Desktop at a company of more than 250 employees OR more than $10 million in annual revenue requires a paid subscription (Pro, Team, or Business)." This is the same conditions you would have to agree to if you were using docker-compose as well. Nothing has changed with this requirement. Additionally, you can use a docker engine instead of the full docker desktop should you prefer, but we document docker desktop as the installation and usage is much easier for people less familiar with container technology.
πŸ‘ 1
I believe we have also had people use Podman as the container engine, but we currently do not have documented support for Podman.
I have a calendly calendar setup if anyone would like assistance migrating to
abctl
in the next couple of days: https://calendly.com/bryce-118/30min
r
just wanted to say that it was impressive how straightforward and smooth this migration process was! just a quick
abctl local install --migrate
command. being able to track all the changes as they were happening in the command line was chefskiss. once it was done, you couldn't even tell that there was an under-the-hood change. this is actually my last week at the company where i was supporting Airbyte and the wider data stack, and it feels great to know i'll leave things in a rock solid state. Airbyte was completely pivotal in allowing us (read: me as a non-technical dummie) to effortlessly stand up a solid analytics framework. big thanks for continuing to push things forward, and i'm excited to bring Airbyte to my next gig!
πŸŽ† 2
b
Great working with you today Roberto, happy that everything went smoothly! Thanks for being a part of the Airbyte community!
airbyte heart 1
r
one question on upgrading with
abctl
– do we need to stop the Airbyte service first, or is simply running
abctl local install
safe/enough?
b
No, you can run
abctl local install
in place and the upgrade will happen without needing to stop the instance.
thanku 1
πŸ‘Œ 1
m
Hello all! One question i am migrating using google cloud VM… i assume thye issue that i have after running
abctl local install --migrate
is because of docker user permissions Does anyone knows how to solve this issue?
b
@Mateo Graciano Do you have a link to your question? I can try and answer it.
m
No @Bryce Groff… where should i add the question? github issues? maybe here: https://github.com/airbytehq/airbyte/discussions/40599#discussioncomment-10079693
b
Sure, I can respond there.
βœ… 1
Just wanted to give another post about my calendly if folks want some additional support on the migration: https://calendly.com/bryce-118/30min
m
We use Airbyte OSS deployed on EC2 with an external database (RDS) configured (as defined in Airbyte docs here: https://docs.airbyte.com/operator-guides/configuring-airbyte-db) Is this use case supported in the new
abctl
method, or is the idea that we need to migrate to EKS or something?
b
That is a supported use case with
abctl
The docs can be found here for deploying on an EC2 machine: https://docs.airbyte.com/using-airbyte/getting-started/oss-quickstart#using-an-ec2-instance-with-abctl To setup an external database, you can follow the docs here: https://docs.airbyte.com/deploying-airbyte/integrations/database I have recorded a video showing how to do that, which I have attached here.
πŸ™ 2
j
We are hosting other docker container along with airbyte so I would opt to spinup a new server and migrate connectors/config to the new airbyte setup. I will export the docker database with this guide: https://discuss.airbyte.io/t/how-to-import-export-airbyte-to-a-new-instance-docker-to-docker-deploy/3514 could you please point me how I could import the database through abctl install.
b
OK, I tried to comment on that thread, but I was not able to @[DEPRECATED] Marcos Marx maybe you can help me get this answer on the thread? When you get to the section on "Recreating our instance" instead do the following (this assumes you have already installed Airbyte with abctl)
Copy code
kubectl cp airbyte_backup.sql airbyte-db-0:/tmp -n airbyte-abctl
kubectl exec -ti airbyte-db-0 -n airbyte-abctl -- /bin/sh
psql -U airbyte db-airbyte < /tmp/airbyte_backup.sql
This assumes you have your kubectl client setup with the abctl kubeconfig, if you do not have that you can append:
--kubeconfig ~/.airbyte/abctl/abctl.kubeconfig
to each of the lines provided above.
πŸ‘ 1
j
Great, thx @Bryce Groff
b
For those looking to set temporals retention time: β€’ Create a file called
vaules.yaml
β€’ Add this to the file (adjust as needed):
Copy code
airbyte-cron:
  extraEnv:
    - name: TEMPORAL_HISTORY_RETENTION_IN_DAYS
      value: 7

server:
  extraEnv:
    - name: TEMPORAL_HISTORY_RETENTION_IN_DAYS
      value: 7

worker:
  extraEnv:
    - name: TEMPORAL_HISTORY_RETENTION_IN_DAYS
      value: 7
β€’ run
abctl local install --values ./values.yaml
c
Does abctl still use docker container in the background actually? I'm just curious, as we need to connect to the airbyte server from dagster for example. We've setup a docker network to achieve this. How would that be done in a abctl setup?
b
We use a docker container that runs a Kind cluster (local kubernetes). abctl will run on port 8000 on the local machine, so if you are running airflow in a docker container, you should be able to talk to Airbyte over
host.docker.internal:8000
Hey everyone, if anyone has had trouble with permission issues and
abctl
we just released a new version here: https://github.com/airbytehq/abctl/releases/tag/v0.9.1 that should address those problems. Take a look at the release notes for more details.
c
@Bryce Groff Alright thanks, we're using dagster but the same applies. Thanks for sharing the details. @Ahmed Hamid I already asked some details about the new airbyte deployment above. FYI
πŸ‘ 1
m
@Bryce Groff Hello… i tried to use the values.yaml to set the retention time but it failed :
ERROR  Failed to install airbyte/airbyte Helm Chart
ERROR  Unable to install Airbyte locally
ERROR  could not install airbyte chart: could not install helm: cannot patch "airbyte-abctl-server" with kind Deployment: "" is invalid: patch:
g
@Bryce Groff I’m currently using
docker compose
deployment with external database (RDS). Is my assumption correct, that when I migrate to
abctl
, there is no need to run --migrate as this process only takes care of changes for DB that is hosted locally on airbyte-db docker instance?
b
@Gasper K. yes, that is correct. there is documentation here for how to setup an external db with
abctl
https://docs.airbyte.com/deploying-airbyte/integrations/database Here is a video tutorial of how that works as well:

https://www.youtube.com/watch?v=YX8wyrlLKNUβ–Ύ

Note:
abctl
now support a --secret flag so you can create secrets while provisioning your instance. So the full command would look something like:
abctl local install --values ./values.yaml --secret secret.yaml
g
Great, thank you! πŸ™
b
We have released version 0.11.0 of
abctl
which now includes Authentication built into Airbyte. The quickstart docs have been updated here: https://docs.airbyte.com/using-airbyte/getting-started/oss-quickstart#2-run-airbyte and there are more detailed docs here: https://docs.airbyte.com/deploying-airbyte/integrations/authentication
j
Hello, I've create a new airbyte instance with abctl on a brand new VM. I am trying to restore the database of my previous airbyte instance that was created with docker-compose. I run those commands => shared by @Bryce Groff:
Copy code
kubectl cp airbyte_backup.sql airbyte-db-0:/tmp -n airbyte-abctl
kubectl exec -ti airbyte-db-0 -n airbyte-abctl -- /bin/sh
psql -U airbyte db-airbyte < /tmp/airbyte_backup.sql
The last ocmmand completely fail as tables already exist and database is in use. Now trying to figure out how to keep only the database running in kubernete to drop and restore the database. Anyone could help?
o
Hi @Bryce Groff I've upgraded to abctl version 0.0.11.1, and I can't log in using email address. The only way to access Airbyte is to remove the login screen. This issue was also described here: https://airbytehq.slack.com/archives/C021JANJ6TY/p1722487086077029
k
Hi @Bryce Groff πŸ‘‹ Please could you add a tutorial on how to use a Google Cloud Platform
Cloud SQL
external database via
CloudSQL Proxy
? πŸ™ thanks πŸ™‚