mikhail
(Mikhail)
February 20, 2019, 6:40am
1
Hello guys, I need your help to integrate my unmanaged extension based on GraphAware Framework into Neo4j Casual Cluster on AWS.
We use CloudFormation template from AWS Marketplace (AWS Marketplace: Neo4j Enterprise Causal Cluster ), so can you help and explain me what is the proper way to modify it for our needs?
I tried to modify UserData section in it (line 1407-1412)
neo4j ctf
{
"Description": "Neo4j on AWS",
"AWSTemplateFormatVersion": "2010-09-09",
"Mappings": {
"AWSRegionArch2AMI": {
"ap-northeast-1": {
"64": "ami-06302e6ac02fc6c3e"
},
"ap-southeast-1": {
"64": "ami-0ae3b1104eed0d04c"
This file has been truncated. show original
but without success. So I think I do it wrong...
I think we followed up about this on slack, but in the UserData section you can write a shell script that executes when your node starts up.
The thing to do is to append config to your neo4j template config, something like this:
echo "my.config.setting=whatever" >> /etc/neo4j/neo4j.template
This will edit the config correctly as per the Neo4j Cloud VM documentation here: Neo4j Cloud Virtual Machines - Developer Guides
Finally, you might want to add extra statements to this startup shell script (in the user data section) to download your extension JARs and place them into /var/lib/neo4j/plugins
.
So in the end....just a few extra lines of shell script, and it should work.
mikhail
(Mikhail)
February 20, 2019, 7:08pm
3
Hi David, thank you for in a chat help.
I did a small changes in UserData for all cluster members (UserData · GitHub ) and now it works.
Thank you!
1 Like