Feature/deploy via gateway

Needed for EC2 VPC deployment.

@cpapazian take a look?