Using an EC2 Instance with abctl
This guide will assume that you are using the Amazon Linux distribution. However. any distribution that supports a docker engine should work with abctl
. The launching and connecting to your EC2 Instance is outside the scope of this guide. You can find more information on how to launch and connect to EC2 Instances in the Get started with Amazon EC2 documentation from Amazon.
- Install the docker engine:
sudo yum install -y docker
- Add the ec2-user (or whatever your distros default user) to the docker group:
sudo usermod -a -G docker ec2-user
- Start and optionally enable (start on boot) the docker engine:
sudo systemctl start docker
sudo systemctl enable docker
- Exit the shell and reconnect to the ec2 instance, an example would look like:
exit
ssh -i ec2-user-key.pem ec2-user@1.2.3.4
- Download the latest version of abctl and install it in your path:
curl -LsfS https://get.airbyte.com | bash -
- Run the
abctl
command and install Airbyte:tipBy default,
abctl
only configures an ingress rule for the hostlocalhost
. In order to ensure that Airbyte can be accessed outside of the EC2 instance, you will need to specify the--host
flag to thelocal install
command, providing the FQDN of the host which is hosting Airbyte. For example,abctl local install --host airbyte.company.example
.
By default, abctl
will listen on port 8000. If port 8000 is already in used or you require a different port, you can specify this by passing the --port
flag to the local install
command. For example, abctl local install --port 6598
Ensure the security group configured for the EC2 Instance allows traffic in on the port (8000 by default, or whatever port was passed to --port
) that you deploy Airbyte on. See the Control traffic to your AWS resources using security groups documentation for more information.
abctl local install --host [HOSTNAME]
Running over HTTP
Airbyte suggest that you secure your instance of Airbyte using TLS. Running over plain HTTP allows attackers to see your
password over clear text. If you understand the risk and would still like to run Airbyte over HTTP, you must set
Secure Cookies to false. You can do this with abctl
by passing the --insecure-cookies
flag to abctl
:
abctl local install --host [HOSTNAME] --insecure-cookies