Skip to main content

Launch AWS EC2 instances from Google Sheets using Terraform

Workflow preview

Workflow preview
100%
Launch AWS EC2 instances from Google Sheets using Terraform preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This automated n8n workflow enables launching AWS EC2 instances directly from a Google Sheets document. Users can specify instance details (e.g., region, instance type, key pair) in a Google Sheet,...

Best for

  • DevOps automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.ssh, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Launch AWS EC2 instances from Google Sheets using Terraform
Workflow name
Launch AWS EC2 instances from Google Sheets using Terraform

This automated n8n workflow enables launching AWS EC2 instances directly from a Google Sheets document. Users can specify instance details (e.g., region, instance type, key pair) in a Google Sheet, triggering the workflow to create EC2 instances via the AWS API. The workflow updates the sheet with instance information and sends confirmation emails.

Fundamental Aspects

  • Google Sheets Trigger: Initiates the workflow when a new row is added or updated in the Google Sheet.
  • Extract Instance Details: Parses region, instance type, key pair name, and instance name from the sheet.
  • Validate Inputs: Checks for required fields and valid AWS configurations.
  • Launch EC2 Instance: Uses the AWS EC2 API to launch the specified instance.
  • Update Google Sheet: Adds instance ID and status to the sheet.
  • Send Confirmation Email: Notifies the user via email with instance details.

Setup Instructions

  • Import the Workflow into n8n: Download the workflow JSON and import it via the n8n interface.
  • Configure API Credentials:
    • Set up Google Sheets API credentials with appropriate permissions.
    • Configure AWS IAM credentials with EC2 launch permissions.
    • Configure SMTP credentials for email notifications.
  • Prepare Google Sheet: Create a sheet with columns for region, instance type, key pair name, instance name, instance ID, and status.
  • Run the Workflow: Activate the Google Sheets trigger and test by adding a row with instance details.
  • Verify Responses: Check the Google Sheet for updated instance IDs and emails for confirmation.
  • Adjust Parameters: Fine-tune AWS region settings or email templates as needed.

Technical Dependencies

  • Google Sheets API: For reading and writing data.
  • AWS EC2 API: For launching and managing instances.
  • SMTP Service: For sending confirmation emails.
  • n8n: For workflow automation and integration.

Customization Possibilities

  • Add Instance Types: Support additional EC2 instance types.
  • Enhance Validation: Add checks for AWS limits or quotas.
  • Support Tags: Include custom tags for launched instances.
  • Add Logging: Integrate with a logging service for workflow tracking.
  • Customize Emails: Adjust email content or add attachments.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Google Sheets Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 5 - Extract Instance Details

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 6 - Launch EC2 Instance

Type / Role
n8n-nodes-base.ssh - ssh
Config choices
Version 1

Block 7 - Update Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 8 - Send Confirmation Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Launch AWS EC2 instances from Google Sheets using Terraform
Complexity intermediate
Nodes 8
Categories DevOps, Multimodal AI
Author Oneclick AI Squad
Published 12 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7295/7295.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Launch AWS EC2 instances from Google Sheets using Terraform do?

This automated n8n workflow enables launching AWS EC2 instances directly from a Google Sheets document. Users can specify instance details (e.g., region, instance type, key pair) in a Google Sheet,...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps, Multimodal AI use case.