Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/main/asciidoc/how-to/operations/aws-marketplace.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ cat ~/arcadedb-root-password.txt
----

Store the password in your secrets manager, then delete the file from the instance.
The server does not read that copy: it reads `/etc/arcadedb/root-password` (owned by the service, mode 400) through the
<<arcadedb-settings,`arcadedb.server.rootPasswordPath`>> setting, so deleting the file in your home directory changes nothing for the server.

[[aws-marketplace-connect]]
===== Connect
Expand Down Expand Up @@ -84,11 +86,38 @@ The plain HTTP port is meant for private networks: for traffic that crosses the
| Service status | `sudo systemctl status arcadedb`
| Restart | `sudo systemctl restart arcadedb`
| Database files | `/var/lib/arcadedb/databases`
| Backups | `/var/lib/arcadedb/backups`
| Server logs | `/var/log/arcadedb`
|===

The JVM heap is sized from the instance memory (initial 25%, maximum 50%), and remote JMX is turned off.

Keep the databases on the instance's EBS volume and back them up with <<backup,ArcadeDB backups>> or EBS snapshots.
The software fee stops while the instance is stopped; EBS storage is still billed.

[[aws-marketplace-settings]]
===== Change server settings

The server settings are JVM properties in the `ARCADEDB_SETTINGS` variable of the `arcadedb` systemd unit.
Override them with a systemd drop-in rather than by editing the unit file:

[source,shell]
----
sudo systemctl edit arcadedb
----

In the editor, set the whole variable again: the drop-in replaces it, so keep the three settings the image ships with and add yours after them.
For example, to enable the PostgreSQL protocol:

[source,ini]
----
[Service]
Environment="ARCADEDB_SETTINGS=-Darcadedb.server.rootPasswordPath=/etc/arcadedb/root-password -Darcadedb.server.databaseDirectory=/var/lib/arcadedb/databases -Darcadedb.server.backupDirectory=/var/lib/arcadedb/backups -Darcadedb.server.plugins=Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
----

Then apply it with `sudo systemctl restart arcadedb`, and open the protocol's port in the security group from your own IP range only.
See <<changing-settings,Changing settings>> and the <<arcadedb-settings,settings reference>> for the other settings.

[[aws-marketplace-upgrade]]
===== Upgrade

Expand Down
Loading