Skip to content

InsightsAutomation

AWS Systems Manager Automation can now run runbooks against Azure and Google Cloud resources

On 23 November 2026 AWS announced that Systems Manager Automation runbooks can act on Azure and Google Cloud resources through a Cloud Connector. How targeting, the new API actions and credentials work, and what to settle before pointing it at another cloud.

Published November 27, 20266 min read

On 23 November 2026 AWS announced that AWS Systems Manager Automation can now run operational tasks on Azure and Google Cloud resources, not only on AWS. Runbooks can roll out in controlled batches, pause for approval and stop when errors pass a threshold, and they can now do that for a VM in another cloud. The capability is available in every AWS Region where you can create a Systems Manager Cloud Connector.

If you already use Automation for AWS, this gives you one runbook engine, one approval flow and one audit trail for a fleet that spans clouds. If you do not, it is not a reason to start. This article covers how it works, based on the announcement and the documentation, and what to decide before using it. For the general practice of turning manual steps into reviewed automation, see runbooks as code.

How access works

The unit of access is a Cloud Connector. You create one for Azure or for Google Cloud, and Automation assumes the connector's IAM federation role and exchanges a web identity token for short-lived cloud credentials. The documentation states that you do not store Azure or Google Cloud credentials in AWS. It is the same idea as replacing long-lived CI credentials with OIDC federation: no static keys, and what a run can do is bounded by what the federated identity can do in the other cloud.

Two details matter in practice:

  • A connector belongs to one AWS Region. Start the automation in the Region where you created the connector. In another Region, Automation cannot read it.
  • Run with the connector's automation assume role. The documentation recommends it. Systems Manager creates it when you enable node management for the connector and keep the default Automation execution role.

Three ways to point a runbook at resources

MethodUse it forNotes
Cloud Connector target with rate controlMany resourcesAutomation finds matching resources and runs the runbook once for each, as a child automation
Parameter values with rate controlA known list of VMsUp to 50 VM IDs. Above that, use a Cloud Connector target
Simple or manual executionA specific resourceThe runbook runs once, with the resource IDs in its inputs

With a Cloud Connector target and no filters, the default is the running VMs in every subscription or project the connector covers. Filters narrow that. For Azure they include subscription, region, resource group, resource type and tag. For Google Cloud they include project, zone, asset type, and included or excluded labels.

The target is a JSON string with a Key of CloudConnector (case-sensitive):

target-value.json
{
  "CloudConnectorId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
  "GcpProjects": ["my-project"],
  "Zones": ["us-central1-a"],
  "GcpInstanceStates": ["RUNNING"],
  "IncludesLabels": { "env": "dev" }
}

The runbook itself must take the resource ID as an input, either of a resource type such as microsoft.Compute/VirtualMachines or compute.googleapis.com/Instance, or a String with an allowedPattern that accepts the form Automation passes. Azure IDs arrive in lowercase, and a Google Cloud VM arrives as projects/PROJECT/zones/ZONE/instances/NAME. The runbook must also take the connector ID as an input, and Automation does not set it from the target. The console fills it only when the input is named CloudConnector.

Runbook actions for another cloud's APIs

The announcement lists six new actions, three for each cloud:

AzureGoogle CloudPurpose
aws:executeAzureApiaws:executeGcpApiCall one API operation and select values from the response
aws:assertAzureResourcePropertyaws:assertGcpResourcePropertyContinue only if a property has one of a set of values
aws:waitForAzureResourcePropertyaws:waitForGcpResourcePropertyWait until a property has one of a set of values

Each takes a CloudConnector input and a Package input naming the SDK package. The following step starts a Google Cloud instance and waits for it, adapted from the documentation's example:

start-instance.yaml (steps)
  - name: startInstance
    action: aws:executeGcpApi
    inputs:
      Service: compute
      Api: Instances.Start
      Package: gcp_202610
      CloudConnector: '{{ CloudConnector }}'
      project: '{{ parseInstanceId.Project }}'
      zone: '{{ parseInstanceId.Zone }}'
      instance: '{{ parseInstanceId.InstanceName }}'
  - name: waitForRunning
    action: aws:waitForGcpResourceProperty
    timeoutSeconds: 600
    inputs:
      Service: compute
      Api: Instances.Get
      Package: gcp_202610
      CloudConnector: '{{ CloudConnector }}'
      project: '{{ parseInstanceId.Project }}'
      zone: '{{ parseInstanceId.Zone }}'
      instance: '{{ parseInstanceId.InstanceName }}'
      PropertySelector: $.status
      DesiredValues:
        - RUNNING

The behaviour to design around is documented plainly:

  • An action is one API call. It does not read further pages of a list and does not wait for a long-running operation. Starting a VM returns when the cloud accepts the request, so add a wait step, and set timeoutSeconds on it.
  • Parameter names follow the cloud's REST reference. For Azure, drop the leading $ from OData parameters. Azure header parameters are not supported. Put a request body in the Body input.
  • Responses are capped at 358,400 characters before selectors apply. A larger response fails the step, so request one resource or a smaller page.
  • Permissions are separate. The documentation notes that the role connector setup gives the Google Cloud service account can read instances but does not include compute.instances.start. Until you grant a role with it, the step fails with a GCP client error (403).

When you need several calls or your own logic, aws:executeScript includes the Azure and Google Cloud Python SDKs. Set CloudConnector and Package on the step, and Automation puts an access token in AZURE_ACCESS_TOKEN or GCP_ACCESS_TOKEN. The token cannot be refreshed and a step runs for at most 600 seconds. Do not print it or return it as output. PowerShell cannot use Package yet, so a PowerShell script has to call the REST API with the token itself.

Starting a batch with a brake

Rate control is what makes this safe to run on a fleet. Starting a run from the CLI looks like this:

start-automation.sh
aws ssm start-automation-execution \
  --document-name stop-dev-vms \
  --targets file://cloud-connector-target.json \
  --target-parameter-name VmId \
  --max-concurrency 5 \
  --max-errors 2 \
  --parameters "CloudConnector=$CONNECTOR_ID,AutomationAssumeRole=$ASSUME_ROLE_ARN"

Here --target-parameter-name is required for rate control, and cloud-connector-target.json holds a single target whose Key is CloudConnector and whose Values list contains the JSON string from above. Automation runs the runbook once per resource in separate child automations, at most five at a time here, and stops launching more after two errors. A bad filter then touches a handful of VMs, not all of them. Results appear as child automations on the Automation page.

What to settle before you use it

  • Start read-only. The first runbook against another cloud should assert or report, not change. Use aws:assertAzureResourceProperty or a script that reads state, and review what the target resolved.
  • Give the connector's identity the smallest roles that work. A script can do only what the connector's identity can do, so each new runbook usually means a new role grant in Azure or Google Cloud. Treat those grants like any other least-privilege IAM change.
  • Keep a tag or label contract. Targets filter on Azure tags and Google Cloud labels. A runbook that stops "dev VMs" is only as accurate as the tagging on them, and label and tag rules differ between clouds.
  • Plan for the Region coupling. Your automation is tied to the AWS Region of the connector. If that Region is unavailable, so is your way of running these runbooks, so keep a manual path for the incidents that matter.
  • Ask whether native tools already do it. Azure and Google Cloud have their own automation services. This helps most when one team owns operations across clouds and wants one approval and audit model.

What the announcement does not say

The page does not state quotas beyond those in the documentation, and this article does not cover pricing, which you should check separately. It does not say how well runbooks written for one cloud carry over to the other: the actions, parameter names and resource types differ, so expect to write each runbook per cloud. Treat the connector setup guides for Azure and Google Cloud as the starting point, and try it on a handful of tagged development VMs first.