Best way to deploy into EC2 VPC via SSH (capistrano)?

I contacted support to ask what the best way to configure EC2 VPC for CircleCI SSH access so I can deploy via capistrano, and was asked to pose that question in this forum. Hopefully support will answer my question now.

Hello,

The best way to do this is to add a key under the project settings:

https://circleci.com/gh/org/repo/edit#ssh

Then you can add the same key to the .ssh/authorized_keys file on on the EC2 server. This will allow you to configure a deployment step in circle.yml to send files directly to a server.

Best,
Lev

I’m looking for specifics on EC2 VPC configuration so that CircleCI’s build machines will be able to access our app servers’ VPC. Essentially a VPC update for this EC2 Security Group doc.

I see, sorry about that. Our servers are in us-east so you would need to white list those ranges.