In today's tutorial, I'm going to show you how you can get your Azure Functions to start your Azure Container Instances automatically for you via code, giving you another avenue for managing your container lifetime. This can be particularly useful if you don't want to do it upon deployment, or using the CLI, and want to instead manage your container runtime with more fine tuned control. This doesn't have to be done from Azure Functions, you can do it anywhere you can call C# .NET from.
-------------------------------------
What's on the agenda for today?
00:00 Introduction
00:24 Looking at our base function app
01:25 Service principal permissions
03:34 Creating our ArmClient
05:59 Identifying our resource ID
06:36 Starting our container
07:02 Stopping our container
07:45 Thanks for watching!
-------------------------------------
Video for creating and uploading the container app used in this video:
• How to Launch a FastAPI Service in Az...
Video showing how to create and manage the service principal and settings described here:
• Keep Your Azure Function App Secrets ...
GitHub repo for this video:
https://github.com/rowanlea/ManagedCo...
-------------------------------------
If you need any help with Azure feel free to contact me through YouTube or any of the links below.
My Links:
► Website: https://rowanlea.co.uk/
► GitHub: https://github.com/rowanlea
► LinkedIn: / rowan-lea
► Twitter: / rowanlea1
You can also message me personally at: [email protected]
-------------------------------------
Join in and don't miss out by subscribing and returning weekly for the freshest and most exciting videos around!
#azure #containers #serverless #csharp
Смотрите видео Have Your Azure Functions Start Your Container Instances For You онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Rowan Lea 22 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,911 раз и оно понравилось 24 людям.