You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by se...@apache.org on 2015/09/03 10:06:00 UTC
cloudstack-ec2stack git commit: Adding docker instructions
Repository: cloudstack-ec2stack
Updated Branches:
refs/heads/master f1ddacfda -> ac238c6f1
Adding docker instructions
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/commit/ac238c6f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/tree/ac238c6f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/diff/ac238c6f
Branch: refs/heads/master
Commit: ac238c6f1245619d31fa0f07114bfec9ba52b0a1
Parents: f1ddacf
Author: runseb <ru...@gmail.com>
Authored: Thu Sep 3 10:05:57 2015 +0200
Committer: runseb <ru...@gmail.com>
Committed: Thu Sep 3 10:05:57 2015 +0200
----------------------------------------------------------------------
README.md | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/ac238c6f/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 3d35140..b143063 100644
--- a/README.md
+++ b/README.md
@@ -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