Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Clustering in AWS with bitbucket docker image Edited

Hi All,

I have some challenges while clustering as i couldnt see all the nodes. Listed my setup details.

1. Ec2-1 (bitbucket image is running) - in private subnet

2. Ec2-2 (bitbucket image is running) - in private subnet

PS: Downloaded the image from https://hub.docker.com/r/atlassian/bitbucket-server/ - v7.3.2

3. Created NFS in aws and mounted the shared directory while starting the container and both the container starts without any issues.

4. Configured load balancer, target group(with sticky session), Bitbucket setup with free license

5. Now i am able to access the bitbucket and if i see clustering, its listing only 1 node (could be ec2-1 or ec2-2) which started first. Not all the nodes.

6. Even in that, i dont see ec2 ip. its listed the docker IP

7. Configuration in bitbucket.properties (commented first 3 lines) and restarted the bitbucket container.

#hazelcast.network.multicast=true

#hazelcast.network.tcpip=true
#hazelcast.network.tcpip.members=172.17.0.2:5701,172.17.0.2:5701

hazelcast.network.aws=true
hazelcast.network.aws.region=us-east-1
hazelcast.network.aws.host.header=
hazelcast.network.aws.security.group.name=SG-EC2-BITBUCKET-PROD
hazelcast.network.aws.iam.role=role-ec2-bitbucket-prod

8. Still i could see only one node and dont see any entry "hazel" in the log "atlassian-bitbucket.log"

9. Added the configuration "ec2:DescribeInstances" as described in https://github.com/hazelcast/hazelcast-aws for ec2. But still same issue.

10. Cloned from https://github.com/hazelcast/hazelcast-aws and generated package "hazelcast-aws.jar" using maven. I tried to upload this into docker image to the location $BITBUCKET_HOME/lib, but it didnt work as expected.

Am i missing something?

Thanks & Regards,
Divakar

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

465 views 4 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you