This documentation relates to QuickBuild 5.0.x
Select here if you are using a different version

Amazon EC2 Integration

Version 2 by Robin Shen
on Dec 10, 2012 11:27.


compared with
Version 3 by Robin Shen
on Dec 10, 2012 12:26.


Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 h1. Situation
 Set up QuickBuild the same as tutorial [One build For One Agent], except that build agents should be started in EC2 as necessary. Launched build agents should be able to be closed if they are idle for specified amount of time to save cost.
  
 h1. Resolution
 # Set up QuickBuild according to resolution section of tutorial [One Build For One Agent].
 # Login to QuickBuild as administrator and switch to administration menu, then follow the _plugin management_ link, and edit plugin setting of _Amazon EC2 Plugin_ to provide a file containing your EC2 access keys.
  # Switch to grid page and follow the _Cloud Profiles_ link to bring out the cloud profiles page. Add a cloud profile with _node launch setting_ specified as _Launch Node into Amazon EC2_ and fill relevant EC2 node launch options. Specifically the _AMI ID_ should be filled with the identifier of the AMI you created in above step.
  # Create appropriate build agent AMI following [this guide|Create Build Agent AMI] if necessary.
 # Switch to grid page and follow the _Cloud Profiles_ link to bring out the cloud profiles page. Add a cloud profile with _node launch setting_ specified as _Launch Node into Amazon EC2_ and fill relevant EC2 node launch options. Specifically the _AMI ID_ should be filled with the identifier of the build agent AMI you created previously.
 # QuickBuild will proceed to do a test launch of your defined cloud profile to grab system/user attribute of node launched by your profile. Grabbed system/user attributes will be used afterwards to match against node matcher setting of build steps to determine which profile has to be used to launch node if no active agents satisfy the criteria.