Azure DevOps: Deploy a Windows Server with a DevOps Pipeline and Key Vault

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 46

  • @obulubabu9702
    @obulubabu9702 3 года назад +3

    Thanks a lot Roberts, its very ver use full video for Azure DevOps learners , Its a clear explanation! Thank you!

  • @DistilledBemusement
    @DistilledBemusement 9 месяцев назад +1

    Hi quick question; I'm sorta new at this and was following along, when you were setting up the KeyVault variable do you already need to have a keyvault set up beforehand (seperate to whats covered in this video)?

  • @thomaslindh4080
    @thomaslindh4080 2 года назад

    Great work. I was looking for this explanation.❤

  • @darrylblair9878
    @darrylblair9878 2 года назад +1

    Great video Travis. You packed a lot of practical information into a relatively short video. Just wondering if it is possible to automate installing additional software as part of the pipeline?

  • @randysittler7804
    @randysittler7804 2 года назад +2

    I cannot get past the Key Vault creation step, there is no key vault for me to select. Nor is Allow Access to All pipelines an option

  • @SS-go7yr
    @SS-go7yr 2 года назад

    Well explained and precise! Thank you Travis!

  • @mickeylarry3857
    @mickeylarry3857 2 года назад

    Superb! Thanks for sharing this wonderful information :)

  • @amtwork5417
    @amtwork5417 2 года назад +1

    Really helpful video. Well explained and to the point :) Thanks!

  • @n.m9476
    @n.m9476 2 месяца назад

    Very Nice. Clear instructions. thanks

    • @Ciraltos
      @Ciraltos  Месяц назад

      You are welcome!

  • @TheLaydbak
    @TheLaydbak 3 года назад

    Is there a way to provision a VM without creating a new VNet each time? What if I want to use an existing VNet?

  • @sagarravkhande1797
    @sagarravkhande1797 3 года назад

    Thanks a lot very useful video to start with AzureDevops for ARM deployment.

  • @AymanNady
    @AymanNady Год назад

    how to give SC acces to keyVault lacal admin from RBAC

  • @RogerDingoDing
    @RogerDingoDing 9 месяцев назад

    is it possible to add tags to the vm as part of the deployment?

  • @nasarazam
    @nasarazam 3 года назад +1

    For your Windows virtual desktop course, is there an option in virtual desktop to pause when not active for say 15 minutes? Then restart whenever a key is pressed? This is absolutely essential to save cost and we can neither depend of users to manually pause it, or have a fixed scheduled start and stop times ( which will be very Inflexible) . I needed to know this before subscribing for your Udemy course. Thanks

    • @Ciraltos
      @Ciraltos  3 года назад

      There is currently no option to “pause” a VM and stop charges in Azure. A VM can be deallocated to stop charges, but that action will power down the VM and restart once powered back on.

    • @nasarazam
      @nasarazam 3 года назад

      @@Ciraltos That seems like an intentional one from Microsoft to generate income in an unethical way! They have the same thing for SQL Managed Instance (not Azure SQLDB which can be paused).

    • @azeemqatar2092
      @azeemqatar2092 3 года назад

      @@nasarazam ​ You can save cost using multiple methods: 1. Shutdown (Deallocate) VM when not in use (This process can be automated using Azure automation or using web jobs) 2. Purchase reserved instances for VM, 1yr, 3 yr or 5 yr. 3. Purchase reserved instance for Disk 4. Use DevOps to completely delete the VM and related resources and re create them when needed using ARM template.

  • @azeemqatar2092
    @azeemqatar2092 3 года назад +2

    Hi Travis, thanks for the video tutorial. May I know the purpose of adding the variable group because when I tried without the variable group, it still worked.

    • @Ciraltos
      @Ciraltos  3 года назад +1

      I wondered about that as well. Creating the service connection at the subscription gives it the contributor RBAC role, including on the Key Vault. The service connection also needs the get and list permissions in the Key Vault access policy. This is added with the authorize step when setting up the variable group. I’m not sure if adding the Key Vault task alone without authorizing the account will also add the permissions to the access policy.

    • @azeemqatar2092
      @azeemqatar2092 3 года назад

      @@Ciraltos Thanks Travis, you are absolutely right, adding the Key Vault task alone won't authorize the service principal (used in the service connection) to read the secret in the key vault. We have to either set an access policy in the key vault with Secret Permissions
      (Get) or perform the variable group as demonstrated in the video. Thanks again for making the video very simple and concise.

    • @Ciraltos
      @Ciraltos  3 года назад

      Thanks. I suspect I could have called the variable group as outlined in the document below and skipped adding the Key Vault tasks. I haven't tried it, but it seems like a more elegant way to do it. docs.microsoft.com/en-us/azure/devops/pipelines/library/variable-groups?view=azure-devops&tabs=yaml

  • @cloudengineersacademy
    @cloudengineersacademy 2 месяца назад

    Excellent content!

  • @a007kaz
    @a007kaz 3 года назад +1

    quick question, on 11:40, do you need to create a new key vault cenuskeyvault01 in azure portal prior to selecting Key Vault Name ?

    • @Ciraltos
      @Ciraltos  3 года назад

      Yes, that step adds the permissions to the key vault for the DevOps service to read the secrets.

  • @francoisfournier1716
    @francoisfournier1716 2 месяца назад

    I'm having an issue with Authorizing the KeyVault. I don't get a pop up or anything it just comes back to "Authorize" and i can't assign the password.

  • @anthonymorales2412
    @anthonymorales2412 3 года назад

    Travis, do you have instead of a .json file - have one for a terraform deployment? thanks!

  • @pdaniaful
    @pdaniaful 2 года назад

    Hey Travis! great work, I love the way you deliver your content, very concise and easy to understand especially for noobs like myself. Have you got a tut where you deployed a Windows Server but using Bicep instead of json?

    • @Ciraltos
      @Ciraltos  2 года назад

      Thanks! All the Bicep content I have is here ruclips.net/p/PLnWpsLZNgHzUWIDWI0lWCTsS8wC9UaJho

  • @peroxisom5026
    @peroxisom5026 2 года назад

    Hi Travis thank you for your video it is very helpful, but I am wondering how to do this with a build and then release it in different stages. Now the VM gets deployed with the build. How can we first deploy it into a testing environment/stage and if that is successful in a productiv environment?

  • @RogerDingoDing
    @RogerDingoDing Год назад

    13 minutes into the video you are setting up the YAML pipeline...
    why is the pool vmimage set to ubuntu-latest when you are deploying a windows server?
    have i missed something here?
    cheers

    • @Ciraltos
      @Ciraltos  Год назад +1

      The ubuntu pool is what runs the pipeline job, that doesn't have to be Windows.

    • @RogerDingoDing
      @RogerDingoDing Год назад

      @@Ciraltos thanks for clarifying that... was a bit confused.. cheers!

  • @gautamdheeraj23
    @gautamdheeraj23 2 года назад

    thanks for nice explanation, your video really help me to build my first DevOps test. but vault part not worked for me.

  • @RabbitJnr
    @RabbitJnr 11 месяцев назад

    Great tutorial as always. thanks.

  • @martincayer2615
    @martincayer2615 3 года назад

    Great video Travis. Thank you!

    • @Ciraltos
      @Ciraltos  3 года назад

      Glad you liked it!

  • @ncvman
    @ncvman 2 года назад

    Great tut. I keep getting error in azure resource manager part of pipeline. ##[error]Deployment template validation failed: 'The provided value for the template parameter 'adminPassword' at line '1' and column '415' is not valid. Length of the value should be greater than or equal to '12'.
    However in the template parameter file I have the following:
    "adminPassword": {
    "value": ""
    },
    Perhaps my secret value/password in the key vault is too short?
    **Edit and fix** I notice the file requires a min of 12 length password. Once I increase pw to greater then 12 in my keyvault, it worked.
    "adminPassword": {
    "type": "secureString",
    "minLength": 12,
    "metadata": {
    "description": "Password for the Virtual Machine."
    }

  • @pratheeshvr
    @pratheeshvr 3 года назад +1

    ITs a an awesome tutorial for beginners. Could you please help me to get the template file .which you used. i could see a 404 error to accessing the gitrepo.

    • @Ciraltos
      @Ciraltos  3 года назад

      Thanks for pointing that out. It looks like the directory structure for that repo has changed. I updated the link on the page with the new location. github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.compute/vm-simple-windows

  • @bshwjt
    @bshwjt 2 года назад

    Thanks for sharing . Awesome video .

    • @Ciraltos
      @Ciraltos  2 года назад

      Thanks for watching!

  • @MuthuKumar-xv2fi
    @MuthuKumar-xv2fi 2 года назад

    thank you, nice explanation

  • @jsunmorrow
    @jsunmorrow 2 года назад

    Thanks!

  • @MajmeKriza
    @MajmeKriza 2 года назад

    Can we have more content like this one in your channel please