- Newest
- Most votes
- Most comments
Just-in-time node access in AWS Systems Manager is designed to help remove long-standing permissions to nodes while maintaining operational efficiency. Based on your description, there are a few key points to address:
-
Yes, just-in-time node access does support Fleet Manager RDP sessions. In fact, Systems Manager provides session recording for RDP sessions to Windows Server nodes to help meet compliance requirements and perform root cause analysis.
-
For your issue with the approval flow not triggering, there are several potential causes:
First, ensure that approval policies are properly set up. For just-in-time node access to work, an approval policy must apply to the node. If there are no approval policies that apply to a node, users cannot request access to it.
Second, check the evaluation order of your policies. Deny-access policies take precedence over auto-approval policies. The evaluation order is: deny-access, auto-approval, and then manual approval policies.
Third, verify that you've set up the unified Systems Manager console, which is required for just-in-time node access.
Fourth, ensure your IAM policies are correctly configured. For moving from Session Manager to just-in-time node access, IAM policies need modification, including adding required permissions and removing the "StartSession" API operation for Session Manager.
If you've removed ssm:StartSession and ssm-guiconnect:StartConnection permissions and it's blocking access entirely instead of prompting for approval, you may need to ensure that users have the necessary permissions to request access through the just-in-time node access feature, while not having direct access to start sessions.
Also, check if you have any auto-approval policies that might be overriding your deny-access policies for the specific nodes or users in question. Remember that deny-access policies apply to all accounts in an AWS Organizations organization, while auto-approval and manual approval policies apply only to the AWS accounts and AWS Regions where they're created.
Sources
Just-in-time node access using Systems Manager - AWS Systems Manager
Create approval policies for your nodes - AWS Systems Manager
Just-in-time node access frequently asked questions - AWS Systems Manager
AWS Systems Manager launches just-in-time node access - AWS
Create a deny-access policy for just-in-time node access - AWS Systems Manager
Hi Elliot,
You're absolutely right to expect an approval prompt if you've set up Just-in-Time (JIT) access correctly. Based on what you’ve described, here are a few things that might be causing the issue:
Approval Policy Placement – JIT access requires at least one approval policy to apply to the node. If there’s no approval policy matching the instance (even if deny policies are in place), users might either get straight access or get blocked — not prompted.
Policy Evaluation Order – Cedar policies follow a strict order:
Deny policies (like the one you’ve written)
Auto-approval
Then manual approval If a deny policy matches first (especially one without conditions), no prompt will show — access is outright blocked.
Fleet Manager Nuance – While Session Manager fully supports JIT, RDP via Fleet Manager has its own flow. If users are trying to RDP and your policies remove both ssm:StartSession and ssm-guiconnect:StartConnection, access will fail entirely — JIT can't override that unless users retain at least enough permission to request the session.
IAM Permission Mismatch – Double-check that the user has permissions to request access under JIT — not just session permissions. There’s a distinct difference in required IAM actions for initiating JIT requests vs. direct connect permissions.
You’re close! Try temporarily removing the unconditional deny and see if JIT prompts start working. Then layer it back with tags for precision.
Hope this helps — feel free to report back with your findings!
