EGI-Federation / documentation

Sources to build EGI documentation site.
https://docs.egi.eu/
MIT License
13 stars 47 forks source link

Create VM tutorial is not clear enough #379

Open enolfc opened 2 years ago

enolfc commented 2 years ago

Short Description of the issue

The tutorial for creating a VM is not informative enough to get started. We need like a real working example on how to create a VM with some sample command line:

$ fedcloud openstack server create ... 

Summary of proposed changes

sebastian-luna-valero commented 2 years ago

Hi,

The aim of the tutorial was to put all the pieces together with pointers to the relevant documentation and avoid duplication:

https://docs.egi.eu/users/tutorials/create-your-first-virtual-machine/

Step 3 in the tutorial points to different ways to create a VM with IM Dashboard, VMOps Dashboard and fedcloudclient.

I think the following:

fedcloud endpoint vos -a # take "site" and "VO"
fedcloud openstack flavor list --site <SITE> --vo <VO> # take "name": "Computing.EGI.Ceos.1C.5G"
fedcloud openstack image list --site <SITE> --vo <VO> # take "name": "Image for EGI Ubuntu 20.04 [Ubuntu/20.04/VirtualBox]"
fedcloud openstack network list --site <SITE> --vo <VO> # take "name": "vo-access-egi-eu-network"
fedcloud openstack server create --flavor <FLAVOR> --image <IMAGE> --network <NETWORK> testvm --site <SITE> --vo <VO>
fedcloud openstack server list --site <SITE> --vo <VO>

For more details look at the fedcloudclient in https://fedcloudclient.fedcloud.eu/usage.html# and OpenStack docs in https://docs.openstack.org/python-openstackclient/

Should be included in https://docs.egi.eu/users/getting-started/cli/ instead.

If you agree, I am happy to submit a PR.

Best regards, Sebastian