rOCCI:ROCCI-cli AWS Examples
Jump to navigation
Jump to search
This page gives simple examples of using the OCCI gateway to Amazon Services as presented at the 2017 EGI Conference and Indigo Summit. You have been probably redirected here through a QR code.
Prerequisites
You need:
- a VOMS proxy certificate
- an OCCI client
- an SSH key pair
Examples
Listing Available Images
occi --endpoint https://awsocci.cesnet.cz:11443/ --auth x509 --user-cred /tmp/x509up_u`id -u` --voms --action list --resource os_tpl
Listing Available Resource Sizes
occi --endpoint https://awsocci.cesnet.cz:11443/ --auth x509 --user-cred /tmp/x509up_u`id -u` --voms --action list --resource resource_tpl
Creating a Virtual Machine
occi --endpoint https://awsocci.cesnet.cz:11443/ --auth x509 --user-cred /tmp/x509up_u`id -u` --voms --action create --resource compute \ --mixin os_tpl#ami-971238f1 --mixin resource_tpl#t2_micro --attribute occi.core.title="VMby${USER}" \ --context public_key="file://${HOME}/.ssh/id_rsa.pub" --link /network/vpc-e2e4f686
Describing a Virtual Machine
TBD
Deleting a Virtual Machine
TBD