Hey Guys, I was able to run airbyte. but how to ke...
# ask-community-for-troubleshooting
n
Hey Guys, I was able to run airbyte. but how to keep it running on Linux (ec2 instance). whenever I close the window it stops.
m
@NITESH KUMAWAT, I guess you're running the local instance of airbyte. You'll have to restart the airbyte each time you turn off your PC. You might consider switching to the cloud-based version
n
@Muhammad Abiodun Sulaiman, yes. I used the following commands: git clone https://github.com/airbytehq/airbyte.git cd airbyte docker-compose up can you tell me how to set up a cloud-based version?
m
I think that requires an active subscription to airbyte service. Let me check for the link to that
n
Basically, I want airbyte to run on a EC2 instance. (even if i close the window after running
docker-compose up
)
a
@NITESH KUMAWAT on your ec2 instance, try
docker-compose up -d
to run the containers detached instead of in foreground mode. https://docs.docker.com/engine/reference/commandline/compose_up/
r
Yes, start it in detached mode and it will keep running as long as machine is alive
n
got it. thanks