EC2 StoriesHere are some EC2 stories to drive SmartFrog component development Define an AMI account
Work with the S3 FilestoreThis does not need the Ec2 filestore; we can work with S3 from behind the firewall
Update 2008-03-18: this has been implemented by way of the Restlet API; the underlying components can be used to work with any web site. Persistence components that save tuples of data to S3 or other places.Upload an AMI to S3One or more (big) files is uploaded to S3 Prior to other deployments. This takes time and, given storage costs, is not something you want to do before every run. Register an AMI imageAfter the upload, the file is turned into an AMI image Create a firewall policyRegister a set of firewall policies for a host; it could just be a list of ports to open to everyone. Deploy a public AMI
Deploy a private AMI.A private AMI is deployed
Customise a deployed AMIA custom or public AMI has been deployed. Customise it by installing new applications. This could be RPMs and apt-get, or SCP upload of Java componentry Add customisation data to a deploymentWhen you deploy a component, you can put out context-specific information. This can be retrieved by custom GETs against a http://169...URL.
Monitor an AMIAn AMI is running/has been started. Whenever this AMI is no longer pingable (by some custom definition of liveness) it should be terminated and restarted. Deploy onto an AMI using SmartFrog (no long-haul RMI)Rather than talk to SmartFrog using long-haul RMI, we want to deploy to it using the deploy-by-copy improvements SFR:SFOS-149 Remote Management with JMX
Remote management with RMIputting security aside, can we remotely manage an EC2 system using Java RMI? From home? from HP? Remote management with a REST APINeeds a RESTy API Register a deployed node with DynDNS.orgWe should be able to use our Liveness page component to do this.
Register a deployed node with a public XMPP server -jabber.org or talk.google.comWe have XMPP components that can do this; we just need to bind them to the public servers, and to get their login/passwords from somewhere. Once registered, components can talk to each other over XMPP. We could have standard operations (GET, PUT. POST, DELETE) to exchange data with other components, and so share private information. #2 Demo Application: private AMI running Smartfrog
|