diff --git a/.github/workflows/validate_and_fix_notebook.yml b/.github/workflows/validate_and_fix_notebook.yml index 9bf6902..8694d04 100644 --- a/.github/workflows/validate_and_fix_notebook.yml +++ b/.github/workflows/validate_and_fix_notebook.yml @@ -52,6 +52,9 @@ jobs: - name: Commit changes run: | + git fetch origin + git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }} git add -A git commit -m "Fix notebook format issues" || echo "No changes to commit" + git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed" git push origin HEAD:${{ github.event.pull_request.head.ref }} diff --git a/Cost-Management/BillingReport.md b/Cost-Management/BillingReport.md new file mode 100644 index 0000000..9428a05 --- /dev/null +++ b/Cost-Management/BillingReport.md @@ -0,0 +1,111 @@ +# Billing Report - Overview + +Costa Rica + +[![GitHub](https://badgen.net/badge/icon/github?icon=github&label)](https://github.com) [![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/Naereen/badges/) + +[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) +[brown9804](https://github.com/brown9804) + +Last updated: 2025-05-02 + +---------- + +
+List of References (Click to expand) + +- [Cost Management documentation](https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/) +- [Cost Management + Billing documentation](https://learn.microsoft.com/en-us/azure/cost-management-billing/) + +
+ +
+Table of Content (Click to expand) + +- [Cost Analysis](#cost-analysis) +- [Billing Report](#billing-report) + +
+ +## Cost Analysis + +- Select `Cost Analysis` from the Cost Management menu. +- `Use filters and groupings` to drill down into cost details by resource, resource group, or tags. +- `Save and share custom views` to keep stakeholders informed. + + image + +## Billing Report + +> Generate and download billing reports for specific resources. + +> [!NOTE] +> The total cost of the reservation is spread over the term of the reservation. This means that instead of paying the full amount upfront, the cost is amortized over the reservation period, making it easier to manage and predict expenses.
+ +> `For example`: +> By committing to the F64 reservation of Microsoft Fabric, you receive a significant discount compared to the pay-as-you-go rate. The pay-as-you-go rate might be $11.52 per hour, but with the reservation, you pay $6.853 per hour, saving ~41% + +- **Navigate to Subscription**: + - `Sign in` to the Azure portal. + - `Select` the subscription where the factory is located from the `Subscriptions` menu. +- **Access Cost Analysis**: + - In the left-hand menu, click on `Cost Management + Billing`. + - Under `Cost Management`, click on `Cost analysis`. + + image + +- **Select Time Range**: + - In the Cost Analysis window, `click on the date range selector` at the top of the page. + - `Choose the start and end dates` for the period during which the issue occurred. + - `Apply` the selected date range. + + image + +- **Group by** : + - In the Cost Analysis window, find the `Group by` dropdown menu. + - Select the desired option, e.g `Meter` from the dropdown options to group the costs by meter. + + image + +- **Add Filter**: + - Click on `Add filter` located above the cost breakdown chart. + - From the first dropdown menu, select `Resource`. + - From the second dropdown menu, `select the resource ID` of the factory in question. + - `Apply` the filter to narrow down the costs to the specific resource. + + image + + | **Filter** | **Description** | + |-------------------|---------------------------------------------------------------------------------| + | Billing period | Allows you to break down costs by the month they were invoiced. | + | Charge type | Differentiates between usage, purchase, refund, and unused reservation costs. | + | Department | Breaks down costs by EA department, if applicable. | + | Frequency | Indicates whether a charge is one-time, recurring, or usage-based. | + | Invoice ID | Breaks down costs by billed invoice. | + | Location | Breaks down costs by resource location or region. | + | Meter | Breaks down costs by usage meter. | + | Pricing model | Differentiates between on-demand, reservation, or spot usage. | + | Product | Breaks down costs by product name. | + | Provider | Breaks down costs by provider type (e.g., Azure, Microsoft 365, AWS). | + | Publisher type | Differentiates between Microsoft, Azure, AWS, and Marketplace costs. | + | Reservation | Breaks down costs by reservation. | + | Resource | Breaks down costs by resource. | + | Resource group | Breaks down costs by resource group. | + | Service name | Breaks down costs by Azure service. | + | Service tier | Breaks down costs by Azure usage meter subclassification. | + | Subscription | Breaks down costs by Azure subscription and AWS linked account. | + | Tag | Breaks down costs by tag values for a specific tag key. | + | UnitOfMeasure | The billing unit of measure for the service. | + +- **Download Report**: + - At the top of the Cost Analysis window, click on the `Download` button. + - `Choose the format` (e.g., CSV, Excel) for the report. + - `Save the report` to your local machine. + - `Share the report` with the relevant stakeholders or team members. + + image + +
+

Total Visitors

+ Visitor Count +
diff --git a/Cost-Management/BudgetAlerts.md b/Cost-Management/BudgetAlerts.md new file mode 100644 index 0000000..99c3e50 --- /dev/null +++ b/Cost-Management/BudgetAlerts.md @@ -0,0 +1,69 @@ +# Budget \& Alerts - Overview + +Costa Rica + +[![GitHub](https://badgen.net/badge/icon/github?icon=github&label)](https://github.com) [![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/Naereen/badges/) + +[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) +[brown9804](https://github.com/brown9804) + +Last updated: 2025-05-02 + +---------- + +
+List of References (Click to expand) + +- [Tutorial: Create and manage budgets](https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-create-budgets?tabs=psbudget) +- [Use cost alerts to monitor usage and spending](https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-alerts-monitor-usage-spending) + +
+ +
+Table of Content (Click to expand) + +- [Set up Budgets](#set-up-budgets) +- [Setting Up Alerts](#setting-up-alerts) +- [Optimizing Costs](#optimizing-costs) + +
+ +> Accessing Cost Management: + +- `Sign in` to the Azure portal. +- `Navigate` to `Cost Management + Billing` from the left-hand menu. + + image + +## Set up Budgets + +- Go to `Cost Management` > `Budgets`. + + image + +- `Click on` `+ Add` to create a new budget. + + image + +- `Define the scope` (e.g., subscription or resource group), set the budget amount, and configure the reset period (monthly, quarterly, or annually). +- `Set up alerts` for actual and forecasted costs, and specify email recipients for notifications. + + image + +## Setting Up Alerts + +- Go to `Cost Management` > `Alerts`. +- Click on `+ Add` to create a new alert. +- `Choose the alert type` (e.g., anomaly detection) and configure the thresholds and notification settings. + + image + +## Optimizing Costs + +- Review cost-saving recommendations provided by Azure. +- Implement suggested optimizations to reduce unnecessary spending. + +
+

Total Visitors

+ Visitor Count +
diff --git a/README.md b/README.md index 1cf106a..9561535 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Last updated: 2025-05-02 - [Microsoft Purview for Fabric](#microsoft-purview-for-fabric) - [Networking](#networking) - [Monitoring and Observability](#monitoring-and-observability) +- [Cost Management](#cost-management) @@ -168,6 +169,25 @@ Click to read more about [Microsoft Purview for Fabric - Overview](./Purview-Fab - **Event Hub Integration**: Use Event Hub to capture and analyze events for real-time monitoring. For example, leverage it for [Automating pipeline execution with Activator](./Monitoring-Observability/FabricActivatorRulePipeline/) - **Alerting**: Configure alerts for critical events and thresholds to ensure timely responses to issues. For example, [Steps to Configure Capacity Alerts](./Monitoring-Observability/StepsCapacityAlert.md) +## Cost Management + +> You can leverage `Azure Cost Management`, a suite of tools designed to help organizations monitor, allocate, and optimize their cloud spending. It provides comprehensive insights into your Azure usage and costs, enabling you to manage your budget effectively and ensure that your spending aligns with your financial goals. + +> [!TIP] +> +> - **Use Tags**: Ensure your resources are properly tagged to make filtering and grouping easier. +> - **Save Views**: You can save custom views in Cost Analysis for quick access in the future. +> - **Set Up Alerts**: Consider setting up cost alerts to monitor spending and avoid unexpected charges. + +| Feature | Details | +|------------------|-----------------------------------------------------------------------------------------------| +| **Cost Analysis**| - **Visualization**: View and analyze your costs through various charts and graphs.
- **Filtering and Grouping**: Break down costs by resource, resource group, subscription, or tags to understand spending patterns. | +| **Budgeting** | - **Create Budgets**: Set budgets for different scopes like subscriptions or resource groups.
- **Alerts**: Configure alerts to notify you when spending exceeds predefined thresholds. | +| **Cost Allocation**| - **Tag Inheritance**: Enable tag inheritance to ensure costs are allocated correctly.
- **Shared Costs**: Split shared costs across multiple departments or projects. | +| **Optimization** | - **Recommendations**: Receive recommendations for cost-saving opportunities.
- **Anomaly Detection**: Identify and address spending anomalies proactively. | +| **Reporting** | - **Custom Reports**: Generate custom reports to share with stakeholders.
- **Power BI Integration**: Use Power BI for advanced reporting and dashboard creation. | +| **Automation** | - **Data Export**: Automate the export of cost data to storage accounts for further analysis.
- **Integration**: Integrate cost data with external tools and processes. | +

Total Visitors

Visitor Count