https://github.com/bontaramsonta/terraform-playground
just a terraform playground to test stuff
https://github.com/bontaramsonta/terraform-playground
Last synced: 7 months ago
JSON representation
just a terraform playground to test stuff
- Host: GitHub
- URL: https://github.com/bontaramsonta/terraform-playground
- Owner: bontaramsonta
- Created: 2024-09-26T18:42:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T19:06:12.000Z (7 months ago)
- Last Synced: 2025-03-01T20:20:52.985Z (7 months ago)
- Language: HCL
- Homepage:
- Size: 254 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSM Features
## SSM Session Manager
what are the requirements/prerequisites of ssm session manager?
### lets try a scenario.
- create an instance using amz-linux-2 ami which includes ssm agent in default vpc/subnet
- restrict access to port 22 in security group
- lets try connecting to the instance using ssm-session-manager#### will it work?
nope
*Getting Error*
> SSM Agent is not online
> The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service.*Possible Issues*
- maybe because port 22 is not open
- maybe because ssm agent is not running
- maybe instance is not authorized to connect to ssm.Now, I opened port 22. But, didn't help.
But after opening port 22, I am able to connect to instance using ec2-instance-connect
I ran `sudo systemctl status amazon-ssm-agent` and it was running but error out with message