Friday, March 16, 2018

How to configure infrastructure in octopus deploy server and add target machine

Octopus Deploy infrastructure- 

octopus deploy allow us to deploy software to Windows, Linux, MS Azure, AWS and an offline package.
In the infrastructure all the targets are machine where the deployment goes. because deployment goes more the one target so we called it infrastrucutre. 


Step 1- Add new Environment-
To add new environment log on to octopus deploy server web portal 

 navigate to Infrastructure > Create environments 
Add new Environment octopus


> Add environment > Give name (Example-Test, DEV or PROD) 

Your enviroment created successfully.

Step 2- Install Tentacle Agent on Windows machine.
Before we add windows machine or our all web server as target, let's first install tentacale agent on target machine.




Accept license agrement and follow the installation steps.
and follow the installation steps to complete installation.

Step 3- Configure tentacale agent
At Tentacle agent welcome screen - Get started - Next - Next - Communication Style (Listening Tentacle)
Next - On the next screen enter octopus thumprint. Get the thumprint from the octopus server- Infrastructure > Select Environment > Add deployment target > Listening tentacle > Sroll down > Copy the thumbprint and enter at tantacle agent.




Next > Install


Tentacle installation complete and ready to add as target deployment


Step 3- Add Target Windows machine
Now, You are reday to add target into the test_environment.Navigate to configure infrastructure > add deployment target

Over the next screen Add deployment target

On the next screen Select target type - listening Tenacle - Download installer and install on target machine.
On the same screen scrol down the page and fill the target details
Click Next modify settings Enter common display name i.e. web-1, Tentacle URL, Target roles

Save the settings.  To review added target setting click on Infrastructure and you will get output like below.

Windows Target machine added successfully. We are ready to crete first project


No comments:

Post a Comment