Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

as-replace-instances

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-replace-instances

Safely replace all instances in AWS AutoScaling Group

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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> -n <autoscaling-group>

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

or to use its javascript library:

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

FAQs

Package last updated on 14 Apr 2014

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