Difference between revisions of "Amazon ECS Agent"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  [[/var/log/ecs/]]
 
  [[/var/log/ecs/]]
 
  [[/var/log/ecs/ecs-agent.log]]
 
  [[/var/log/ecs/ecs-agent.log]]
 +
[[/var/lib/ecs/data/agent.db]]
  
 
  sudo [[amazon-linux-extras install]] -y ecs; sudo systemctl enable --now ecs
 
  sudo [[amazon-linux-extras install]] -y ecs; sudo systemctl enable --now ecs

Revision as of 11:01, 18 April 2023

/etc/ecs/ecs.config
/var/log/ecs/
/var/log/ecs/ecs-agent.log
/var/lib/ecs/data/agent.db
sudo amazon-linux-extras install -y ecs; sudo systemctl enable --now ecs


sudo service ecs start
/etc/ecs/ecs.config
systemctl start ecs


level=critical time=2023-04-18T10:35:41Z msg="The current instance type does not match the registered instance type. Please revert the instance type change, or alternatively launch a new instance: ClientException: Container instance type changes are not supported. Container instance 1212232432534534536 was previously registered as c5a.2xlarge." module=agent.go

See also

Advertising: