title: This Code not working for me to start and stop instances of aws
body: <pre><code>AmazonEC2 ec2 = AWSClientFactory.CreateAmazonEC2Client();            
  </code></pre>
  
  <p>//Start Your Instance           </p>
  
  <pre><code>ec2.StartInstances(new StartInstancesRequest().WithInstanceId("i-00000000"));         
  </code></pre>
  
  <p>//Stop it  </p>
  
  <pre><code>ec2.StopInstances(new StopInstancesRequest().WithInstanceId("i-00000000"));
  </code></pre>