Your source code is in bitbucket and your bitbucket setting requires whitelisting of server IP. You want to clone the repo on bastion server.