{
  "info": {
    "_postman_id": "f5e1e411-db50-48ae-b1a6-5a506c5d1494",
    "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=AttachInstances API",
    "description": "<fullname>Amazon EC2 Auto Scaling</fullname> <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.</p> <p>For more information, see the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/\">Amazon EC2 Auto Scaling User Guide</a> and the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html\">Amazon EC2 Auto Scaling API Reference</a>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:17:20.000Z",
    "updatedAt": "2026-07-28T10:17:20.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f5e1e411-db50-48ae-b1a6-5a506c5d1494"
  },
  "item": [
    {
      "name": "#Action=AttachInstances",
      "item": [
        {
          "name": "Amazon EC2 Auto Scaling GET_ Attach Instances",
          "id": "77b41848-4781-4b70-a590-d281f2fca2b1",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/?InstanceIds=<string>&InstanceIds=<string>&AutoScalingGroupName=<string>&Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "The IDs of the instances. You can specify up to 20 instances.",
                  "key": "InstanceIds",
                  "value": "<string>"
                },
                {
                  "description": "The IDs of the instances. You can specify up to 20 instances.",
                  "key": "InstanceIds",
                  "value": "<string>"
                },
                {
                  "description": "(Required) The name of the Auto Scaling group.",
                  "key": "AutoScalingGroupName",
                  "value": "<string>"
                },
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "AttachInstances"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=AttachInstances"
            },
            "description": "<p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p> <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.</p> <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html\">Attach EC2 instances to your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "6349f9d2-148c-4df4-a129-7caffa75ac63",
              "name": "Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?InstanceIds=<string>&AutoScalingGroupName=<string>&Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "The IDs of the instances. You can specify up to 20 instances.",
                      "key": "InstanceIds",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-6349f9d2-148c-4df4-a129-7caffa75ac63"
            },
            {
              "id": "71124f3a-a403-4511-9bdb-603c34f01c0c",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?InstanceIds=<string>&AutoScalingGroupName=<string>&Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "The IDs of the instances. You can specify up to 20 instances.",
                      "key": "InstanceIds",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-71124f3a-a403-4511-9bdb-603c34f01c0c"
            },
            {
              "id": "aa6eebee-7262-45b9-8ed7-c62e911044e2",
              "name": "ServiceLinkedRoleFailure",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?InstanceIds=<string>&AutoScalingGroupName=<string>&Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "The IDs of the instances. You can specify up to 20 instances.",
                      "key": "InstanceIds",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-aa6eebee-7262-45b9-8ed7-c62e911044e2"
            }
          ],
          "createdAt": "2026-07-28T10:17:20.000Z",
          "updatedAt": "2026-07-28T10:17:20.000Z",
          "uid": "35240-77b41848-4781-4b70-a590-d281f2fca2b1"
        },
        {
          "name": "Amazon EC2 Auto Scaling POST_ Attach Instances",
          "id": "814395b7-35e3-47a3-bb73-ec6a437b9b96",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "text/xml"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceIds>(string)</InstanceIds>\n  <InstanceIds>(string)</InstanceIds>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n</element>",
              "options": {
                "raw": {
                  "headerFamily": "xml",
                  "language": "xml"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/?Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "AttachInstances"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=AttachInstances"
            },
            "description": "<p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p> <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.</p> <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html\">Attach EC2 instances to your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "7a2f3381-30d3-41b1-9ce7-99ac8e3bba9b",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceIds>(string)</InstanceIds>\n  <InstanceIds>(string)</InstanceIds>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-7a2f3381-30d3-41b1-9ce7-99ac8e3bba9b"
            },
            {
              "id": "c910ff48-4087-4aaf-91e9-68d3451d9860",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceIds>(string)</InstanceIds>\n  <InstanceIds>(string)</InstanceIds>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-c910ff48-4087-4aaf-91e9-68d3451d9860"
            },
            {
              "id": "601506d8-67a3-4f60-a23f-0f8f61c146b2",
              "name": "ServiceLinkedRoleFailure",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceIds>(string)</InstanceIds>\n  <InstanceIds>(string)</InstanceIds>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachInstances&Version=2011-01-01#Action=AttachInstances",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachInstances"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachInstances"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:20.000Z",
              "updatedAt": "2026-07-28T10:17:20.000Z",
              "uid": "35240-601506d8-67a3-4f60-a23f-0f8f61c146b2"
            }
          ],
          "createdAt": "2026-07-28T10:17:20.000Z",
          "updatedAt": "2026-07-28T10:17:20.000Z",
          "uid": "35240-814395b7-35e3-47a3-bb73-ec6a437b9b96"
        }
      ],
      "id": "39de2080-d392-4d99-9e55-26a11c6a5e42",
      "createdAt": "2026-07-28T10:17:20.000Z",
      "updatedAt": "2026-07-28T10:17:20.000Z",
      "uid": "35240-39de2080-d392-4d99-9e55-26a11c6a5e42"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://autoscaling.{{region}}.amazonaws.com"
    }
  ]
}