Automating Architecture in Azure - amitbhilagude/userfullinks GitHub Wiki

  1. Azure Automation Service
    1. Service to automate the Tasks, and Processes in Azure and On-Prem.
    2. It is supported by Cross cloud(Azure, AWS, etc.), Cross Environment(Azure, On-Prem, Hybrid), Cross Platform(Windows, Linux), Cross Language(Powershell, Python, Bash)
    3. Step to create this service is to create an Automation account first. It is a top-level resource. Account should be closer to or same region as other Azure resources. This account will be as classic(This type will use ASM APIs) or Run as(This type will use ARM APIs)
    4. Azure Automation service can be used to update the IaaS activity e.g. VM patches
  2. Azure Automation Runbook
    1. Host the scripts like Powershell can schedule it.
    2. It can have parent-child relationships
  3. Assets
    1. Shared artifacts can be used across Runbook
  4. Credential and Certificates
    1. Keep the credentials and Certificates to be used by Runbook for integrating with another service
  5. Connections
    1. Used to create a connection with another service e.g. Any other Azure resource will have a connection created using a Service Principal
  6. Webhooks
    1. Can be triggered based on HTTP endpoint.
    2. you can also trigger a runbook using Webhook by configuring it in certain alert conditions.
  7. Desired State Configuration(DSC)
    1. Script can be hosted here which will pull by cloud or on-prem. The server will have The DSC needs a local agent, also known as a local configuration manager (LCM).
  8. Pricing
    1. There is no cost for Azure Automation if no runbooks are executed on it. The cost of Azure Automation is charged per minute for execution of runbook jobs. This means that if the total number of runbook execution minutes is 10,000, the cost of Azure Automation would be $0.002 per minute multiplied by 9,500, as the first 500 minutes are free.
    2. There are other costs involved in Azure Automation depending on features consumed. For example, a DSC pull server does not cost anything within Azure Automation; neither does onboarding Azure VMs on to the pull server. However, if non-Azure servers are onboarded, typically from other clouds or on-premises, then the first five servers are free and anything on top of that costs $6 per server per month in the West US region