Skip to content

Commit d1537eb

Browse files
authored
format
1 parent 9e599c4 commit d1537eb

File tree

1 file changed

+90
-1
lines changed

1 file changed

+90
-1
lines changed

README.md

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Last updated: 2025-06-03
4444

4545
- [Important Considerations for Production Environment](#important-considerations-for-production-environment)
4646
- [Overview](#overview)
47+
- [Function App Hosting Options](#function-app-hosting-options)
4748
- [Prerequisites](#prerequisites)
4849
- [Where to start?](#where-to-start)
4950
- [Step 1: Set Up Your Azure Environment](#step-1-set-up-your-azure-environment)
@@ -147,6 +148,94 @@ Last updated: 2025-06-03
147148
> [!IMPORTANT]
148149
> Regarding `Networking`, this example will cover `Public access configuration`, and `system-managed identity`. However, please ensure you `review your privacy requirements and adjust network and access settings as necessary for your specific case`.
149150
151+
## Function App Hosting Options
152+
153+
> In the context of Azure Function Apps, a `hosting option refers to the plan you choose to run your function app`. This choice affects how your function app is scaled, the resources available to each function app instance, and the support for advanced functionalities like virtual network connectivity and container support.
154+
155+
> [!TIP]
156+
> - `Scale to Zero`: Indicates whether the service can automatically scale down to zero instances when idle.
157+
> - **IDLE** stands for:
158+
> - **I** – Inactive
159+
> - **D** – During
160+
> - **L** – Low
161+
> - **E** – Engagement
162+
> - In other words, when the application is not actively handling requests or events (it's in a low-activity or paused state).
163+
> - `Scale Behavior`: Describes how the service scales (e.g., `event-driven`, `dedicated`, or `containerized`).
164+
> - `Virtual Networking`: Whether the service supports integration with virtual networks for secure communication.
165+
> - `Dedicated Compute & Reserved Cold Start`: Availability of always-on compute to avoid cold starts and ensure low latency.
166+
> - `Max Scale Out (Instances)`: Maximum number of instances the service can scale out to.
167+
> - `Example AI Use Cases`: Real-world scenarios where each plan excels.
168+
169+
<details>
170+
<summary><strong>Flex Consumption</strong></summary>
171+
172+
| Feature | Description |
173+
|--------|-------------|
174+
| **Scale to Zero** | `Yes` |
175+
| **Scale Behavior** | `Fast event-driven` |
176+
| **Virtual Networking** | `Optional` |
177+
| **Dedicated Compute & Reserved Cold Start** | `Optional (Always Ready)` |
178+
| **Max Scale Out (Instances)** | `1000` |
179+
| **Example AI Use Cases** | `Real-time data processing` for AI models, `high-traffic AI-powered APIs`, `event-driven AI microservices`. Ideal for fraud detection, real-time recommendations, NLP, and computer vision services. |
180+
181+
</details>
182+
183+
<details>
184+
<summary><strong>Consumption</strong></summary>
185+
186+
| Feature | Description |
187+
|--------|-------------|
188+
| **Scale to Zero** | `Yes` |
189+
| **Scale Behavior** | `Event-driven` |
190+
| **Virtual Networking** | `Optional` |
191+
| **Dedicated Compute & Reserved Cold Start** | `No` |
192+
| **Max Scale Out (Instances)** | `200` |
193+
| **Example AI Use Cases** | `Lightweight AI APIs`, `scheduled AI tasks`, `low-traffic AI event processing`. Great for sentiment analysis, simple image recognition, and batch ML tasks. |
194+
195+
</details>
196+
197+
<details>
198+
<summary><strong>Functions Premium</strong></summary>
199+
200+
| Feature | Description |
201+
|--------|-------------|
202+
| **Scale to Zero** | `No` |
203+
| **Scale Behavior** | `Event-driven with premium options` |
204+
| **Virtual Networking** | `Yes` |
205+
| **Dedicated Compute & Reserved Cold Start** | `Yes` |
206+
| **Max Scale Out (Instances)** | `100` |
207+
| **Example AI Use Cases** | `Enterprise AI applications`, `low-latency AI APIs`, `VNet integration`. Ideal for secure, high-performance AI services like customer support and analytics. |
208+
209+
</details>
210+
211+
<details>
212+
<summary><strong>App Service</strong></summary>
213+
214+
| Feature | Description |
215+
|--------|-------------|
216+
| **Scale to Zero** | `No` |
217+
| **Scale Behavior** | `Dedicated VMs` |
218+
| **Virtual Networking** | `Yes` |
219+
| **Dedicated Compute & Reserved Cold Start** | `Yes` |
220+
| **Max Scale Out (Instances)** | `Varies` |
221+
| **Example AI Use Cases** | `AI-powered web applications`, `dedicated resources`. Great for chatbots, personalized content, and intensive AI inference. |
222+
223+
</details>
224+
225+
<details>
226+
<summary><strong>Container Apps Env.</strong></summary>
227+
228+
| Feature | Description |
229+
|--------|-------------|
230+
| **Scale to Zero** | `No` |
231+
| **Scale Behavior** | `Containerized microservices environment` |
232+
| **Virtual Networking** | `Yes` |
233+
| **Dedicated Compute & Reserved Cold Start** | `Yes` |
234+
| **Max Scale Out (Instances)** | `Varies` |
235+
| **Example AI Use Cases** | `AI microservices architecture`, `containerized AI workloads`, `complex AI workflows`. Ideal for orchestrating AI services like image processing, text analysis, and real-time analytics. |
236+
237+
</details>
238+
150239
## Prerequisites
151240

152241
- An `Azure subscription is required`. All other resources, including instructions for creating a Resource Group, are provided in this workshop.
@@ -408,7 +497,7 @@ Within the Storage Account, create a Blob Container to store your PDFs.
408497

409498
<img width="550" alt="image" src="https://github.com/user-attachments/assets/7c5ce746-06b7-4dd8-992f-edc597ea6c27">
410499

411-
- Choose a `hosting option`; for this example, we will use `Functions Premium`. Click [here for a quick overview of hosting options](https://github.com/brown9804/MicrosoftCloudEssentialsHub/tree/parsePDFDocIntellig/0_Azure/3_AzureAI/14_AIUseCases/0_PDFProcessingFAOF#function-app-hosting-options):
500+
- Choose a `hosting option`; for this example, we will use `Functions Premium`. Click [here for a quick overview of hosting options](#function-app-hosting-options):
412501

413502
<img width="550" alt="image" src="https://github.com/user-attachments/assets/11fabed8-1219-4090-9ba8-a79a41f2830a">
414503

0 commit comments

Comments
 (0)