View on GitHub

Beyind my Cloud

Projects that we work on the stream (aka Twitch.com/fboucheros)

  • Working on AzCleanerSubscription - Adding Identity in Azure Function

    Summary

    In this session, Frank is investigating a bug in an PowerShell Azure Function related to Identity. The Azure Function executes commands that required to have access to the Azure Subscription and we are getting errors…

    Replay


    Read more...

  • Keep Subcription Clean SetUp

    Summary

    In this session, Frank is fixing some bug into the Azure Function for AzSubscriptionCleaner. Adding the Az.ResourceGraph module. Chatting with the community about some improvements related to the stream setup.

    Replay


    Read more...

  • Creating a Tool to keep our Azure Subscription Clean

    Summary

    In this session, Frank is converting Azure Subscription Cleaner (AzSubscriptionCleaner) to serverless using the Azure Function. Things are going pretty smoothly.

    Replay


    Read more...

  • Creating a Tool to keep our Azure Subscription Clean

    Summary

    In this session, Frank is creating an Azure Automation for one of the Azure Power Tool. The one that automatically deletes “expired” resources inside our Azure Subscription. Once fully created and functional, he will export the ARM template to look at what kind of resources he will need in the deployment of that solution.

    Replay

    Segments

    • 00:00:01 - Bonjour, Hi!
    • 00:00:44 - Recap the project.
    • 00:09:42 - Create the Automation RunBook.
    • 01:30:36 - Add code in the script to delete empty Resources Group
    • 01:48:17 - Export ARM Template

    Goals

    • List expired resources
    • List empty Resource Groupes
    • delete expired resources
    • Sent notification with list of expired resources
    • capture any errors that might happen

    ToDos

    • Create an easy way to add tags
    • Create an ARM template to deploy
    • Clean-up/Structure the GitHub to make sens of the 3 “tools”

    New Subscribers

    Cheers

    Streams Notes/ Snipets/ Shared urls

    This query return the resources that are expired

    • az graph query -q ‘where todatetime(tags.expireOn) > now() project name, type, expireOn=tostring(tags.expireOn) limit 5’
    • We need to add module
      • Az.Accounts
      • Az.ResourceGraph

    References

    • GitHub Project: https://github.com/FBoucher/AzurePowerTools

    • https://docs.microsoft.com/en-us/azure/kusto/query/scalar-data-types/datetime

    Read more...

  • Creating a Tool to keep our Azure Subscription Clean

    Summary

    In this session, Frank is starting a new project to Automatically delete “expired” resources inside our Azure Subscription. First things to do is to get familiar with the Kusto Query Language (KQL)…

    Replay


    Read more...


subscribe via RSS