https://linen.dev logo
s

s

07/20/2021, 1:07 AM
@Davin Chia (Airbyte) is the recommended way to add a CLI to the AWS runners to add it to the AMI? I want to add the
aws
cli to the build runner
u

user

07/20/2021, 1:16 AM
is this for connectors?
u

user

07/20/2021, 1:21 AM
yes
s

s

07/20/2021, 1:21 AM
need to add the AWS cli in order to publish build reports to S3
u

user

07/20/2021, 1:41 AM
would this run only for the connector build?
u

user

07/20/2021, 1:41 AM
yes
u

user

07/20/2021, 2:01 AM
then yes, best to include it with the AMI. there is a specific one for the connector builds
u

user

07/20/2021, 2:10 AM
they use
ami-0a5f6900e1cc7e07e
u

user

07/20/2021, 2:10 AM
which is the one named
github-self-hosted-runner-ubuntu-20-all-deps
u

user

07/20/2021, 2:13 AM
instructions in case you haven't done this before: 1. spin up an instance with
ami-0a5f6900e1cc7e07e
ami 2. run the commands to install
aws
cli 3. test pushing to aws works 4. in the ec2 panel select
create image
under the actions tab. I sent ya a screenshot 5. after a couple of mins should see the ami in the ami tab 6. switch the test/publish github workflows to use this ami 7. remove the old ami
3 Views