Access the cloud service

Get a cloud account

Please submit a ticket on our user support specifying:

  • an explicit request for access to the CC-IN2P3 IaaS cloud platform;

  • the type of instances desired, the complete documentation is here:

    • HA (high availability): hosting an IT infrastructure at CC-IN2P3
    • computing: compute (or any other data processing)
    • R&D: dedicated to research and development activities: neither performance nor significant availability
  • the application framework (organization, laboratory, requesting group, experiment);

  • a description of the objectives pursued: what IT services? What benefits and beneficiaries?

  • the desired resource quota (number of instances, vCPUs, total memory, total storage capacity). Quotas can be redefined at any time;

  • the number of public IP addresses;

  • the network ACLs to the resources: specify the flows from/to the service, CC-IN2P3 and/or outside world in the form:

    source:port -> destination:port protocol
    
  • the expected service lifetime of the desired resources

Access your own instances

Once the required systems are instantiated, you just have to connect to the machine’s root account with the SSH key required at instantiation.

Example: with a VM instantiated with the key mykey, which private part is stored in ~/.cc-cloud-creds/mykey and a VM IP being 134.158.246.3, then use the command:

% ssh -i ~/.cc-cloud-creds/mykey root@134.158.246.3

For the sake of simplicity, consider modifying your .ssh/config configuration file by adding the following block:

Host 134.158.246.*
     User root
     PasswordAuthentication no
     IdentityFile ~/.cc-cloud-creds/mykey
     IdentitiesOnly yes
     PubkeyAuthentication yes
     Protocol 2
     ForwardX11 no
     ForwardAgent no

Connection issues

On Ubuntu (12.10+) systems

Ubuntu now disables root access by SSH by default. Two solutions:

  • go through the ubuntu account, then use sudo;

  • ask cloud-init (contextualization phase) not to disable the account:

    % cat > cloud-config.txt <<EOF
    #cloud-config
    disable_root: false
    EOF
    % nova boot --user-data cloud-config.txt [...]