Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ----------------------------------------------------------- 1. Get the EC2 API tool http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-62308.zip. Install it by unzipping it 2. Prepare a API request certificate, if you have Amazon account, Amazon has the service to let you generate and download a X509 certificate and its associated private key 3. Prepare EC2 command running environment Set following environment variables and make them point to the right location. EC2_ACCESS_KEY= EC2_SECRET_KEY= EC2_HOME: EC2_CERT: EC2_PRIVATE_KEY: EC2_URL: http:///bridge/AmazonEC2 4. Generate CloudStack API key Login to CloudStack management console, you can generate an API key and its secret key pair there. 5. Inform CloudBridge about the API/security key pair to use http:///bridge/rest/AmazonEC2?Action=SetUserKeys&accesskey=&secretkey= 6. Upload certificate and associate it with the API key There is not a convenient tool to do that, this has to be done in manual step. following HTML form can be used to submit the certificate, be sure to replace the content matching with your setup though. to ec2-service.properties Save the cert into Cloud's EC2 Service: