Gazebo | Ignition | Community
Ask Your Question
0

cloudsim doesn't accept .pem file arguments

asked 2012-12-10 16:27:43 -0500

cga gravatar image

Either there is a cloudsim-1.0.0 bug, or a problem with .pem files

./create_cloudsim.py my.name@gmail.com pk-XYZ.pem sa-XYZ.pem
results in the error message:
inside/cgi-bin
cloudsimd/launchers
Traceback (most recent call last):
  File "./create_cloudsim.py", line 40, in <module>
    import common
ImportError: No module named commoncode 
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-12-11 09:21:10 -0500

cga gravatar image

When you make an AWS key pair and save it on your machine, it is saved as a .pem file pair. It would be convenient to be able to just use these files.

edit flag offensive delete link more

Comments

1

CloudSim uses Access Keys (not key pairs, sorry) to connect to AWS. AWS provides them on the Access Keys tab on the AWS Security Credentials page.

hugomatic gravatar imagehugomatic ( 2012-12-11 13:42:43 -0500 )edit
0

answered 2012-12-10 21:02:36 -0500

hugomatic gravatar image

updated 2012-12-11 13:47:42 -0500

Hi,

You must use AWS Access Keys because CloudSim interacts with Amazon Web Services over the REST api. Pem files are used to login to machines instances via SSH.

Also: please use the latest version of CloudSim (1.0.1 or later), it fixes important security issues.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-10 16:27:43 -0500

Seen: 239 times

Last updated: Dec 11 '12