How to deploy files to Amazon EC2?
Deployment to EC2 is similar to deploying to a regular SFTP server:
Log in to your AWS account and copy the Public IP of your EC2 instance
- Go back to Buddy and Add a new pipeline
- Enter the name and select the trigger mode and target branch for the pipeline. Save changes when ready.
Select the SFTP transfer action
- Change the Authentication mode to Password and paste the IP of the EC2 instance in the Hostname input
- Enter the Login and Password that you use to authenticate on EC2
Click the button to test connection and add the action