Python Script for calculating the CPU utilization of EC2 instance if the load is above 60% print that the CPU utlization of EC2 instance is above 60%.
First You need to make an instance from AWS Console and create the User on clicking IAM. In python script we can create virtual environment, need to install boto3 and install awscli. From terminal run the command "aws configure" and provide the access key,secret key,region and o/p format.(Access key and Secret key will be provided in csv file when we create the user). Now after providing access key and secret key in python script, run the script and change the load percentage according to you I have given the load percentage 0% in if statement.