How to configure Self-Hosted Linux Agent in Azure DevOps

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • In this video, I show easy is to configure a self-hosted Linux agent for your Azure DevOps project. In the first part, I start with an interactive mode configuration, where you have to provide all the required parameters one by one. In the second part, I demo how to do a single-command line configuration, which is a more powerful way if you are thinking about automating your agent's creation with pipelines.
    Azure Agents configuration ###
    docs.microsoft.com/en-us/azur...
    docs.microsoft.com/en-us/azur...
  • Věda a technologie

Komentáře • 44

  • @rninness
    @rninness Před 2 lety

    Thanks for the video. I was banging my head because I was using the PAT that I had created for git which I only restricted to source control access only! Make sure the PAT you use has correct access!

  • @srcinfo
    @srcinfo Před 3 lety +1

    Very helpful guide. Helped me a lot! Thank you!

  • @illyricus1
    @illyricus1 Před rokem

    Really helpful, thanks man.

  • @ernestoluismosquera
    @ernestoluismosquera Před 2 lety +1

    Thanks for the video very useful.

  • @GR-yp6ru
    @GR-yp6ru Před 2 lety

    Great explanation and verry usefull. Thanks!

  • @matarah68
    @matarah68 Před rokem

    Excellet work! Thank you so much.

  • @susilsahoo6156
    @susilsahoo6156 Před 4 lety +1

    its really awesome and understandable. could u please upload one video for connecting a pipeline to a docker service which is running in a linux vm

  • @kayoutube690
    @kayoutube690 Před 3 lety

    Thank you so much.

  • @lavanyalluri7120
    @lavanyalluri7120 Před 3 lety

    hey i did it thank youuu...i have taken my ec2 linux machine

  • @thpyazmass
    @thpyazmass Před 4 lety

    Good info buddy #Ty ✌️🤗

    • @DevBObs
      @DevBObs  Před 4 lety +1

      Welcome. Any questions, just let me know.

    • @thpyazmass
      @thpyazmass Před 4 lety

      @@DevBObs
      Yes buddy !
      I have started working on Automation using #AzureDevOps so Need u r assistance.

    • @thpyazmass
      @thpyazmass Před 4 lety +1

      @@DevBObs
      Need end to end concept about #AzureDevOps buddy ✌️

    • @DevBObs
      @DevBObs  Před 4 lety +1

      @@thpyazmass Did you check this video czcams.com/video/_4joGOdbWqg/video.html

    • @thpyazmass
      @thpyazmass Před 4 lety

      @@DevBObs Sure buddy #Ty

  • @sudhirgoswami2882
    @sudhirgoswami2882 Před 3 lety

    mindblowing explanation, hats off to you sir. I have 1 question like what is the difference between interactive and service setup?

    • @DevBObs
      @DevBObs  Před 3 lety +1

      Hi. Interactive you have to manually run the configuration. As a service is the there is any interruption, the service will try to restore the agents.

  • @walkercheahet
    @walkercheahet Před 2 lety

    Does it need the same setup for the azure container instances as an agent?

  • @anupomghosh7670
    @anupomghosh7670 Před 2 lety +2

    Very well explained. How to keep the agent always in online state even if we close the terminal?

    • @ahmadnalzam2421
      @ahmadnalzam2421 Před 10 měsíci

      ya i aso still looking at this. is that the terminal can not closed?

    • @DevBObs
      @DevBObs  Před 4 měsíci

      Sorry for delayed answer. I was out for long time. Did you solve the challenge?

  • @walkercheahet
    @walkercheahet Před 2 lety

    how to add multi-agent in same pool?

  • @gueguet_code4818
    @gueguet_code4818 Před 2 lety +1

    Hello and thanks for the video !
    What would be the proper way to keep the Linux agent online ? Adding ./run.sh as a startup service or something... ?

  • @vladimirvarona1502
    @vladimirvarona1502 Před 3 lety

    I have tried this with ubuntu 20.04. I provide the url and the personal access token but it does not even try to connect. Any idea? the agent version I am using is V2.187.2. Thanks in advance.

  • @ratheeshkaran
    @ratheeshkaran Před 2 lety

    I followed the same steps and When I run the pipeline, I am getting an error message “##[error]unable to read data from the transport connection: connection reset by peer”. Could you please help on resolving this?

  • @karthicksettu9735
    @karthicksettu9735 Před rokem +1

    The first machine where you install your agent ..should be always running ..right ?

    • @DevBObs
      @DevBObs  Před 4 měsíci

      It depends on the goal. It should be an always runner agent.

  • @susilsahoo6156
    @susilsahoo6156 Před 4 lety +1

    hi am doing automation on azure devops. created pipeline and all and build is showing succeeded. but have few qsns like for my project if i wanted to see the build in a linux hosted server please let me know where can i see...this is very urgent and it will be helpful if u guide

    • @DevBObs
      @DevBObs  Před 4 lety

      Hi. Well this video is about how to configure self-hosted agents. You follow all the instructions I gave here and let me know if you have any problem. Maybe I misunderstood your problem?

    • @susilsahoo6156
      @susilsahoo6156 Před 4 lety +1

      @@DevBObs hi i have already followed and did the same thing. successfully ran the agent but running the pipeline ends in a problem.it failed with below error
      ##[error]Version spec 3.7.4 for architecture x64 did not match any version in Agent.ToolsDirectory.
      even though i have python in my ec2 instance still i got this error.could u please give any chat box so that i can talk there directly

    • @DevBObs
      @DevBObs  Před 4 lety

      @@susilsahoo6156 did you check if you download the right version for you unix/windows OS? Remember the agent selection is based on those.

    • @susilsahoo6156
      @susilsahoo6156 Před 4 lety

      @@DevBObs yeah i have created an ubuntu ec2-instance and was doing there and downloded url is linux i have taken for an agent

    • @susilsahoo6156
      @susilsahoo6156 Před 4 lety

      anyways i have done that. but i want a solution for creating a docker image in a self hosted machine for a microservice kind of project. each module has 2 images each. so from code base where to put those images . i mean at what level of directory i should keep the images and from pipline end what i will have to do for building the images. please reply me. if u need any other info for understanding i will give.but please reply

  • @tinatran9159
    @tinatran9159 Před 2 lety +1

    what the application did you run the command. After I run some error happen

    • @tinatran9159
      @tinatran9159 Před 2 lety

      and the config command not working

    • @DevBObs
      @DevBObs  Před 4 měsíci

      Did you solve the problem?