This is an AwsSum
plugin!
You'll need to add awssum-greenqloud-ec2 to your package.json dependencies. Both awssum and awssum-greenqloud are pulled in as peer dependencies.
dependencies : {
"awssum-greenqloud-ec2" : "1.x",
},
Describe all your instances:
var fmt = require('fmt');
var greenqloudEc2 = require('awssum-greenqloud-ec2');
var ec2 = new greenqloudEc2.Ec2({
'accessKeyId' : process.env.ACCESS_KEY_ID,
'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
'region' : greenqloudEc2.IS_1,
});
ec2.DescribeInstances(function(err, data) {
fmt.dump(err, 'err');
fmt.dump(data, 'data');
});
Docs: AllocateAddress on AWS
Docs: AssignPrivateIpAddresses on AWS
Docs: AssociateAddress on AWS
Docs: AssociateDhcpOptions on AWS
Docs: AssociateRouteTable on AWS
Docs: AttachInternetGateway on AWS
Docs: AttachNetworkInterface on AWS
Docs: AttachVolume on AWS
Docs: AttachVpnGateway on AWS
Docs: AuthorizeSecurityGroupEgress on AWS
Docs: AuthorizeSecurityGroupIngress on AWS
Docs: BundleInstance on AWS
Docs: CancelBundleTask on AWS
Docs: CancelConversionTask on AWS
Docs: CancelExportTask on AWS
Docs: CancelReservedInstancesListing on AWS
Docs: CancelSpotInstanceRequests on AWS
Docs: ConfirmProductInstance on AWS
Docs: CreateCustomerGateway on AWS
Docs: CreateDhcpOptions on AWS
Docs: CreateImage on AWS
Docs: CreateInstanceExportTask on AWS
Docs: CreateInternetGateway on AWS
Docs: CreateKeyPair on AWS
Docs: CreateNetworkAcl on AWS
Docs: CreateNetworkAclEntry on AWS
Docs: CreateNetworkInterface on AWS
Docs: CreateReservedInstancesListing on AWS
Docs: CreatePlacementGroup on AWS
Docs: CreateRoute on AWS
Docs: CreateRouteTable on AWS
Docs: CreateSecurityGroup on AWS
Docs: CreateSnapshot on AWS
Docs: CreateSpotDatafeedSubscription on AWS
Docs: CreateSubnet on AWS
Docs: CreateTags on AWS
Docs: CreateVolume on AWS
Docs: CreateVpc on AWS
Docs: CreateVpnConnection on AWS
Docs: CreateVpnConnectionRoute on AWS
Docs: CreateVpnGateway on AWS
Docs: DeleteCustomerGateway on AWS
Docs: DeleteDhcpOptions on AWS
Docs: DeleteInternetGateway on AWS
Docs: DeleteKeyPair on AWS
Docs: DeleteNetworkAcl on AWS
Docs: DeleteNetworkAclEntry on AWS
Docs: DeleteNetworkInterface on AWS
Docs: DeletePlacementGroup on AWS
Docs: DeleteRoute on AWS
Docs: DeleteRouteTable on AWS
Docs: DeleteSecurityGroup on AWS
Docs: DeleteSnapshot on AWS
Docs: DeleteSpotDatafeedSubscription on AWS
Docs: DeleteSubnet on AWS
Docs: DeleteTags on AWS
Docs: DeleteVolume on AWS
Docs: DeleteVpc on AWS
Docs: DeleteVpnConnection on AWS
Docs: DeleteVpnConnectionRoute on AWS
Docs: DeleteVpnGateway on AWS
Docs: DeregisterImage on AWS
Docs: DescribeAddresses on AWS
Docs: DescribeAvailabilityZones on AWS
Docs: DescribeBundleTasks on AWS
Docs: DescribeConversionTasks on AWS
Docs: DescribeCustomerGateways on AWS
Docs: DescribeDhcpOptions on AWS
Docs: DescribeExportTasks on AWS
Docs: DescribeImageAttribute on AWS
Docs: DescribeImages on AWS
Docs: DescribeInstanceAttribute on AWS
Docs: DescribeInstances on AWS
Docs: DescribeInstanceStatus on AWS
Docs: DescribeInternetGateways on AWS
Docs: DescribeKeyPairs on AWS
Docs: DescribeNetworkAcls on AWS
Docs: DescribeNetworkInterfaceAttribute on AWS
Docs: DescribeNetworkInterfaces on AWS
Docs: DescribePlacementGroups on AWS
Docs: DescribeRegions on AWS
Docs: DescribeReservedInstances on AWS
Docs: DescribeReservedInstancesListings on AWS
Docs: DescribeReservedInstancesOfferings on AWS
Docs: DescribeRouteTables on AWS
Docs: DescribeSecurityGroups on AWS
Docs: DescribeSnapshotAttribute on AWS
Docs: DescribeSnapshots on AWS
Docs: DescribeSpotDatafeedSubscription on AWS
Docs: DescribeSpotInstanceRequests on AWS
Docs: DescribeSpotPriceHistory on AWS
Docs: DescribeSubnets on AWS
Docs: DescribeTags on AWS
Docs: DescribeVolumes on AWS
Docs: DescribeVolumeAttribute on AWS
Docs: DescribeVolumeStatus on AWS
Docs: DescribeVpcs on AWS
Docs: DescribeVpnConnections on AWS
Docs: DescribeVpnGateways on AWS
Docs: DetachInternetGateway on AWS
Docs: DetachNetworkInterface on AWS
Docs: DetachVolume on AWS
Docs: DetachVpnGateway on AWS
Docs: DisableVgwRoutePropagation on AWS
Docs: DisassociateAddress on AWS
Docs: DisassociateRouteTable on AWS
Docs: EnableVgwRoutePropagation on AWS
Docs: EnableVolumeIo on AWS
Docs: GetConsoleOutput on AWS
Docs: GetPasswordData on AWS
Docs: ImportInstance on AWS
Docs: ImportKeyPair on AWS
Docs: ImportVolume on AWS
Docs: ModifyImageAttribute on AWS
Docs: ModifyInstanceAttribute on AWS
Docs: ModifyNetworkInterfaceAttribute on AWS
Docs: ModifySnapshotAttribute on AWS
Docs: ModifyVolumeAttribute on AWS
Docs: MonitorInstances on AWS
Docs: PurchaseReservedInstancesOffering on AWS
Docs: RebootInstances on AWS
Docs: RegisterImage on AWS
Docs: ReleaseAddress on AWS
Docs: ReplaceNetworkAclAssociation on AWS
Docs: ReplaceNetworkAclEntry on AWS
Docs: ReplaceRoute on AWS
Docs: ReplaceRouteTableAssociation on AWS
Docs: ReportInstanceStatus on AWS
Docs: RequestSpotInstances on AWS
Docs: ResetImageAttribute on AWS
Docs: ResetInstanceAttribute on AWS
Docs: ResetNetworkInterfaceAttribute on AWS
Docs: ResetSnapshotAttribute on AWS
Docs: RevokeSecurityGroupEgress on AWS
Docs: RevokeSecurityGroupIngress on AWS
Docs: RunInstances on AWS
Docs: StartInstances on AWS
Docs: StopInstances on AWS
Docs: TerminateInstances on AWS
Docs: UnassignPrivateIpAddresses on AWS
Docs: UnmonitorInstances on AWS
Written by Andrew Chilton - Blog - Twitter.
- Copyright 2011-2013 Apps Attic Ltd. All rights reserved.
- Copyright 2013 Andrew Chilton. All rights reserved.
(Ends)