Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Access the UI at http://localhost:8080/client
  • Under Global Settings, set enable.ec2.api to true
  • Under Accounts, generate keys for the admin user in the admin account
  • Under service offerings, rename tinyOffering as m1.small
  • In your Virtual Box settings, forward port 7080
  • cd awsapi-setup/setup and use the python script cloudstack-aws-api-register to register the user. Like so:
Code Block

cloudstack-aws-api-register --apikey=JdTxDI2rOZ0RDZdgF1O_ZxfISxNuema9gQ3NyE4z5psX4sgSxE4ueEBohG3bfqWHr7BYP6_sAghXTIvm3noqkw --secretkey=fVT0r5lETIJThRGyec-Eg4WFm9_IN5tNIut7Ac5BJW0VExFGdRZEqA_JFvxdTFDH2ZeRcbO25xPQcyxt0VRWKg --cert=/path/to/cert.pem --url=http://localhost:7080/awsapi
  • you can specify an empty file as cert but use the keys generated in the GUI
  • if the registration works you should see the credentials in the cloudbridge database in the usercredentials table
  • Use a python script similar as below (change the keys) to launch an instance:

...