Example #1
0
 public void FinishInstance()
 {
     // TODO: Put below the id of the instance you want to finish
     String ids = "";
     aWSEC2Helper = new AWSEC2Helper (regionEndPoint, myAccessKey, mySecretKey);
     Assert.True(aWSEC2Helper.TerminateInstance (ids));
 }
Example #2
0
        public void CreateVPCInstanceTest()
        {
            List<String> listIds = new List<string> ();
            aWSEC2Helper = new AWSEC2Helper (regionEndPoint, myAccessKey, mySecretKey);
            listIds = aWSEC2Helper.CreateVPCInstances (regionEndPoint,subnetId, AMI_ID_hvm, securityGroupId_VPC, keyPair, instanceType);

            Assert.NotNull (listIds.ElementAt (1));
        }