OpenNebula access using AWS-SDK?

Hi All,

Can we use AWS-SDK like in Golang or Node.js to access openNebula ?

I tried it but I get authentication failure. My username and password are correct, I am using Golang so the code is :

sess, err := session.NewSession(&aws.Config{
Region: aws.String(“opennebula”),
Credentials: credentials.NewStaticCredentials(“userid”, “keysecret”, “token”),
ec2Svc := ec2.New(sess, &aws.Config{Endpoint: aws.String(“Endpoint here”)})

result, err := ec2Svc.DescribeImages(nil)
if err != nil {
fmt.Println(“Error”, err)
} else {
fmt.Println(“Success”, result)

If I use econe tools then it work fine. Does anyone know what the problem could be?

thank you!

Hello, I am playing little bit with econe server and accessing opennebula using ec2 tools, but abstraction of ec2 api is very small and very simple. In practical can not be used.

But if you want to program own app in nodejs or golang, them you can use prepared packages.

and also for python