This is a set of Cloud Formation Templates and scripts to spin up a simple LDAP service and its Admin panel.
It can be used to provide a simple LDAP instance to be used to integrate with any Gerrit setup in the different cookbooks.
As a prerequisite to run this stack, you will need a registered and correctly configured domain in Route53
aws ec2 create-key-pair --key-name gerrit-cluster-keys \ --query 'KeyMaterial' --output text > gerrit-cluster.pem
NOTE: the EC2 key pair are useful when you need to connect to the EC2 instances for troubleshooting purposes. Store them in a
pem file to use when ssh-ing into your instances as follow:
ssh -i yourKeyPairs.pem <ec2_instance_ip>
make ldap HOSTED_ZONE_NAME=mycompany.com
HOSTED_ZONE_NAME value is the Hosted Zone Name where a DSN route pointing to the LDAP service will be created.
The LDAP instance provided already has a Gerrit Admin user baked in with the following credentials: