New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-rolling-restarter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-rolling-restarter

Progressively restarts ec2 instances under any Opsworks layer, x machines at a time

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

RollingRestarter

progressively restart ec2 instances under any OpsWorks layer


Description

Progressively restarts ec2 instances under any Opsworks layer, x machines at a time.


Installation

npm install aws-rolling-restarter

Usage

var restarter = require("aws-rolling-restarter");

restarter.init({
  accessKeyId: "Your accessKeyId",
  secretAccessKey: "Your secretAccessKey",
  region: "region where your machines are hosted",
  layerId: "the layer under which the ec2 instances are",
  groupSize: 2, // the amount of ec2 instances you want to restart at a time.
  retryOnSetupFailed: true, // whether or not to attempt stopping and starting again if machine ends up with setup_failed status. Default: false
});

restarter.start();

Events

  • you can add event listeners using the on function like so:
restarter.on("done", () => {
  console.log("done restarting");
});
  • Available events:
    • "done"

Keywords

FAQs

Package last updated on 25 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc