SSM not running by default when launching the bottlerocket instance in EC2 #2448
-
Unable to connect to EC2 using SSM, bottlerocket instance throws below error.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @azizzoaib786 - I've seen the same thing if there are issues preventing the configuration files being written out. That causes some core services to fail to start and prevents being able to connect using SSM. Are you passing in user data? From the error, it looks like the contents of user data might not be correct or complete. During boot up there is a service called |
Beta Was this translation helpful? Give feedback.
Hi @azizzoaib786 - I've seen the same thing if there are issues preventing the configuration files being written out. That causes some core services to fail to start and prevents being able to connect using SSM.
Are you passing in user data? From the error, it looks like the contents of user data might not be correct or complete. During boot up there is a service called
early-boot-config
that reads configuration data and uses that to format and write out various configuration files with the appropriate settings. If anything fails with that process, it is not able to complete setting up all config files and services are not able to start.