Automating AWS Services with Scripting and the AWS CLIGo to Lab
AWS cli didn't work. Errors like : [ec2-user@ip-172-31-19-170 ~]$ aws help Traceback (most recent call last): File "/usr/bin/aws", line 15, in <module> import awscli.clidriver File "/usr/lib/python2.6/site-packages/awscli/clidriver.py", line 31, in <module> from awscli.help import ProviderHelpCommand File "/usr/lib/python2.6/site-packages/awscli/help.py", line 20, in <module> from docutils.core import publish_string
Python 2.6 is outdated and not supported. Please update lab to the boto3 and python3.x branch.
Unsatisfied. I cannot connect to the machine via Putty, so there is nothing I can do with this lab. Possibly a problem with the PPK file, as I have been able to connect with previous labs.
Can't stop EC2 instance because i was not authorize to create the tag for the stopinator.
The IAM role 'scripts' was not attached to the EC2 instance and CLI commands were not working correctly. This needs to be fixed. The student doesnt have an option to attach the IAM role on the fly to the instance to correct this due to restricted permissions.
I thought that contents is too long.