diff --git a/instructions/6_SetupFunctionApp.md b/instructions/6_SetupFunctionApp.md new file mode 100644 index 0000000..cb78b02 --- /dev/null +++ b/instructions/6_SetupFunctionApp.md @@ -0,0 +1,65 @@ +# Step 6: Setup the Function App and and Develop + +Costa Rica + +[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) +[brown9804](https://github.com/brown9804) + +Last updated: 2025-03-18 + +------------------------------------------ + +
+ Centered Image +
+ +## Creating a Function App via the Azure portal + +1. **Sign in to Azure Portal**: Go to the Azure portal and sign in with your Azure account. +2. **Create a Function App**: + - From the Azure portal menu or the Home page, select `Create a resource`. + - In the `New` page, search for `Function App`. + + image + +3. **Select Hosting Plan**: Under `Hosting`, choose the `Consumption (Serverless)` plan for a pay-per-execution model, or select a different plan based on your needs. + + image + +4. **Configure the Function App**: + - On the `Basics` tab, fill in the required fields: + - **Subscription**: Select your Azure subscription. + - **Resource Group**: Create a new resource group or select an existing one. + - **Function App name**: Enter a globally unique name for your Function App. + - **Region**: Choose the region closest to you or your users. + - **Runtime stack**: Select the runtime stack (e.g., .NET, Node.js, Python) you want to use. + - **Version**: Choose the version of the runtime stack. + + image + +5. **Configure Storage and Networking**: + - **Storage Account**: Create a new storage account or use an existing one. + - **Operating System**: Choose between Windows or Linux. + - **Plan Type**: Select the appropriate plan type for your Function App. +6. **Monitoring**: Enable `Application Insights` to monitor your Function App, which helps in tracking performance and diagnosing issues. +7. **Review and Create**: + - Review all the configurations you have made. + - Click `Create` to deploy your Function App. + + + https://github.com/user-attachments/assets/a1ab969e-35f0-440d-b977-ce349cb69e99 + + + +## Create a Function + +- Once the Function App is created, navigate to it in the Azure portal. +- Select `Functions` from the left-hand menu, then click `+ Add` to create a new function. +- Choose a template (e.g., HTTP trigger) and configure the function settings. + + + +
+

Total Visitors

+ Visitor Count +