For anyone who's jenkins server is in a Ec2 instance of AWS and if it is in a private subnet, you can do two things:
1. Move your private ec2 into a public subnent
2. Create a Load balancer (ALB) within a public subnet and attach your private ec2 instance to that Load Balancer. Then use the address of ALB for you github hook.
For anyone who's jenkins server is in a Ec2 instance of AWS and if it is in a private subnet, you can do two things:
1. Move your private ec2 into a public subnent
2. Create a Load balancer (ALB) within a public subnet and attach your private ec2 instance to that Load Balancer. Then use the address of ALB for you github hook.