@cosmunity/open-formation

0.0.17 • Public • Published

CircleCI npm npm Greenkeeper badge

open-formation

A cli tool for deploying AWS resources using a JSON file.

Install

Install using npm install -g @cosmunity/open-formation.

You must be logged into an account with access to the @cosmunity package scope.

Running

open-formation looks for a file in the cwd named formation.json.

Commands

ofn

  • Enter the interactive ofn shell.
  • All below commands can be executed here without typing ofn.

ofn version <service-name>

  • This command deploys the specified ECS service.
  • ECS will deploy a new version of the service and handle any scaling operations automatically.
  • Instances will be automatically registered in the target load balancer.
  • Removed instances will be drained before termination.

ofn status

  • Print status information about the current formation.

image

ofn deploy [-y]

  • Deploy the machines in the current formation.

ofn rm <instanceId>

  • Terminate an EC2 instance.

ofn help

  • Full helptext

image

Readme

Keywords

none

Package Sidebar

Install

npm i @cosmunity/open-formation

Weekly Downloads

8

Version

0.0.17

License

MIT

Unpacked Size

65.9 kB

Total Files

33

Last publish

Collaborators

  • kingdaro
  • zcoon
  • taryngabbert
  • cosmunity-bot