We need more information on what Confluence expects for these form fields. There is no reference to this web form in the Atlassian docs.
• What permissions does the IAM role require?
• What gets populated into the Host Header field?
• What values are required for the Tag key and Tag value?
• What needs to be in the security group that is named?
Hi, Sky from Isostech here :) ...
In general the Confluence AWS Quick Start Template is a good place to start. The IAM role is on line 1079, and the security group is on line 1823.
The only three fields that I typically fill on initial setup are the following:
When confluence starts it will make a call to AWS metadata for the access credentials of the IAM role. It will use these credentials to discover the other nodes in EC2. If your configuration fails for whatever reason and the cluster is not successfully created, you will need to wipe the database and start over. Editing these values in confluence.cfg.xml and restarting confluence will not work on initial setup.
Working on the IAM role now.
according to hazelcast which they use...
https://github.com/hazelcast/hazelcast-aws
Hostheader for me was ec2.amazonaws.com
I believe it searches the instances for all the instances that share the same key/value.
So if you make the key ClusteringID and the value like Confluence1234 it should cluster those together. I'm not sure security group is required... but... I'm still working on mine.
Update:
The security group needs to be shared by all the instances and is required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trevan Householder_Isos-Tech-Consulting_ @Robert Valentine @Marcelo Horlle
I am also trying to use the AWS strategy to auto discover the peer nodes. However, I am unable to create the cluster. I have ensured the hazlecast jar file exist under plugin directory and the IAM role with required permissions (ec2:DescribeInstances).
Error which showed up in UI doesn't makes sense as I am using only IAM role not both.
Network interface which confluence grabbed not associated with any of the host in AWS. Confluence log has the following error
[atlassian.confluence.cluster.DefaultClusterConfigurationHelper] getJoinConfig Could not get cluster config from configuration file: The address 'null' is not a valid network address
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Network interface which confluence grabbed not associated with any of the host in AWS. Confluence log has the following error - we are running confluence in container, the ip cluster grabbed is the docker container ip address.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Trevan,
This is not mandatory, since it is very specific to the Amazon environment. Pretty much, an IAM role is similar to a user, in that it is an AWS identity with permission policies that determine what the identity can and cannot do in AWS. You can use roles to delegate access to users, applications, or services that don't normally have access to your AWS resources. For example, you might want to grant users in your AWS account access to resources they don't usually have, or grant users in one AWS account access to resources in another account.
You can find more information about it on the IAM Roles guide in Amazong webpages. I recommend you to only use IAM Roles in case you have it, else, set a secret key to access the Amazon resources and you should be good.
Hope it helps, have a great week ahead!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not a good answer as it does not address any of the bullet points. I am finding the Confluence Data Center AWS installation resources extremely lacking. Whereas Jira was a breeze.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The questions is not what are IAM roles, but what permissions/trust relationships we need to grant to the role to allow confluence node discovery. There aren't any robust AWS-Atlassian docs to help fill in the gap. I am guessing it needs ec2 services, but is there anything else?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.