Creating a Self-Hosted Agent Pool
This section introduces how to add your own hosts to the self-hosted agent pool.
Billing
This operation requires purchasing an ECS as the cloud host. For details about ECS billing, see Price Calculator.
Creating a Self-hosted Agent Pool
- Create an Elastic Cloud Server (ECS).
- You can apply for an EIP during ECS creation or you can also apply for it anytime by referring to Applying for an EIP.
- Configure a security group for the created ECS by referring to Configuring a Security Group.
- Stop idle ECSs to avoid waste and unnecessary billing.
- Obtain the AK/SK.
- Create an agent pool.
Set the pool type to LINUX_DOCKER.
- Create an agent.
Retain the default enabled status of Auto Install JDK, Auto Install Git, and Auto Install Docker.
- Run the Octopus Agent command.
- Log in to the ECS created in 1, and run the installation command, copied in the previous step, in the /root directory. The following information is displayed:
End Install Octopus Agent,Agent output logs have been printed to [ /opt/octopus-agent/logs/octopus-agent.log ]
- Check the status of the installed agent on the Agents page. If the status is Idle, the installation is successful.
If the agent status is Offline, delete the agent and repeat steps 4 to 5.
- Log in to the ECS created in 1, and run the installation command, copied in the previous step, in the /root directory. The following information is displayed:
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot