tems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account: 227937466084 Oct 27 10:43:42 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: #011status code: 400, request id: 7c6b88a8-fbb5-488c-be71-ecec96802911 Oct 27 11:00:01 ip-172-31-29-215 CRON[4126695]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) Oct 27 11:09:00 ip-172-31-29-215 systemd[1]: Starting Clean php session files... Oct 27 11:09:00 ip-172-31-29-215 sessionclean[4126774]: Cannot load Xdebug - it was already loaded Oct 27 11:09:00 ip-172-31-29-215 sessionclean[4126774]: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: undefined symbol: php_pdo_unregister_driver), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Oct 27 11:09:00 ip-172-31-29-215 sessionclean[4126774]: PHP Warning: Module 'gettext' already loaded in Unknown on line 0 Oct 27 11:09:00 ip-172-31-29-215 sessionclean[4126774]: PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 Oct 27 11:09:00 ip-172-31-29-215 sessionclean[4126774]: PHP Warning: Module 'sqlsrv' already loaded in Unknown on line 0 Oct 27 11:09:00 ip-172-31-29-215 systemd[1]: phpsessionclean.service: Succeeded. Oct 27 11:09:00 ip-172-31-29-215 systemd[1]: Finished Clean php session files. Oct 27 11:09:01 ip-172-31-29-215 CRON[4126816]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Oct 27 11:11:09 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: 2025-10-27 11:11:09.2967 WARN EC2RoleProvider Failed to connect to Systems Manager with instance profile role credentials. Err: retrieved credentials failed to report to ssm. Error: EC2RoleRequestError: no EC2 instance role found Oct 27 11:11:09 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: 2025-10-27 11:11:09.3386 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account: 227937466084 Oct 27 11:11:09 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: #011status code: 400, request id: 85a509a2-f352-49b3-95ae-6ecb5f4b2dca Oct 27 11:17:01 ip-172-31-29-215 CRON[4126868]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Oct 27 11:20:01 ip-172-31-29-215 CRON[4126876]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) Oct 27 11:27:19 ip-172-31-29-215 systemd[1]: Starting Message of the Day... Oct 27 11:28:27 ip-172-31-29-215 50-motd-news[4126959]: * Ubuntu Pro delivers the most comprehensive open source security and Oct 27 11:28:27 ip-172-31-29-215 50-motd-news[4126959]: compliance features. Oct 27 11:28:27 ip-172-31-29-215 50-motd-news[4126959]: https://ubuntu.com/aws/pro Oct 27 11:28:27 ip-172-31-29-215 systemd[1]: motd-news.service: Succeeded. Oct 27 11:28:27 ip-172-31-29-215 systemd[1]: Finished Message of the Day. Oct 27 11:38:51 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: 2025-10-27 11:38:51.4161 WARN EC2RoleProvider Failed to connect to Systems Manager with instance profile role credentials. Err: retrieved credentials failed to report to ssm. Error: EC2RoleRequestError: no EC2 instance role found Oct 27 11:38:51 ip-172-31-29-215 amazon-ssm-agent.amazon-ssm-agent[3122439]: 2025-10-27 11:38:51.4471 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not