There are MANY ways to do this sort of thing. This illustrates one way in which you can automate the deployment of code to two environments using GitLab.
Thanks for the video. How to deploy via cicd if machine is behind the windows bastion host. My aws instance is behind windows bastion. Is this task possible. Currently my cicd is deploying to dev environment(public IP), the requirement is to deploy to prod environment(privateIP)