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

Commit 8e07435

Browse files
committed
2 parents 2889e2a + ac238c6 commit 8e07435

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ The easiest way to run ec2stack is to use a docker container. Pull the image fro
3838
$ docker pull cloudstack/cloudstack-ec2stack
3939

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

43-
44-
$ docker run -t -i cloudstack/ec2stack ec2stack-configure
43+
$ docker run -ti cloudstack/cloudstack-ec2stack ec2stack-configure
4544

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

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

5453
Register a user
5554

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

57+
This should return an xml response with the message "Successfully Registered"
58+
59+
On Ubuntu systems install _pip_ and _awscli_ like so:
60+
61+
$ sudo apt-get install python-pip
62+
$ sudo pip install awscli
63+
64+
Configure the AWS cli by entreing your CloudStack cloud API keys, and the name of the zone. Set the signature version to be _v2_:
65+
66+
$ aws configure
67+
$ aws configure set default.ec2.signature_version v2
68+
5969
You now just need to configure your aws cli and use the local ec2stack point:
6070

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

0 commit comments

Comments
 (0)