Difference between revisions of "Amazon SSM agent"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[amazon-ssm-agent package]] | ||
+ | [[yum install]] -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm | ||
− | [[amazon-ssm-agent | + | sudo [[systemctl enable amazon-ssm-agent]] |
+ | sudo [[systemctl start amazon-ssm-agent]] | ||
+ | |||
+ | [[amazon-ssm-agent --help]] | ||
[[amazon-ssm-agent -register]] | [[amazon-ssm-agent -register]] | ||
+ | |||
+ | [[/etc/cron.d/ssmstart]] | ||
Line 11: | Line 18: | ||
== Related == | == Related == | ||
− | * [[EOT]] | + | * <code>[[EOT]]</code> |
* <code>[[LongRunningWorkerContainer]]</code> | * <code>[[LongRunningWorkerContainer]]</code> | ||
+ | * [[Install SSM Agent on Amazon EKS worker nodes by using Kubernetes DaemonSet]] | ||
+ | * <code>[[itmcmd]]</code> | ||
== See also == | == See also == |
Latest revision as of 08:58, 25 October 2023
amazon-ssm-agent package
yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
sudo systemctl enable amazon-ssm-agent sudo systemctl start amazon-ssm-agent
amazon-ssm-agent --help amazon-ssm-agent -register
/etc/cron.d/ssmstart
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf
self_managed_node_groups = { spot = { instance_type = "m5.large" instance_market_options = { market_type = "spot" } pre_bootstrap_user_data = <<-EOT echo "foo" export FOO=bar EOT bootstrap_extra_args = "--kubelet-extra-args '--node-labels=node.kubernetes.io/lifecycle=spot'" post_bootstrap_user_data = <<-EOT cd /tmp sudo yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm sudo systemctl enable amazon-ssm-agent sudo systemctl start amazon-ssm-agent EOT } }
Related[edit]
EOT
LongRunningWorkerContainer
- Install SSM Agent on Amazon EKS worker nodes by using Kubernetes DaemonSet
itmcmd
See also[edit]
amazon-ssm-agent [ -register | --help ]
, package,/etc/cron.d/ssmstart
- AWS Systems Manager:
ssm-cli
,ssm-cli get-instance-information
,amazon-ssm-agent, ssm-cli help
- AWS Systems Manager Session Manager, port forwarding,
aws ssm start-session
,amazon-ssm-agent
,ssm-installer
- AWS Systems Manager (ASM), EnforceIMDSv2,
amazon-ssm-agent, ssm-cli, aws ssm get-inventory
Advertising: