Skip to content
Permalink
Browse files
Adding docker instructions
  • Loading branch information
sebgoa committed Sep 3, 2015
1 parent f1ddacf commit ac238c6f1245619d31fa0f07114bfec9ba52b0a1
Showing 1 changed file with 14 additions and 4 deletions.
@@ -38,10 +38,9 @@ The easiest way to run ec2stack is to use a docker container. Pull the image fro
$ docker pull cloudstack/cloudstack-ec2stack

Run an interactive container and configure ec2stack for your CloudStack endpoint.
Be careful to use 0.0.0.0 as the address for ec2stack server.
Be careful to use 0.0.0.0 as the bind address for ec2stack server.


$ docker run -t -i cloudstack/ec2stack ec2stack-configure
$ docker run -ti cloudstack/cloudstack-ec2stack ec2stack-configure

Commit the configured container into a new image specific to your cloud.

@@ -53,9 +52,20 @@ Run an container with the ec2stack command

Register a user


$ curl -d AWSSecretKey=yoursecretkey -d AWSAccessKeyId=yourapikey -d Action=RegisterSecretKey http://localhost:5000

This should return an xml response with the message "Successfully Registered"

On Ubuntu systems install _pip_ and _awscli_ like so:

$ sudo apt-get install python-pip
$ sudo pip install awscli

Configure the AWS cli by entreing your CloudStack cloud API keys, and the name of the zone. Set the signature version to be _v2_:

$ aws configure
$ aws configure set default.ec2.signature_version v2

You now just need to configure your aws cli and use the local ec2stack point:

$ aws ec2 describe-images --endpoint=http://localhost:5000

0 comments on commit ac238c6

Please sign in to comment.