I want to start and stop my EC2 instance on AWS using an HTML button and some JavaScript, if necessary.
I do not want the button to navigate to a new page; it should only perform the start/stop action.
Example HTML:
Click Here To Disable QA Servers :
<BR><BR>
<form action="https://*************1.amazonaws.com/stop/stop">
<input type="submit" value="Click Here!" />
</form>