- Newest
- Most votes
- Most comments
Based on the available documentation, there are several important prerequisites and considerations that may be causing the issue you're experiencing:
Critical Prerequisites for Apple Silicon Mac Instances:
Before calling the CreateMacSystemIntegrityProtectionModificationTask API on Apple silicon-based EC2 Mac instances (which includes mac2-m2pro.metal), you must:
- Set the ec2-user password while the instance is running
- Enable secure token for the ec2-user on macOS while the instance is running
- The instance should be running (not stopped) when you perform these prerequisite steps
Instance State Consideration:
The documentation indicates that SIP configuration tasks can take 60-90 minutes to complete, and the instance becomes unreachable during this time. However, the documentation does not explicitly state that the instance must be in a stopped state before initiating the task. In fact, the workflow described suggests connecting to a running instance to set up prerequisites, then calling the API.
Credentials Format:
The credentials must be specified in JSON format with the following structure:
{
"internalDiskPassword": "internal-disk-admin_password",
"rootVolumeUsername": "root-volume-admin_username",
"rootVolumePassword": "root-volume-admin_password"
}
Apple Silicon Specific Requirements:
For Apple silicon Mac instances, there are additional constraints:
- Only one bootable volume is allowed
- Each attached volume can have only one additional admin user
- SIP settings are applied at the volume level (not instance level)
Recommendation:
Try initiating the SIP modification task while the instance is in a running state rather than stopped. Ensure the secure token is properly enabled for ec2-user before calling the API. If the issue persists across multiple regions and instance types as you've described, this may indeed warrant contacting AWS Support for investigation of a potential service-side issue.
Sources
Configure System Integrity Protection (SIP) on Amazon EC2 Mac instances | AWS News Blog
CreateMacSystemIntegrityProtectionModificationTask - Amazon Elastic Compute Cloud
create_mac_system_integrity_protection_modification_task - botocore 1.42.50 documentation
Configure System Integrity Protection for Amazon EC2 Mac instances - Amazon Elastic Compute Cloud
Relevant content
- asked 2 years ago
- asked 5 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
