Current time: 10-16-2019, 07:36 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AWS Private instance: Agents not being stopped/terminated
01-08-2015, 06:45 PM (This post was last modified: 01-08-2015 06:48 PM by kevinrdixon.)
Post: #7
RE: AWS Private instance: Agents not being stopped/terminated
(01-07-2015 05:41 AM)pmeenan Wrote:  Can you check the AWS IAM permissions for the key you assigned to make sure that it has permission to terminate instances?

Key has full EC2 permissions:
Code:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": "ec2:*",
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "elasticloadbalancing:*",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "cloudwatch:*",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "autoscaling:*",
      "Resource": "*"
    }
  ]
}

(01-07-2015 05:41 AM)pmeenan Wrote:  btw, if any errors happen they should get logged to /var/www/webpagetest/www/log/error.log.<date>

The only error log has one line:
Code:
01:00:02 - Error launching EC2 instance. Region: us-east-1, AMI: ami-561cb13e, error: The instance ID 'i-eba59b15' does not exist
...and that is because I terminated the agent (because it was hanging around idle). So no clue there.

I don't know if this is significant, but we have a bunch of benchmarks running overnight.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: AWS Private instance: Agents not being stopped/terminated - kevinrdixon - 01-08-2015 06:45 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)