# AWS community edition cloudformation template fails to deploy on AWS

**URL:** <https://community.neo4j.com/t/aws-community-edition-cloudformation-template-fails-to-deploy-on-aws/66938>\
**Category:** Installation\
**Created:** [March 20, 2024, 4:45am UTC](https://community.neo4j.com/t/aws-community-edition-cloudformation-template-fails-to-deploy-on-aws/66938 "2024-03-20T04:45:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neo4j2](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@neo4j2](https://community.neo4j.com/u/neo4j2)\
**Post date:** [March 20, 2024, 4:45am UTC](https://community.neo4j.com/t/aws-community-edition-cloudformation-template-fails-to-deploy-on-aws/66938/1 "2024-03-20T04:45:04Z")

</div>

Hello community.

I'm trying to is use the (unedited) template from github to deploy the community edition on AWS but having no luck.

`https://github.com/neo4j-partners/amazon-cloud-formation-neo4j/tree/main/marketplace/neo4j-community`

Log output

```auto
[69.837623] cloud-init[1674]: xml-common-0.6.3-56.amzn2023.0.2.noarch
[69.839294] cloud-init[1674]: Complete!
[70.557791] cloud-init[1674]: Last metadata expiration check: 0:00:20 ago on Wed Mar 20 04:05:50 2024.
[70.658466] cloud-init[1674]: Dependencies resolved.
[70.676706] cloud-init[1674]: Nothing to do.
[70.678165] cloud-init[1674]: Complete!
[70.771672] cloud-init[1674]: Synchronizing state of neo4j.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
[70.774573] cloud-init[1674]: Executing: /usr/lib/systemd/systemd-sysv-install enable neo4j
[70.795956] cloud-init[1674]: Created symlink /etc/systemd/system/multi-user.target.wants/neo4j.service â /usr/lib/systemd/system/neo4j.service.
[70.643676] systemd-sysv-generator[4707]: SysV service '/etc/rc.d/init.d/cfn-hup' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[71.211250] cloud-init[1674]: Installing APOC...
[71.213803] cloud-init[1674]: Configuring extensions and security in neo4j.conf...
[71.245935] cloud-init[1674]: 2024-03-20 04:06:11,450 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
[71.248940] cloud-init[1674]: 2024-03-20 04:06:11,450 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3.9/site-packages/cloudinit/config/cc_scripts_user.py'>) failed
ci-info: no authorized SSH keys fingerprints found for user ec2-user.
<14>Mar 20 04:06:11 cloud-init: #############################################################
<14>Mar 20 04:06:11 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Mar 20 04:06:11 cloud-init: [redacted....]
<14>Mar 20 04:06:11 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
<14>Mar 20 04:06:11 cloud-init: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
  [redacted...]
-----END SSH HOST KEY KEYS-----
[71.403549] cloud-init[1674]: Cloud-init v. 22.2.2 finished at Wed, 20 Mar 2024 04:06:11 +0000. Datasource DataSourceEc2. Up 71.38 seconds
[e[0;1;31mFAILEDe[0m] Failed to start e[0;1;39mcloud-finaâ¦ Execute cloud user/final scripts.

```

the stack ends up rolling back every time.

Any help would be greatly appreciated  
-Josh
