Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Elastic Bamboo Startup Script is corrupted

I've been trying to add a Startup Script to the Base Windows AMI in order to install Visual Studio Community 2017 when the instance is created.  I thought this would be a fairly easy thing to do, but nothing I do seems to work.  Regardless of what I put in there, when the instance is running, and I look at the User Data, it's all random characters and symbols, and the script itself never seems to run.

Do I have to make a custom image to get this working?  I'd really rather not have to do that just to get this project to build.

I've tried using <powershell> tags, I've tried without.  I've tried Base64 encoding the script.  I've tried using a Bamboo task to do the install, but the bamboo user doesn't seem to have rights to install things.

I've spent the better part of a workday trying to get this one thing to work and I'm about at my wits' end.

1 answer

0 votes

Hey Roger,



When you add a Startup Script to the elastic image configuration, that script is actually bundled with a series of other scripts which is then encoded and sent to AWS.  This is why when you attempt to 'view User Data' from the AWS console, it appears all garbled.


The script you designate is sent to the EC2 instance in


You can view/debug the logs for the startup script here:



At this time, it is not possible to use Powershell startup scripts for an elastic agent.  However, we do have an open Feature Request for this functionality.  I highly recommend you comment and vote on the request.

BAM-20058: Add support for Powershell scripts to Elastic Agent User Startup Scripts.





Dev Tools Support | Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

218 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you