AWS – Automating with CLI (How to Run an EC2 Instance)
The following script requires an IAM role named ec2-ssm-core. Brief overview of the main steps of the script: The script is available on my GitHub HERE and here: Remember to change the permissions: Execute the script: Now you will get a link to the Session Manager for the created EC2 instance. Congrats!
