Are there any other tools that are appropriate for provisioning AWS EC2?

Asked 1 years ago, Updated 1 years ago, 126 views

It's been more than two weeks since I started studying anable.
I'm in trouble because I haven't done anything I want to do


for provisioning to AWS environments
Because of the mix of operations inside the host and external configuration with AWS commands I don't think the answer is a good tool.

If there is an instance that is normally stopped, start it. Change the configuration file in the instance and restart the daemon
Stop after executing recipe

It's a simple content that says

The instance must be stopped by the local AWS command, not in the instance. I can't mix it well with the work recipe in the remote

I would appreciate it if you could introduce me to the appropriate tools for provisioning AWS environments like this

aws ansible provisioning

2022-09-30 20:16

1 Answers

I use AWS Systems Manager Automation.

  • aws:changeInstanceState allows you to start the specified instance and wait for it to complete.
  • aws:runCommand allows you to run the SSM documentation for the instance specified in
    • aws:runCommand allows you to run shell scripts by specifying the AWS-RunShellScript document
  • aws:runCommand allows you to run shell scripts by specifying the AWS-RunShellScript document


2022-09-30 20:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.