Website health checker working on AWS Lambda
# Install pip
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py
# Install aws-cli
pip install awscli
# or
pip install -r ./requirements.txt
# then
aws configure
# On macOS, Linux, or OpenBSD run the following:
curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh
# git clone
git clone git@github.com:53ningen/sousie.git
cd sousie
Copy project.json.template to project.json
cp ./project.json.template ./project.json
place your IAM Role into role
"role": "arn:aws:iam::***********:role/example",
Copy config.json.template to config.json and edit it
cp ./config.json.template ./config.json
user-agent(string): User-Agent headeritems(array): health check target itemsmethod(string):GET,POST,PUT,DELETE,HEAD...url(string): health check target urlport(number): health check target porttimeout_millisec(number): request timeout (ms)
slack(object, optional)notify-on-success(boolean): enable success notificationwebhook_url(string): slack incomming webhook urlchannel(string): notification target channel (ex:#random)username(string): username of slack notificationicon_emoji(string): user icon of slack notificationmention_targets(array): if you want to receive mention, place the account of slack
yarn install
yarn build
apex deploy
apex invoke alive
yarn test
gomi_ningen (@53ningen)
MIT
Queen Soucie Elnea Ortlinde