Skip to content

C2Devel/c2-client-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

K2 Cloud API Client

Simple command-line utility for sending custom requests to K2 Cloud platform.

This is the bash version of c2-ec2 client.

Prerequisites

Download K2 cloud api credentials - doc.

Populate c2rc.sh with appropriate values.

Evaluate script: source <path_to_c2rc.sh>.

Usage

Common request syntax:

$ ./c2-ec2.sh <action> <arg1> <value1> <arg2> <value2>

Example

Send simple request:

$ ./c2-ec2.sh RunInstances ImageId cmi-078880A0 Description "Test instance" \
InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test

About

Simple bash c2-client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages