Skip to content

hoshinotsuyoshi/serverless-sidekiq-web

Repository files navigation

Sidekiq::Web monitor powered by AWS lambda

site image


stack image


Sidekiq::Web monitor powered by AWS lambda.

Based on lambda.rb by aws-samples/serverless-sinatra-sample

System Requirements

  • ruby(this repository is tested by 2.5.1)
  • bundler gem
  • redis(for local only)

Getting Started

Install Ruby dependencies for this service

$ bundle install

Download the Gems to the local vendor directory

$ bundle install --deployment

Deployment

Upload lambda code to S3 & Create CloudFormation template

(if you don't have a S3 bucket, you need to create one)

$ aws cloudformation package \
    --template-file template.yaml \
    --output-template-file serverless-output.yaml \
    --s3-bucket { your bucket name }

Deploy

$ aws cloudformation deploy --template-file serverless-output.yaml \
    --stack-name { your-stack-name } \
    --capabilities CAPABILITY_IAM \
    --parameter-overrides \
      SecurityGroupIds="{ your security group ids which can access to redis(comma separated) }" \
      VpcSubnetIds="{ your subnet ids which can access to redis(comma separated) }" \
      RedisHost="{ your redis host name }"

example

$ aws cloudformation deploy --template-file serverless-output.yaml \
    --stack-name=hoshino-20181201-sidekiq-web \
    --capabilities CAPABILITY_IAM \
    --parameter-overrides \
      SecurityGroupIds="sg-7a48c603" \
      VpcSubnetIds="subnet-7edf1e29" \
      RedisHost="hoshino-redis.wb790t.ng.0001.apne1.cache.amazonaws.com"

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy