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.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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> -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

Package last updated on 29 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