-
Notifications
You must be signed in to change notification settings - Fork 36
Add Amazon SSM manager to the EC2 images #365
Add Amazon SSM manager to the EC2 images #365
Conversation
@dongsupark would be great if you can suggest how to integrate it with systemd. My understanding was to create systemd file from ignition, as i cant (?) put one from the oem package out of the oem dir. |
Thanks for your work on it. I'm not sure about the build commands… and if we want to include this tool in the current way of vendor tool distribution. |
@pothos thank you for feedback. Build commands are +- replicating what makefile is doing. I will work on ignition config, thank you for the hint. |
@pothos @dongsupark i think patch is ready to land - i added ignition/systemd support and did some minor cleanup/comments. Would be nice to see it merged, happy to answer any questions. |
This is needed for the flatcar-archive/coreos-overlay#365
app-emulation/amazon-ssm-agent/amazon-ssm-agent-2.3.1205.0.ebuild
Outdated
Show resolved
Hide resolved
app-emulation/amazon-ssm-agent/amazon-ssm-agent-2.3.1205.0.ebuild
Outdated
Show resolved
Hide resolved
@dongsupark now it fits to 128Mb, tested with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general it looks good.
Before getting merged, the commits should be somehow squashed.
Anyway I will let @sayanchowdhury have a look. He will decide when to merge it.
@dongsupark thank you for review. squash is done, let me know if anything else needed. |
@dongsupark one thing in my mind - by design this tool creates new uid called ssm-user and grants sudo to it. But we already do have |
- Add Dependency - Add ignition configuration to create systemd units and SSM config
@dongsupark i updated agent to the latest (2.3.1319.0) version and rebased it. Would be great to see if merged eventually |
Thanks @samm-git |
@sayanchowdhury You would probably want to cherry-pick it to edge. |
Yeah, thank you! |
Add AWS SSM manager
AWS Systems Manager Agent (SSM Agent) is Amazon software that can be installed and configured on an EC2 instance, an on-premises server, or a virtual machine (VM). SSM Agent makes it possible for Systems Manager to update, manage, and configure these resources. The agent processes requests from the Systems Manager service in the AWS Cloud, and then runs them as specified in the request.
SSM Agent is preinstalled, by default, on the following Amazon Machine Images (AMIs):
Also for the RPM and DEB based systems Amazon provides binary packages. Flatcar Linux does not have support for it [yet], so it is required to use 3rd party script for the integration via
userdata
See flatcar/Flatcar#107 for the request
How to use
Target state (not here yet)
amazon-ssm-agent
added to thecoreos-overlay
.Testing done