We can use the elastic bamboo configuration of atlassian bamboo to get it connected to AWS EC2 instances as agent. Elastic bamboo uses remote agent (Amazon Machine Image) to create instances of remote agents within amazon ec2.
We can executed our builds on these elastic agents in similar way we we use to run it over our local agents and remote agents.
REQUIREMENTS
- Having appropriate access over bamboo instance to modify and update the elastic configuration config
- Access to AWS account with secret key and access key
CREATING ACCESS KEY UNDER AWS FOR CONNECTING VIA BAMBOO
Login to your AWS account go to my security credentials next click on create new access key

CONFIGURATION AT ATLASSIAN BAMBOO LEVEL
Next login to your bamboo account then go under overview and then to elastic configuration under ELASTIC BAMBOO option.

Next add all your AWS related authentication details under Elastic Bamboo configuration as given below.

We can change the various option available here as per need like we can keep the values on how many instances are required at maxium or we can setup Shutdown delay option (TIme before the instance shuts down automatically.)

Once the setting is done we can click on Save Changes. Post we can click on start a new instance or manage instances
Enter the values like number of instances required what kind of image is required to be build like ubuntu stock image or windows stock image

Once we click on Submit bamboo should create elastic agent for us same we can go and check and verify under our AWS console account.

CHECKING THE AGENT UNDER AWS CONSOLE
