Deploying Bamboo as a service on AWS Linux 2 instance using Terraform with remote-exec provisioner. The start and stop command cannot be found.
Code snippet:
Hello @Mark C_ Duncan
Welcome to Atlassian Community!
Based on your description, there are a couple of key issues that need to be addressed to get your Bamboo agent running as a service on AWS Linux 2 instance using Terraform with the remote-exec
provisioner.
ExecStop
command (an extra slash at the beginning), and your ExecStart
and ExecStop
paths seem to be incorrect. You've mixed /root/
with ec2-user/
in the paths, which are typically home directories for different users on a Linux system. By default, ec2-user
is the default user on AWS Linux instances, not root
, so if you've installed Bamboo in the ec2-user
's home directory, ensure the paths are correct. Assuming Bamboo is installed in the ec2-user
home directory, update the paths accordingly. It should look like below:
sudo systemctl start bamboo
, not sudo start bamboo
. It should look like below:
To resolve the "Could not find source file /classpath.zip" issue, you'll need to ensure that classpath.zip
is indeed available and in the correct location expected by your installation script.
Hope it helps!
Regards,
Khushboo Gupta
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.