Have Your Azure Functions Start Your Container Instances For You

Published: 22 May 2023
on channel: Rowan Lea
1,911
24

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


Watch video Have Your Azure Functions Start Your Container Instances For You online without registration, duration hours minute second in high quality. This video was added by user Rowan Lea 22 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,911 once and liked it 24 people.