Overview
Charges for this image cover the security hardening, optimization, and pre-integration work Hanwei performs on top of the upstream Neo4j 5.26 and CentOS Stream 9 projects. Neo4j 5.26 LTS is installed from the vendor repository together with the OpenJDK runtime it requires, and the service is enabled, so the Bolt and HTTP endpoints are listening when the instance finishes booting. This version supersedes the earlier 4.4 image. The operating system underneath carries the same hardened and tuned baseline used across this catalogue.
What Hanwei Adds to Upstream Neo4j 5.26
- Server and runtime installed at build time: Neo4j 5.26 LTS from the vendor repository with OpenJDK 17 to satisfy its runtime requirement, so no JVM selection step is needed.
- Transparent huge pages disabled at boot: a oneshot unit sets them to never before the database starts, following the vendor's guidance. This is not the distribution default, where the tuned virtual-guest profile leaves them enabled.
- Startup timeout raised for the JVM: a drop-in extends the start timeout to 300 seconds, so a cold start on a small instance is not cut off by the 75 second default before recovery finishes.
- Tuning baseline applied identically across the catalogue: the file descriptor limit goes from 1024 to 65536 and the memory-map ceiling from 65530 to 262144; the device receive backlog goes from 1000 to 16384 and the TCP SYN backlog from 128 to 8192, so bursts queue instead of being dropped; socket buffer maxima reach 16 MB for larger autotuned windows; connections keep their congestion window across idle periods; and the journal is capped at 500 MB. The profile raises ceilings only and does not alter protocol semantics or application behaviour.
- Applied hardening beyond the distribution default: SSH is limited to a vetted cipher, key exchange and MAC list, X11 forwarding is off, the login grace period is shortened and verbose authentication logging is on; auditd runs a base rule set for privileged command execution; the kernel drops ICMP redirects on IPv4 and IPv6, logs martian packets, filters reverse paths in loose mode, restricts dmesg, disables setuid core dumps and turns off sysrq.
- AWS operational integration: the SSM Agent is installed and enabled for Session Manager and Patch Manager without an inbound SSH rule; chrony points at the Amazon Time Sync Service; and the root filesystem extends at boot when the volume exceeds the image default.
- Patch level set at the build date: packages come from official upstream repositories at the newest level published when the image was built.
- Repeatable build and EC2 validation: each version comes from the same build process and is launched and exercised on EC2 before release.
Access and Security Posture
- SELinux runs in enforcing mode and auditd records activity against a base rule set.
- Sign in as 'ec2-user' with the key pair selected at launch, then use 'sudo su -' for a root shell. Session Manager is available as an alternative that needs no inbound port.
- Direct root login over SSH is disabled and password authentication is not accepted.
- No authorized keys and no SSH private keys are embedded in the image.
Operational Impact on EC2
- Launch-to-usable-database time is reduced to a single boot cycle.
- Every instance starts from an identical configuration, removing drift between development, staging and production hosts.
- Network services need no per-host limit or backlog adjustment before handling load.
- Clock accuracy comes from the Amazon Time Sync Service, which matters for log correlation and request signing.
- Post-launch patching effort is lower because the package set is current at release.
Where This Image Fits
- Graph workloads such as recommendation, fraud detection and network topology analysis.
- Migration target for deployments consolidating onto the 5.26 long-term support series.
- Knowledge graph and metadata catalogue services queried through Cypher.
- Development and test instances for teams building on the Bolt protocol drivers.
About Neo4j 5.26 and CentOS Stream 9
Neo4j is a property graph database queried with Cypher, a declarative language for pattern matching over nodes and relationships. It stores relationships as first class records, so traversals need no join operations and their cost stays proportional to the part of the graph visited rather than the total data size. The 5.26 series is a long-term support release with vendor support through June 2028. This image carries Neo4j Community Edition.
CentOS Stream 9 is a Linux distribution that tracks the development stream of Red Hat Enterprise Linux 9. Packages land in CentOS Stream before they appear in a RHEL minor release, so it stays close to the RHEL package set and toolchain while remaining freely redistributable. It uses dnf, systemd and SELinux, which makes it a predictable base for server workloads that need RHEL compatibility.
Highlights
- WHAT IS PACKAGED - This image provides Neo4j 5.26 LTS from the vendor repository with the OpenJDK 17 runtime it requires, the service enabled, transparent huge pages disabled and the JVM start timeout raised to 300 seconds so a cold start on a small instance is not cut short.
- HOW THE BASELINE IS HARDENED AND TUNED - SELinux enforcing, root login locked and SSH limited to key-based authentication with a vetted cipher, key exchange and MAC list. auditd runs a base rule set for privileged commands. The kernel drops ICMP redirects, logs martian packets and restricts dmesg. The file descriptor limit goes from 1024 to 65536 and the memory-map ceiling from 65530 to 262144; receive and SYN backlogs are enlarged and socket buffers reach 16 MB.
- HOW IT FITS AWS OPERATIONS - The SSM Agent is installed and enabled, so instances can be managed through Session Manager and Patch Manager without an inbound SSH rule. chrony is pointed at the Amazon Time Sync Service, the root filesystem extends automatically when the volume exceeds the image default, and cloud-init handles user-data provisioning in launch templates and Auto Scaling groups.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.08 |
t3.micro | $0.04 |
t2.micro | $0.04 |
c3.2xlarge | $0.78 |
d2.4xlarge | $1.58 |
i3.large | $0.18 |
t2.small | $0.08 |
i3.8xlarge | $3.18 |
inf1.2xlarge | $0.78 |
m5d.24xlarge | $6.38 |
Vendor refund policy
disabled
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Update to latest
Additional details
Usage instructions
ssh as user 'ec2-user' to the running instance and use sudo to run commands requiring root access
Use "sudo su - root" to switch to root.
OS:CentOS Stream 9.
Server version: Neo4j Community Edition 5.26 [LTS]
Neo4j Services:
To start/stop/restart/status neo4j service: sudo systemctl start/stop/restart/status neo4j
Login Neo4j:
The default method to log in locally to Neo4j in a Linux shell: cypher-shell -u neo4j -p neo4j
Neo4j requires the initial password to be changed on the first connection. To set a new password, run:
cypher-shell -u neo4j -p neo4j -d system "ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'YourNewPassword';"
Neo4j Ports:
Port 7474 and Port 7687
For security reasons, remote connection to the Neo4j service is not configured. You can modify the configuration file: '/etc/neo4j/neo4j.conf ' ,to configure remote connections.
Please allow SSH port 22,Neo4j port 7474 and port 7687 to limited IPs for access.
Resources
Vendor resources
Support
Vendor support
prosupport@hanweie.com If you encounter problems in the process of using the system, please feel free to contact us by email:prosupport@hanweie.com , thank you!
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.