ELK Release Definition Template
hashistack offer a Screwdriver template that deploys
immutable instances of ELK to AWS. It uses the screwdriver-template-main npm package to
assist with template validation, publishing, and tagging. The template tags the latest versions with the latest
tag.
How to Use This Template
Using the Template
Create a Screwdriver pipeline that uses this template with the
screwdriver.yaml
file of
---
jobs:
main:
requires: [~pr, ~commit]
template: QubitPi/elk-release-definition-template@latest
The following Screwdriver Secrets needs to be defined before running the pipeline:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
SSL_CERTIFICATE
- the content of SSL certificate file serving HTTPS-enabled DNS name of the EC2 hosting our ELK instance. This is the same as theSSL_CERTIFICATE
from the general SSL setup of hashistackSSL_CERTIFICATE_KEY
- the content of SSL certificate key file serving HTTPS-enabled DNS name of the EC2 hosting our ELK instance. This is the same as theSSL_CERTIFICATE_KEY
from the general SSL setup of hashistack
To run the pipeline, fill in the AWS-related parameters first
Then hit "Submit" to start deploying.
warning
Once the pipeline deploys ELK, we must remember to do the post setup in EC2 instance.
The password for user 'elastic' can be found packer-build step logs. Here is an example: