aws-get-ip

1.0.0 • Public • Published

aws-get-ip

Return the private ip of a list of EC2 instanstes using aws-sdk

Install

npm install aws-get-ip

Usage


const Finder = require('aws-get-ip')
const getIp = new Finder({
  region: 'eu-central-1'
})

getIp.byTags({tag: 'value'}, function (err, ips) {
  console.log(ips)
})

Options

The constructor accepts the same options of aws-sdk.

You should pass in the aws region and credentials (unless using a IAM role)

Methods

byTags

List all the private ips of running instances with the specified tags

License

Copyright (c) 2013 - 2016, Paolo Chiodi and other contributors. Licensed under MIT.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i aws-get-ip

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • paolochiodi