GithubHelp home page GithubHelp logo

AuthorizationException about cloudml HOT 7 OPEN

fsamreen avatar fsamreen commented on August 15, 2024
AuthorizationException

from cloudml.

Comments (7)

nicolasferry avatar nicolasferry commented on August 15, 2024

Hi,

Is the content of the file:
C:/credentials/credentials/accesskey

as follows?
login=ec2_access_key_id
passwd=ec2_access_key

Also, have you created a security group called sensapp?
I see that you are trying to use our shell script to install MongoDB, unfortunately, we have removed our shell script repository. If needed I can provide you with this script.

Best regards,
Nicolas

from cloudml.

fsamreen avatar fsamreen commented on August 15, 2024

Hi Nicolas,

Thanks for your reply.
Content of the files are same as you mentioned. I have changed your repository with mine ( a test bash script just to create two directories). I am facing error about image id. If I give only image id it displays following error
shell2
If I add region then it gives error about not finding image id, see following
shell3

Other than that I am facing following issues:

  1. Shell is unable to load a deployment model from any location except if the file is in /ui/shell/target.

  2. If I write exit command shell does not exit to cmd.

  3. If I rerun the "load deployment" command it end up giving many errors, which does not make sense to me, see following
    shell4

  4. I tried using CloudML web editor by following the given tutorial. I get error connecting server. I am able to load a model (faizasample1) and can see it, though nothing happens on click to deployment.

A quick question: Does CloudML support deployment on Microsoft Azure?

I am afraid I have not much time left to finish this phase of project and so asking loads of questions in one go.

Thanks for your help.

Faiza

from cloudml.

nicolasferry avatar nicolasferry commented on August 15, 2024

Hello,

Regarding error 0, the issue when creating a VM:
Please remove the "b" in the definition of the region. I think this should fix your error.
"imageId" : "eu-west-1/ami-1b791862",
"location" : "eu-west-1",

Regarding point 2:
This is possible, no need to put the deployment model in the target repository (e.g., feel free to write load deployment from ../test.json). BTW, remember that the paths in the model should be relative to the location of the cloudml-shell.jar

Regarding point 3:
Yes, we need to fix this. There is a thread which is not properly killed :(

Regarding point 4:
3 years ago, yes we were supporting Microsoft Azure. I cannot guarantee that this is still working (maybe the Azure API has changes since then)! If you want I can provide you with an examples. Preferred providers are EC2, OpenStack, Flexiscale and cloudsigma.

Best regards,
Nicolas

from cloudml.

fsamreen avatar fsamreen commented on August 15, 2024

Hi Nicolas,

Thank you for your quick reply. Finally, I managed to deploy a simple test:) Happy to close this thread, but before that could you please entertain few more questions.

  1. It would be great if you can share azure example.

  2. Do you have any example deployment model for MPI/NFS cluster on cloud?

  3. I give it a go to the textual editor for cloudML-dsl as well. I have whole lots of naive questions (i.e. what is ML and SL, how to define internal/external component, what are optional points in defining a component, what does "properties" represent, etc) and wondering if there is some document/guide to get good help to write a deployment model. I tried grasping concepts through the meta-model diagram, but it is not complete i think.

  4. I would like to use CloudML web editor. As I mentioned earlier that I get an error " error connecting server". I might not following proper steps, what is the best resource to look for details?

You have been a great help Nicolas, I hope I am not overwhelming you with loads of questions.

Many Thanks,
Faiza

from cloudml.

fsamreen avatar fsamreen commented on August 15, 2024

Hi Nicolas,

Any updates?

Thanks,
Faiza

from cloudml.

nicolasferry avatar nicolasferry commented on August 15, 2024

Hi,

It would be great if you can share azure example.

Done, available in the docs\samples repository. Please remember that this has not been tested for years now. So, it might not work anymore as the APIs might have changed.

Do you have any example deployment model for MPI/NFS cluster on cloud?

Unfortunately, no.

I give it a go to the textual editor for cloudML-dsl as well. I have whole lots of naive questions (i.e. what is ML and SL, how to define internal/external component, what are optional points in defining a component, what does "properties" represent, etc) and wondering if there is some document/guide to get good help to write a deployment model. I tried grasping concepts through the meta-model diagram, but it is not complete i think.

For questions regarding how to use "cloudML-dsl" editor, please raise issues directly in its GitHub repository. For more details about the language itself, please have a look at: https://dl.acm.org/citation.cfm?id=3125621

I would like to use CloudML web editor. As I mentioned earlier that I get an error " error connecting server". I might not following proper steps, what is the best resource to look for details?

Maybe the simplest is to have a look at this video: https://www.youtube.com/watch?v=sX74-V4MOYk&index=2&list=PLbBGi9aM1SkVSBai9E1hrGpsMlB_2mFdq&t=0s

Br,
Nicolas

from cloudml.

fsamreen avatar fsamreen commented on August 15, 2024

Hi Nicolas,

Thank you for sending over the links, very helpful.
Could you please explain the credential format for Azure?

  1. What does a login and password indicate (from Azure perspective) in the ./credential. Does this coincide with ADC, i.e, client ID and secret key?
  2. What does "value" indicates?("value" : "9e3075ae-9384-4f05-a8e4-b82818bc4884") --is this subscription ID or tenant ID?
  3. The ssh key value in vm description is .ppk or pfx? (sshKey" : "azurekey/azurePrivate.pfx")

Many Thanks,
Faiza

from cloudml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.