AZ-900 Episode 29 | Azure Resource Locks

  Рет қаралды 121,844

Adam Marczak - Azure for Everyone

Adam Marczak - Azure for Everyone

Күн бұрын

Resource Locks protect our Azure resources from accidental deletions or modifications. In this episode we will find out how!
Skills Learned
- Describe the functionality and usage of resource locks
🌐 Site: marczak.io/az-900/#ep29
Episode Resources
- 📚 Study cheat sheet marczak.io/az-900/episode-29/...
- 🧠 Practice Test marczak.io/az-900/episode-29/...
Study Guide
- Microsoft Learn: Resource Locks docs.microsoft.com/en-us/learn...
- Azure Documentation: Resource Locks docs.microsoft.com/en-us/azur...
Agenda
00:00 Episode introduction
00:22 What are Resource Locks?
03:19 Demo
06:19 Resource Locks Summary
Want to connect?
- Blog marczak.io/
- Twitter / marczakio
- Facebook / marczakio
- LinkedIn / adam-marczak
- Site azure4everyone.com

Пікірлер: 69
@GTorchify
@GTorchify Жыл бұрын
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_ 3 жыл бұрын
Phenomenal! Your Azure content is absolutely astonishing. Microsoft need to send you a million dollars.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
I'm waiting for that million :D Thanks for the kind words!
@pranavbakare8922
@pranavbakare8922 3 жыл бұрын
Absolutely 💯!!!!!!
@shubhis2466
@shubhis2466 3 жыл бұрын
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 жыл бұрын
Glad you like them! Thanks!
@natsumiyukipeachii
@natsumiyukipeachii 3 жыл бұрын
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
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Glad you like them!
@Angel_Dinev
@Angel_Dinev 3 жыл бұрын
One more beneficial video lesson towards my quest to pass AZ-900. Thanks Adam, for supporting our efforts so generously!
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
You got this!
@AimOnTargets
@AimOnTargets Жыл бұрын
This series is awesome!
@RameshwarPoudel
@RameshwarPoudel 2 жыл бұрын
what an amazing content. So easy to follow and use
@ByteBurstAcademy
@ByteBurstAcademy 3 жыл бұрын
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.
@Noursbear
@Noursbear 2 ай бұрын
another fantastic explanation and demo
@kb8570
@kb8570 Жыл бұрын
Thank you for this video!!
@jabrouni2
@jabrouni2 3 жыл бұрын
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 3 жыл бұрын
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 :(
@GodIsWithin3
@GodIsWithin3 9 ай бұрын
Great video, thank you.
@sandeeptembare
@sandeeptembare 7 ай бұрын
Amazing Explaination !
@buddhiprab
@buddhiprab 2 жыл бұрын
😍 thanks for the great video
@ramazanbulbul5036
@ramazanbulbul5036 2 жыл бұрын
Adam gibi adam!
@idougy18091809
@idougy18091809 Жыл бұрын
Love it!
@shariqueimam4653
@shariqueimam4653 10 ай бұрын
Top work
@MohammadSameerA
@MohammadSameerA 3 жыл бұрын
That was totally informative. Big like and subscribe.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Awesome, thank you!
@dougspindler4947
@dougspindler4947 2 жыл бұрын
Excellent
@rupamshaw8713
@rupamshaw8713 Жыл бұрын
Hi Adam, Thanks for such wonderful course content I have scored 850 AZ 900 today
@ianchenjerai-wj3zu
@ianchenjerai-wj3zu Ай бұрын
how is the exam? i am planning to write it soon and I am scared
@ememetok
@ememetok 23 күн бұрын
@@ianchenjerai-wj3zu Did you end up writing the exams? I'm scared too!!!
@mfalkie
@mfalkie 2 жыл бұрын
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 :)
@xdonat
@xdonat 3 жыл бұрын
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 3 жыл бұрын
Thanks :) You can have as many locks as you like on the same resource/rg. :)
@brahmanandareddyb9134
@brahmanandareddyb9134 2 жыл бұрын
888 like its me.... nice class...THX....
@jackgleeson8321
@jackgleeson8321 3 жыл бұрын
Will you be making a video about the az-900 changes in November? I am enjoying your videos so far.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
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 Жыл бұрын
@@AdamMarczakYT Plz provide update adam asap.Thanx for the awesome content.
@baybarsbagryank7515
@baybarsbagryank7515 3 жыл бұрын
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 3 жыл бұрын
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
@jyotidatta2126
@jyotidatta2126 3 жыл бұрын
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.
@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". ;)
@stevengibson4773
@stevengibson4773 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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.
@asifsomi
@asifsomi 3 жыл бұрын
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 3 жыл бұрын
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.
@Pratimakhillari
@Pratimakhillari 3 жыл бұрын
Can we move locked resource to another resource group?
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Yes
@pareshdehadray7414
@pareshdehadray7414 3 жыл бұрын
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 3 жыл бұрын
Part of learning Azure is also playing around with it. Try this yourself if you have Azure account :)
@pareshdehadray7414
@pareshdehadray7414 3 жыл бұрын
@@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.
@abhishekkhemani3755
@abhishekkhemani3755 3 жыл бұрын
how many videos of yours should i watch to give an AZ-900 Exam ??
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
All ;)
@Ma1efcent
@Ma1efcent 3 жыл бұрын
Can you *Move* an application into a Read Only Resource Group?
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
What do you mean by 'move application' ?
@rosesandhoney
@rosesandhoney Жыл бұрын
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?
@GTorchify
@GTorchify Жыл бұрын
How about az-140? Pleaseeeee
@artisticcheese
@artisticcheese 3 жыл бұрын
You have 14 days to recover deleted storage account by creating helpdesk ticket with Microsoft, just FYI
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
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...
@jha.brajesh
@jha.brajesh 2 жыл бұрын
In this episode, you did not blink your eye on "stay tuned"😅
@abhinavsharma-xb5bq
@abhinavsharma-xb5bq 3 жыл бұрын
You didn't wink this time while saying " so stay tuned "😭. My disappointment is immeasurable and my day is ruined.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
🤣
@syedqasim936
@syedqasim936 3 жыл бұрын
you didn't blink this time.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Is it required? :)
@syedqasim936
@syedqasim936 3 жыл бұрын
wink* nah...
@tycoon1661
@tycoon1661 3 жыл бұрын
For some reason, the subtitles are in dutch. Great video though.
AZ-900 Episode 30 | Azure Resource Tags
12:34
Adam Marczak - Azure for Everyone
Рет қаралды 125 М.
AZ-900 Episode 31 | Azure Policy
14:35
Adam Marczak - Azure for Everyone
Рет қаралды 160 М.
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,5 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 65 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 27 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 36 МЛН
Azure Resource Mover - Move resources between regions, subscriptions and resource groups
23:22
John Savill's Technical Training
Рет қаралды 21 М.
Intel Shares Fall by Most Since at Least 1982
6:09
Bloomberg Technology
Рет қаралды 15 М.
ARM Templates Tutorial | Infrastructure as Code (IaC) for Beginners | Azure Resource Manager
31:05
Adam Marczak - Azure for Everyone
Рет қаралды 224 М.
AZ-900 Episode 10 | Networking Services | Virtual Network, VPN Gateway, CDN, Load Balancer, App GW
17:14
Is Microsoft Loop the End of OneNote?
17:57
Jonathan Edwards
Рет қаралды 284 М.
AZ-900 Episode 28 | Azure Role-based Access Control (RBAC)
13:42
Adam Marczak - Azure for Everyone
Рет қаралды 210 М.
How To Pass ANY Azure Certification in 2024 | Complete Guide
19:00
Travis Media
Рет қаралды 288 М.
Azure Active Directory (AD, AAD) Tutorial | Identity and Access Management Service
30:57
Adam Marczak - Azure for Everyone
Рет қаралды 700 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,3 МЛН