Skip to content

Instantly share code, notes, and snippets.

View joshtab's full-sized avatar

Josh Tabak joshtab

View GitHub Profile
@joshtab
joshtab / eb-memory-monitor.config
Last active March 29, 2018 00:47 — forked from thomasmichaelwallace/eb-memory-monitor.config
EB CloudWatch memory usage reporting .ebextensions file
container_commands:
00download:
command: "wget http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.2.zip"
ignoreErrors: true
01extract:
command: "unzip CloudWatchMonitoringScripts-1.2.2.zip"
ignoreErrors: true
02rmzip:
command: "rm CloudWatchMonitoringScripts-1.2.2.zip"
ignoreErrors: true
@joshtab
joshtab / sidekiq.config
Last active October 28, 2019 14:52 — forked from ssaunier/sidekiq.config
Running Sidekiq on AWS Elastic Beanstalk (Put that file in `.ebextensions` folder)
# Sidekiq interaction and startup script
commands:
create_post_dir:
command: "mkdir -p /opt/elasticbeanstalk/hooks/appdeploy/post"
ignoreErrors: true
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh":
mode: "000755"
owner: root
group: root