Skip to content

Tutorial — Choose Your Hosting Plan

This Java tutorial section includes four complete plan tracks. Every track uses the same seven-step learning sequence so you can compare behavior and trade-offs with minimal context switching.

Which Plan Should I Start With?

flowchart TD
    Start[I am building an Azure Functions Java app] --> Q1{Need scale to zero?}
    Q1 -->|Yes| Q2{Need VNet integration?}
    Q1 -->|No| DEDI[Dedicated ASP]
    Q2 -->|Yes| FLEX[Flex Consumption FC1]
    Q2 -->|No| CONS[Consumption Y1]
    FLEX --> Q3{Need always warm instances?}
    Q3 -->|Yes| PREM[Premium EP]
    Q3 -->|No| FLEX

    click CONS "consumption/01-local-run/"
    click FLEX "flex-consumption/01-local-run/"
    click PREM "premium/01-local-run/"
    click DEDI "dedicated/01-local-run/"

Plan Comparison at a Glance

Feature Consumption (Y1) Flex Consumption (FC1) Premium (EP) Dedicated (ASP)
Scale to zero Yes Yes No No
VNet integration No Yes Yes Yes (tier dependent)
Deployment slots Limited No Yes Yes
Always warm instances No Optional Yes Yes
Billing model Per execution Per execution Prewarmed instances Reserved plan
Recommended Java runtime 17 17 17 or 21 17 or 21

Tutorial Tracks

Consumption (Y1)

Baseline serverless model with pay-per-execution billing and quick onboarding.

Flex Consumption (FC1)

Serverless plus networking and memory controls for modern production workloads.

Premium (EP)

Always-ready instances and advanced deployment patterns for low-latency systems.

Dedicated (App Service Plan)

Fixed-capacity hosting for teams already operating App Service footprints.

Seven-Step Learning Sequence

Step Focus Outcome
01 Local Run Build and execute Java function app locally
02 First Deploy Provision resources and deploy first release
03 Configuration Set app settings and JVM options safely
04 Logging and Monitoring Enable logs, traces, and core alerts
05 Infrastructure as Code Reproduce platform with Bicep templates
06 CI/CD Automate build, test, and deployment
07 Extending Triggers Add queue, blob, timer, and event-driven patterns

See Also

Sources