AZ-900 Episode 29 | Azure Resource Locks

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น •

  • @GTorchify
    @GTorchify ปีที่แล้ว +10

    Passed my exams today thanks to your videos. So grateful. Was blessed to have your teaching for free on youtube, best teaching on the internet, your the real MVP, thanks a million🎉🎉🎉🎉🎉

  • @_indrid_cold_
    @_indrid_cold_ 4 ปีที่แล้ว +18

    Phenomenal! Your Azure content is absolutely astonishing. Microsoft need to send you a million dollars.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +11

      I'm waiting for that million :D Thanks for the kind words!

    • @pranavbakare8922
      @pranavbakare8922 3 ปีที่แล้ว +1

      Absolutely 💯!!!!!!

  • @shubhis2466
    @shubhis2466 3 ปีที่แล้ว +5

    This whole series of AZ-900 is so helpful. I love how you pick up each topic from basics! I was completely new to the world of cloud computing. But you made it so easy and interesting at the same time. Thank you so much :) :)

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว +1

      Glad you like them! Thanks!

  • @Angel_Dinev
    @Angel_Dinev 3 ปีที่แล้ว +1

    One more beneficial video lesson towards my quest to pass AZ-900. Thanks Adam, for supporting our efforts so generously!

  • @natsumiyukipeachii
    @natsumiyukipeachii 3 ปีที่แล้ว +1

    What I love the most about your videos are the diagrams! They sure help a lot :) I am almost done with you playlist and I sure did learn a lot

  • @CloudHours
    @CloudHours 3 ปีที่แล้ว +4

    first of all, it was a great video again and I like all your videos :)
    what I found interesting in resource lock is when you assign a "Delete" resource lock to RG and if you create a new RG without any lock, you can move the resource from Locked RG to No Lock RG and delete the resource.
    You have to make sure you give proper permissions to other users so that they cant move the resource to other RG's otherwise purpose of resource lock would fail :)

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      Hehe, sneaky! But yea, totally agree. Only owner can remove lock, but contributor can move resources. Need to stay vigilant with access management.

  • @harisubra
    @harisubra 4 ปีที่แล้ว +2

    Timely video and a very important one. Thank you for this.
    Just one drawback I can think of Azure resource locks is that they only protect against operations aimed at ARM APIs for some Azure resources. It does not protect against programmatic deletions. For ex - even if you apply a resource lock against deleting an Azure Service bus Queue, it will prevent it from deleting in the portal. But it won't protect against deletions initiated say by a ASB .net client or ASB Explorer.
    Azure resource locks are very important but they are one among the various measures that that needs to be enforced(Granular control, audit logs, diagnostic settings, etc)

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      Azure evolves all the time, hopefully in the future all missing pieces will be there. It's the same with Azure Policies which doesn't cover all APIs either :(

  • @rupamshaw8713
    @rupamshaw8713 ปีที่แล้ว +2

    Hi Adam,
    Thanks for such wonderful course content
    I have scored 850 AZ 900 today

    • @Stuntman263
      @Stuntman263 6 หลายเดือนก่อน +1

      how is the exam? i am planning to write it soon and I am scared

    • @ememetok
      @ememetok 5 หลายเดือนก่อน

      @@Stuntman263 Did you end up writing the exams? I'm scared too!!!

  • @BB-gj7de
    @BB-gj7de 4 หลายเดือนก่อน

    Thank you for this amazing video!!!

  • @AimOnTargets
    @AimOnTargets ปีที่แล้ว

    This series is awesome!

  • @Noursbear
    @Noursbear 7 หลายเดือนก่อน

    another fantastic explanation and demo

  • @RameshwarPoudel
    @RameshwarPoudel 2 ปีที่แล้ว

    what an amazing content. So easy to follow and use

  • @sandeeptembare
    @sandeeptembare ปีที่แล้ว

    Amazing Explaination !

  • @MohammadSameerA
    @MohammadSameerA 3 ปีที่แล้ว +1

    That was totally informative. Big like and subscribe.

  • @kb8570
    @kb8570 ปีที่แล้ว

    Thank you for this video!!

  • @buddhiprab
    @buddhiprab 2 ปีที่แล้ว

    😍 thanks for the great video

  • @ramazanbulbul5036
    @ramazanbulbul5036 2 ปีที่แล้ว

    Adam gibi adam!

  • @GodIsWithin3
    @GodIsWithin3 ปีที่แล้ว

    Great video, thank you.

  • @stevengibson4773
    @stevengibson4773 4 ปีที่แล้ว +1

    What would be the best practice given many resources require deletion locks be lifted in order to perform updates (such as AKS clusters) or to make changes to the resources? My team finds it very difficult to manage resource-group level locks while also making changes to the environment as we need to constantly take the locks off. It seems taking the locks off is a security risk as in that window of time, the resources can be deleted, which defeats the purpose of the locks.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      A great question Steven. In general, tools are to assist you, not the other way around :) unless a specific scenario is presented, it's hard to propose the 'best' solution.
      For example, referring to the points you made.
      1. AKS creates a separate resource group for node management so it can easily create and destroy worker nodes at will. As such, it's not affected by a lock on the resource group where the service resides.
      2. Delete locks do not forbid from making changes. So your team should not be affected. But in general resource locks are more for production use because deleted services can be recreated easily. But lost data is a business continuity issue, so resource locks help with that.
      3. Dev team shouldn't make constant changes in production.
      4. Lastly, locks are just complementary to RBAC roles. So maybe custom roles with custom permissions and no delete action would better fit your scenario.
      Hopefully agree with me here, it really does depend on the scenario. When it comes to 'best' practices you will find as many opinions as there are people out there. But if you ask me, what would I do? Then I use RBAC to provide fine-grained permissions and restrict access as if there were no locks anyway. Then I provide only access to my dev team to dev environment. Only allow the operations team to perform prod deployment and always ONLY using scripts that were tested in QA/UAT before prod. Never by hand. Often via Azure DevOps (in this case even ops team can't change resources). Lastly, I add resource locks (delete) to all services that contain data and have no external backups, especially storage account. Everything else can be easily recreated as I keep my code and infrastructure in Git/GitHub/DevOps.

    • @stevengibson4773
      @stevengibson4773 4 ปีที่แล้ว

      @@AdamMarczakYT Thanks for this thoughtful reply. I agree with many of your points. My organization is having a meeting around this soon and your perspective is appreciated.

  • @baybarsbagryank7515
    @baybarsbagryank7515 4 ปีที่แล้ว +2

    Hey Adam,
    Thank you for this great video. I want to ask a question. Which program do you prepare the slides with? It has very stylish things like animations, transitions, handwriting.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      That's just PowerPoint and hand drawn animations using surface pen. Thanks for the kind words ;)

    • @Southpaw07
      @Southpaw07 3 ปีที่แล้ว

      @@AdamMarczakYT Hand drawn? Wow! this is just Pure talent. Adam, u da man... And love all your video's. TY I am a subscriber

  • @jackgleeson8321
    @jackgleeson8321 4 ปีที่แล้ว +2

    Will you be making a video about the az-900 changes in November? I am enjoying your videos so far.

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      Agenda from episode 28-th already follows updates. I will later release content catch up videos for the topics that were added before ep-28.

    • @nikitarajpoot
      @nikitarajpoot 2 ปีที่แล้ว

      @@AdamMarczakYT Plz provide update adam asap.Thanx for the awesome content.

  • @jyotidatta2126
    @jyotidatta2126 3 ปีที่แล้ว +1

    Thank you for your videos. They are very helpful in understanding Azure. However more content can be added in this lesson like "Can a delete lock be applied on top of a read only lock", " Can multiple read only or delete locks can be applied"?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      There always can be more content. But this is just introduction, not an in-depth admin course. This is why the docs exist :) thanks for watching.

  • @xdonat
    @xdonat 4 ปีที่แล้ว +2

    Hey Adam, you do an awesome job with those videos, that is really helpful thank you so much.
    Az900 Certification question: Can you add two DELETE locks on a same resource / resource group?
    I thought that was a tricky one...

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +2

      Thanks :) You can have as many locks as you like on the same resource/rg. :)

  • @idougy18091809
    @idougy18091809 2 ปีที่แล้ว

    Love it!

  • @mfalkie
    @mfalkie 3 ปีที่แล้ว

    Hi Adam, thanks for awesome content! I do not know what was possible when you recorded this material, but currently it’s possible to un-delete a storage account within 7 days. I’ve been there :)

  • @shariqueimam4653
    @shariqueimam4653 ปีที่แล้ว

    Top work

  • @dougspindler4947
    @dougspindler4947 3 ปีที่แล้ว

    Excellent

  • @pareshdehadray7414
    @pareshdehadray7414 4 ปีที่แล้ว +1

    If I have a resource lock on one resource and if I delete its resource group then what will happen?
    1. delete the resource group along with all resources?
    2. delete the other resources which are not having lock?
    3. will not delete any resource as at least one resource is having lock?

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      Part of learning Azure is also playing around with it. Try this yourself if you have Azure account :)

    • @pareshdehadray7414
      @pareshdehadray7414 4 ปีที่แล้ว +1

      @@AdamMarczakYT Thanks Adam. I tried it and found that if any of the resource is having Delete Lock in a Resource Group then we cannot delete that Resource Group even other resources are not having any lock in that resource group.

  • @madridosv
    @madridosv 2 ปีที่แล้ว

    Thank you so much for your knowledge and ¡¡¡ teaching skill !!!. Unfortunately from Argentina the subtitles of this episode can only be seen in "Dutch". ;)

  • @asifsomi
    @asifsomi 4 ปีที่แล้ว

    Lock will be applicable to resouce level only or it will reflect the inner functions of resouce ? like delete lock shouldnt prevent delete /udpate sql in sql server. pls clarify

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +1

      It applies to all actions that go through resource manager. Which is quite tricky unfortunately because some actions do and some don't, it's just legacy thing. But in general it applies to properties of the resource not inner parts. For example Blob Containers are considered resource properties (configuration) and are affected. But blob files are not.

  • @rosesandhoney
    @rosesandhoney 2 ปีที่แล้ว

    I have repeated the steps over and over but am not getting that message. I receive "Are you sure want to delete....." is there an update?

  • @brahmanandareddyb9134
    @brahmanandareddyb9134 3 ปีที่แล้ว

    888 like its me.... nice class...THX....

  • @Pratimakhillari
    @Pratimakhillari 3 ปีที่แล้ว

    Can we move locked resource to another resource group?

  • @Ma1efcent
    @Ma1efcent 3 ปีที่แล้ว

    Can you *Move* an application into a Read Only Resource Group?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      What do you mean by 'move application' ?

  • @abhishekkhemani3755
    @abhishekkhemani3755 4 ปีที่แล้ว

    how many videos of yours should i watch to give an AZ-900 Exam ??

  • @GTorchify
    @GTorchify ปีที่แล้ว

    How about az-140? Pleaseeeee

  • @jha.brajesh
    @jha.brajesh 2 ปีที่แล้ว

    In this episode, you did not blink your eye on "stay tuned"😅

  • @artisticcheese
    @artisticcheese 4 ปีที่แล้ว +1

    You have 14 days to recover deleted storage account by creating helpdesk ticket with Microsoft, just FYI

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      True. Although not all scenarios are supported (as described in the link). I'd say it's better to assume it's gone and treat this as exception rather than a 'plan B' :). Also 14 days are not guarantees, entire recovery thing is most likely not guaranteed. But it's an excellent point.
      docs.microsoft.com/en-us/troubleshoot/azure/general/data-restore-storage?WT.mc_id=AZ-MVP-5003556

    • @iraju9964
      @iraju9964 3 ปีที่แล้ว

      I think it may take less time sometimes based upon the priority and weightage Microsoft helpdesk may respond. I heard it, is it not true Adam Marckzac...

  • @abhinavsharma-xb5bq
    @abhinavsharma-xb5bq 3 ปีที่แล้ว +6

    You didn't wink this time while saying " so stay tuned "😭.
    My disappointment is immeasurable and my day is ruined.

  • @tycoon1661
    @tycoon1661 3 ปีที่แล้ว

    For some reason, the subtitles are in dutch. Great video though.

  • @syedqasim936
    @syedqasim936 4 ปีที่แล้ว

    you didn't blink this time.