aws-samples / aws-fault-injection-simulator-workshop

MIT No Attribution
38 stars 18 forks source link

Configure cloud-9 workspace as part of template #227

Open rudpot opened 3 years ago

rudpot commented 3 years ago

To address access control issues around IAM role creation define cloud9 instance and associated instance role in template. This should align with #226

gmarchand commented 2 years ago

It's better to use a Cloud9 workspace with this paragraph https://chaos-engineering.workshop.aws/en/030_basic_content/040_ssm/050_direct_automation.html

For example, how to do that without Cloud9 and only CloudShell

Copy the YAML below into a file named ssm-terminate-instances-asg-az.yaml

rudpot commented 2 years ago

Ultimately it's probably better to get rid of cloud9 from the workshop entirely because the only thing it's currently required for is the deploy mechanism and adopting the EE/codebuild approach for that as well is likely a more consistent experience overall.

However, good point @gmarchand: I take it for granted that users are familiar with tools like vi to trivially create files and that's a really bad assumption. So if we manage to switch to cloudshell this needs some verbiage / explanation.