Version 12 (modified by ibaldin, 9 years ago)


NEuca user notes

Here are some notes on using Eucalyptus and NEuca extensions. More information can be found in Euca2ools documentation.

  • Start an instance with private addressing only (node gets only private Eucalyptus address that is only reachable from head node) in default security group.
    user@node$ euca-run-instances --addressing private -n 1 -k key.priv <EMI id>
  • Start an instance with public addressing (node gets a private Eucalyptus address and a public address, however Eycalyptus firewall rules will block access to the public IP from outside) in default security group.
    user@node$ euca-run-instances -n 1 -k key.priv <EMI id>
  • Authorize the SSH access to VMs in default group. If instances are created in security group other than default, replace 'default' with group name.
    user@node$ euca-authorize -P tcp -p 22 -s default
  • Create a security group, give SSH access to it and start an instance with public addressing and in this security group.
    user@node$ euca-add-group <group name>
    user@node$ euca-authorize -P tcp -p 22 -s <group name>
    user@node$ euca-run-instances -n 1 -k key.priv -g <group name> <EMI id>
  • Revoke SSH access to group (use 'default' for default security group)
    user@node$ euca-revoke -P tcp -p 22 -s <group name>
  • Start a VM with NEuca extensions and a public IP in default security group
    user@node$ euca-run-instances -n 1 -k key.priv --user-data-file file.ini <EMI of image with neuca tools installed>