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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.