HPCCloud
HPCCloud copied to clipboard
Add AWS resource usage to profile view
A simple overview of resources used, something list:
1 Running instance 2 Volumes
We can work out the endpoints to call.
Also if the user logs out and they have resources running, it might be nice to give them a reminder ...
Kitware/cumulus#61 added an endpoint to get the number of running instances for a profile:
GET /user/{id}/aws/profiles/{profileId}/runninginstances
It will return a JSON object of the following form:
{
"runninginstances": <the number of running instances>
}