This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

How to create EC2 instance

Hi,

I want to create an EC2 instance.
Therefore, I installed the AWS package.

But, AWS package can’t found create EC2 instance action.

EC2 instance can make action in AWS package?

You can use aws.ec2_run_instances action to create a new EC2 instance - stackstorm-aws/ec2_run_instances.yaml at master · StackStorm-Exchange/stackstorm-aws · GitHub.

The action name is analogous to AWS API and CLI commands - https://docs.aws.amazon.com/cli/latest/userguide/cli-services-ec2-instances.html#launching-instances.

As an alternative (if you don’t care about all the EC2 specific functionality), you can also use libcloud.create_vm action to create and launch an EC2 instance - stackstorm-libcloud/create_vm.yaml at master · StackStorm-Exchange/stackstorm-libcloud · GitHub.

Hi, Tomaz Muraus
Thank you for answering.
You can do that by performing the action “ec2_run_instances” or “create_vm”.
Thank you. It would be nice if the person taught in another ticket works.