Socket
Socket
Sign inDemoInstall

as-replace-instances

Package Overview
Dependencies
17
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    as-replace-instances

Safely replace all instances in AWS AutoScaling Group


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
2.24 MB
Created
Weekly downloads
 

Readme

Source

Safely replace all instances in AWS AutoScaling Group.

How it works

  • Doubles MinSize and DesiredCapacity of target AutoScaling Group
  • Waits for new instances to become healthy in all AutoScaling Group's ELBs
  • Terminates obsolete instances
  • Returns MinSize and DesiredCapacity to their original values

Installation

Install globally with npm to use CLI commands:

$ npm install -g as-replace-instances

or use its javascript API in your own project.

Configuration

Place the following inside a file called ~/.asrc

{
    "accessKeyId": "AWS_ACCESS_KEY_ID",
    "secretAccessKey": "AWS_SECRET_ACCESS_KEY"
}

Usage

Provides single CLI command: as-replace-instances, used like

as-replace-instances -r <region> -g <autoscaling-group>

  • -r is the AWS region within which the specified AutoScaling Group exists
  • -g is the name of the AutoScaling Group on which to act

or to use its javascript library:

var as = require('as-replace-instances');

FAQs

Last updated on 29 Apr 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc