An EventStoreDB Commercial package for Amazon Linux 2 is now available!
Running Event Store in AWS EC2 Auto Scaling groups (ASG) is no longer a recommended practice because ASG can end up simultaneously or near simultaneously deleting all instances
To learn more about running Event Store clusters, read this guide.
As of Amazon Linux version 2, System V init has been replaced with systemd service and systems manager. Event Store is now started using systemctl
instead of initctl
systemctl enable eventstore
systemctl start eventstore
Event Store does not run on an external IP by default anymore. Additional configuration is needed to access Event Store on public IP & DNS after opening ports in EC2 Security Groups as follows :
IntIp: <Private IP>
ExtIp: <Private IP>
IntHttpPort: 2112
ExtHttpPort: 2113
IntTcpPort: 1112
ExtTcpPort: 1113
IntHttpPrefixes: http://*:2112/
ExtHttpPrefixes: http://*:2113/
AddInterfacePrefixes: false
DiscoverViaDns: false
A Private IP can be fetched using an Instance Metadata query for scripting this process.
PRIVATE_IP=`curl --silent --location http://169.254.169.254/latest/meta-data/local-ipv4`