skip to Main Content

I’m running both my Jenkins & GitLab server on two difference EC2 instances.

Is there away that I can grant GitLab access an integration with my Jenkins over my Jenkins private ip address?

3

Answers


  1. Chosen as BEST ANSWER

    Well all i had to do is over the gitlab admin panel settings> network> allow local communication.

    This solved my issue.


    1. check info your two intances, if Subnet ID and Availability zone in two intance are similar, you can access private ip.

    enter image description here

    2. if Subnet ID and Availability zone in two intance are not similar. I can access public ip:

    2.1 Security Groups > create sercurity group > config public ip your two instance.

    2.2 then EC2 > Instances > your instances_name > Actions > Security > Change security groups > Add sercurity group you create in step 2.1 > Save. Now you can access public ip your two instance.
    enter image description here

    Login or Signup to reply.
  2. Building on David Eden’s answer just with a picture.
    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search