Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 729 Bytes

amazon.md

File metadata and controls

28 lines (22 loc) · 729 Bytes

Using the Amazon (AWS) provider in pkgcloud

The Amazon provider in pkgcloud supports the following services:

  • Compute (EC2)
  • Storage S3 (Simple Storage Service)

Client Creation

For all of the Amazon services, you create a client with the same options:

var client = require('pkgcloud').compute.createClient({
   provider: 'amazon',
   key: 'your-secret-key-id', // secret key
   keyId: 'your-access-key-id', // access key id
   region: 'us-west-2' // region
});
var client = require('pkgcloud').storage.createClient({
   provider: 'amazon',
   key: 'your-secret-key-id', // secret key
   keyId: 'your-access-key-id', // access key id
   region: 'us-west-2' // region
});