Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I specify the target directory when use bitbucket pipline with aws openID connect?

Febin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2023

How can I specify the target directory when use bitbucket pipline with aws openID connect?

 

is bitbucket-pipelines.yml has a supporting target directive to move the code in the deployed EC2 instances?

1 answer

1 vote
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 24, 2023

If you want to deploy directly to the EC2 instance you need to do it via SSH. You could try using EC2 Instance Connect authenticating via OIDC - not sure if this supported. This way you don't need manage the SSH keys.

There are different options to deploy to EC2, but I believe the canonical and likely easiest way to deploy to EC2 is via CodeDeploy. There's a pipe for that as well. However, most of these options involve uploading code to S3 rather than uploading it directly to EC2.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events