140 likes | 302 Views
Implementing a menu based application in FutureGrid. Alwin. Overview. IaaS Cloud Nimbus on FutureGrid Nimbus Architecture Application Reporting Tool Starting Nimbus Cloud Using Nimbus Client Application Deployment. IaaS Cloud. Infrastructure-as-a-Service ( IaaS )
E N D
Overview • IaaS Cloud • Nimbus on FutureGrid • Nimbus Architecture • Application Reporting Tool • Starting Nimbus Cloud • Using Nimbus Client • Application Deployment
IaaS Cloud • Infrastructure-as-a-Service (IaaS) • storage space, software and network equipment are offered to customer as pay per use. • Customer can deploy their own software. • Amazon EC2, GoGrid , 3 Tea, FutureGrid and the Rackspace Cloud provide IaaS service
Nimbus on FutureGrid • Nimbus is an open source to run virtual machines on FutureGrid hardware. • You can upload your own Virtual Machine image. • Each Virtual machine is assigned a public address. • User can login as root via SSH to run services, configure the system and perform computations.
Application – Reporting Tool • Reporting Application is developed in Shell scripting. • Input – CSV format. • Validation of data using awk scripting. • Final result – HTML format.
Nimbus Cloud - Access • Project Lead • ProjectMember
SSH Key Pair • Generate the SSH key pair • Upload the public key into the HPC account • Account -> Portal Account -> Edit my ssh keys -> Add a public key • Insert a title (such as, keyForFutureGrid) • Paste the public portion of your key (that is, the content of id_rsa.pub file)
Nimbus Client Download • Download nimbus client from http://www.nimbusproject.org/downloads/ • Connect to hotel on FutureGrid using username and SSH public key. Eg: $ ssh username@hotel.futuregrid.org • Unpack the nimbus client into the future grid systems Eg: $ tar xzf nimbus-cloud-client-020.tar.gz • Check if everything is ok Eg: $ bin/cloud-client.sh --help
Using Nimbus Client • List the available image in the system $ ./bin/cloud-client.sh --list • Run the "hello-cloud' image $ ./bin/cloud-client.sh --run --name hello- cloud --hours 2 ... Hostname: vm-156.uc.futuregrid.org ... "vm-013" reached target state: Running • Log into the VM $ ssh root@vm-253.uc.futuregrid.org
Using Nimbus Client • Querying workspace • check the status for all instances $ ./bin/cloud-client.sh --status • check the status for one instance $ ./bin/cloud-client.sh --status-handle <vm_id> • Saving workspace changes $ ./bin/cloud-client.sh --save --handle <vm_id> --newname <customName>
Using Nimbus Client • Adding Image to Nimbus Client $ bin/cloud-client.sh --transfer --sourcefile<name> • Check if your workspace has been created $ ./bin/cloud-client.sh --list • Deleting workspace $ ./bin/cloud-client.sh --delete --name <name> • Terminate a workspace$ ./bin/cloud-client.sh --terminate --handle <vm_id>
Application Deployment • Instead of copying the application. OS image is generated. • apt-get install qemu • create [-ffmt] [-ooptions]filename[size] • It is uploaded into FuturGrid Hardware. • Image then in added into the Nimbus Client. • Application can be accessed from the Virtual machines. • Users can access the application from web if they have the public key and phrase key.