I have an EC2 instance hosting GitLab, which for operational reasons, is in a private subnet, accessible via a Bastion server.
I now need to install GitLab Runner using the Git recommended method:
sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
The above command times out, as the EC2 instance can't access port 443 (apparently).
How can I work around this?
PS: Linux is not my strong point.
PPS: I can't host GitLab in a public subnet for security reasons.