Closed Nethracs closed 7 years ago
Solution steps:
The authentication in EC2 happens with public key of local machine, in order for the travis to connect to EC2 it needs the same public key(local machine's) and the mimic of the private key as well. The method we adopted to do this without compromising the system security is as follows:
Now capistrano will pick this SSH key from travis to connect to EC2. The major problem we faced was there was no standard steps.
After integrating travis CI to setup the rails application in the travis environment by the help of .travis.yml we faced the problem of deploying to EC2 using capistrano as travis did not have the necessary SSH credentials.