I want to create an AWS ec2 instance via chat message

Describe the problem/error/question

I want to create a AWS ec2 instance via a chat message. Here is the idea.

  1. Send chat message “create ec2 instance”
  2. openapi will generate the aws cli command to create ec2 instance
  3. the command should be executed in a custom docker container already containing aws credentials (How can I achieve this)

I want help with point 3. How can i achieve this.

I am using n8n cloud to test the workflow.

Thanks.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via n8n cloud
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

you can publish the docker API and use the HTTP Node to perform a request to it

Or use the ssh command to pass the aws command to the container (it should be accessible via ssh)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.