I have followed the docs on EC2 but I am stucked a...
# replication-troubleshooting
t
I have followed the docs on EC2 but I am stucked at connecting my instance locally to Airbyte. How can I make this work from my terminal? https://docs.airbyte.com/deploying-airbyte/on-aws-ec2/#connect-to-airbyte
✍️ 2
u
@[DEPRECATED] Marcos Marx turned this message into Zendesk ticket 2741 to ensure timely resolution!
s
Hey @Teri Eyenike, are you able to ssh into your ec2 instance?
t
yes.
s
Are you able to docker-compose-up the airbyte instance? Are you able to create the ssh tunnel with your ssh client?
t
I had issue with the ssh tunnel.
running docker-compose up didn’t give me issues.
s
What is the issue that you get when you run the command for creating the ssh tunnel?
t
running this command
ssh -i $SSH_KEY -L 8000:localhost:8000 -N -f ec2-user@$INSTANCE_IP
in my ssh instance, I got
could not resolve hostname
s
This command should be run in your local terminal not in the ec2 terminal
t
that is where i ran the command on my terminal.
s
Run the command in zsh not in the ec2 shell
The documentation refers to this as "workstation terminal"
t
Sure. I will give you feedback.
it is my computer terminal, I ran all the commands from the documentation.
s
@Teri Eyenike, in the screenshot you shared above. You have ssh'd into the ec2 user on your terminal. You should log out and then run the command outlined in the documentation. In other words, log out of your ssh session and then run the
ssh -i $SSH_KEY -L 8000:localhost:8000 -N -f ec2-user@$INSTANCE_IP
command.
t
Thank you, @Saj Dider (Airbyte), it works now.
👍 1
s
No problem @Teri Eyenike, feel free to ask more question here in this channel!