So Varna is pretty simple to install, it requires a couple different lambdas, a dynamodb table and some access.
- AWS Account
- CloudTrail
- Create a new DynamoDB table called
varna_sent_events_v3
with the partition key namedevent_id
and no sort key. Leave the default settings of 5 read and 5 write. - Create a new Global Secondary Indexes (GSI) for this table. Navigate to Indexes tab after creating the DynamoDB table. Click create new index with the index name being
account_id-event_time-index
and the partition key asaccount_id
and the sort key asevent_time
. Leave the default settings of 5 read and 5 write. - Create a Cloudtrail trail, or use an existing one. See the below screenshots for our settings of the new trail. In addition, make a note of the bucket name.
- Copy
example_settings.toml
tosettings.toml
and configure to your environment. - Copy
zappa_settings.json.template
tozappa_settings.json
and configure to your environment.
- Create an incoming webhook to use for Slack channel notification. Use the webhook url in the
settings.toml
file forslack_url
.
- You will need to modify the zappa_settings.json file to include settings for an ssl certificate, details on this can be found in the Zappa documentation.
- Run
zappa deploy
- Run
zappa certify
- You should now be able to access Varna and be receiving alerts.
There you go, if you visit the website you setup, you should now see a working installation of Varna. Feel free to do some activity that should alert and confirm that it alerts.