Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

gcloud-helper

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcloud-helper

A CLI Node.js helper for Google Cloud

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Google Cloud Helper

The idea of this CLI tool is to basically start, stop and delete Google Compute Engine instances, while automatically mapping the ephemeral IPs in Google Cloud DNS.

I'm using this for remote development.

Installation

$ npm install -g gcloud-helper

Usage

$ gcloud-helper start europe-west1-b dev-1 domain1.com,domain2.com

Setup

Variables

Some variables have to be set in the env (/etc/environment, ~/.bashrc or even export):

  • GCLOUD_PROJECT_KEY_JSON, e.g. '/home/you/gcloud-key.json'
  • GCLOUD_PROJECT_ID, e.g. 'grape-spaceship-123'

TODO:

  • Add linter
  • Add unit tests for commands, arguments, showing help, spying on what's called from gcloud, etc.
  • Support subdomains on instance start, for Cloud DNS update? ()

Keywords

google

FAQs

Package last updated on 22 Nov 2015

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