I am having AWS EC2 instance and I am using it by putty.
I have also downloaded the EC2 command line API to that ec2 instance.
Now i want to terminate EC2 instance within same EC2 instance using EC2 command line API.
How can i terminate EC2 instance ?