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

chief

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

chief

Polyglot Server Application Running

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

Chief is an Application Container for use with Amazon Web Service Auto-Scaling Groups.

About

An application container provides the following:

  1. setup environment variables
  2. start a set of processes based on a Procfile

AWS Auto-Scaling Groups

A auto-scaling groups are great. Chief helps make them even better.

Installation

  1. Install Chief — npm install -g chief
  2. Export an Upstart Job — sudo chief upstart -o /etc/init/chief.conf
  3. Install an Application Bundle to /home/ubuntu/bundle/master

Chief reads the environment configuration from the AWS user-data property, and passes it to your application.

Application Bundles

Chief can run any kind of application, not just Node.js. Chief runs Procfile application; the root of your bundle must contain a Profile like the following:

web: node server.js
log: node logger.js

Production

Chief is designed to work in production. Each process in your Procfile is started independently, and will be restarted if it crashes.

  • application logs are kept at /var/log/chief/<proc-key>.log
  • start using upstart — sudo start chief
  • stop using upstart — sudo stop chief

Todos

  • configure upstart script via command line
  • support process scaling i.e. web=2,log=1
  • add log aggregation

FAQs

Package last updated on 23 Jan 2013

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