Amazon EC2 · Arazzo Workflow

Amazon EC2 Create a Launch Template and Boot From It

Version 1.0.0

Create a launch template, confirm it, then launch an instance referencing the template parameters.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual MachinesArazzoWorkflows

Provider

amazon-ec2

Workflows

create-launch-template-and-boot
Create a launch template, verify it, and launch an instance from it.
Chains CreateLaunchTemplate, DescribeLaunchTemplates, and RunInstances so a reusable launch configuration is created, confirmed, and exercised in one run.
3 steps inputs: imageId, instanceType, launchTemplateName, versionDescription outputs: instanceId
1
createTemplate
Create the launch template that captures the launch parameters.
2
confirmTemplate
Confirm the launch template exists before launching from it.
3
launchFromTemplate
Launch an instance using the template's image and instance type.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EC2 Create a Launch Template and Boot From It
  summary: Create a launch template, confirm it, then launch an instance referencing the template parameters.
  description: >-
    Establishes a reusable launch configuration and immediately boots from it.
    The workflow creates a launch template, confirms it via
    DescribeLaunchTemplates, and then launches an instance using the same image
    and instance type captured in the template. Every step spells out its
    request inline using the Amazon EC2 query protocol (Action and Version
    parameters) so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: instancesApi
  url: ../openapi/amazon-ec2-instances-api-openapi.yml
  type: openapi
- name: launchTemplatesApi
  url: ../openapi/amazon-ec2-launch-templates-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-launch-template-and-boot
  summary: Create a launch template, verify it, and launch an instance from it.
  description: >-
    Chains CreateLaunchTemplate, DescribeLaunchTemplates, and RunInstances so a
    reusable launch configuration is created, confirmed, and exercised in one
    run.
  inputs:
    type: object
    required:
    - launchTemplateName
    - imageId
    - instanceType
    properties:
      launchTemplateName:
        type: string
        description: A name for the new launch template.
      versionDescription:
        type: string
        description: An optional description for the first template version.
      imageId:
        type: string
        description: The AMI ID the launched instance should use.
      instanceType:
        type: string
        description: The EC2 instance type to launch.
  steps:
  - stepId: createTemplate
    description: Create the launch template that captures the launch parameters.
    operationId: createLaunchTemplate
    parameters:
    - name: Action
      in: query
      value: CreateLaunchTemplate
    - name: Version
      in: query
      value: '2016-11-15'
    - name: LaunchTemplateName
      in: query
      value: $inputs.launchTemplateName
    - name: VersionDescription
      in: query
      value: $inputs.versionDescription
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      createStatus: $statusCode
  - stepId: confirmTemplate
    description: Confirm the launch template exists before launching from it.
    operationId: describeLaunchTemplates
    parameters:
    - name: Action
      in: query
      value: DescribeLaunchTemplates
    - name: Version
      in: query
      value: '2016-11-15'
    - name: LaunchTemplateName
      in: query
      value: $inputs.launchTemplateName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      confirmStatus: $statusCode
  - stepId: launchFromTemplate
    description: Launch an instance using the template's image and instance type.
    operationId: runInstances
    parameters:
    - name: Action
      in: query
      value: RunInstances
    - name: Version
      in: query
      value: '2016-11-15'
    - name: ImageId
      in: query
      value: $inputs.imageId
    - name: InstanceType
      in: query
      value: $inputs.instanceType
    - name: MinCount
      in: query
      value: 1
    - name: MaxCount
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      instanceId: $response.body#/instances/0/instanceId
  outputs:
    instanceId: $steps.launchFromTemplate.outputs.instanceId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ec2-rebuild-image-from-launch-template-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.