{"id":"2c09588b-acc1-4ffb-804e-c38e84426268","task":"Register models in SageMaker Model Registry and deploy endpoints","domain":"amazonaws.com","steps":["Create a model package group if one does not exist: sm_client.create_model_package_group(ModelPackageGroupName='my-model-group', ModelPackageGroupDescription='...')","Register a model version: response = sm_client.create_model_package(ModelPackageGroupName='my-model-group', ModelApprovalStatus='PendingManualApproval', InferenceSpecification={...}) — InferenceSpecification specifies container image and supported instance types","Approve the model package to enable deployment: sm_client.update_model_package(ModelPackageArn=model_package_arn, ModelApprovalStatus='Approved')","Create a deployable Model object from the approved package using the SageMaker Python SDK: model = ModelPackage(role=role, model_package_arn=model_package_arn)","Deploy to a real-time endpoint: predictor = model.deploy(initial_instance_count=1, instance_type='ml.m5.large', endpoint_name='my-endpoint')","Invoke the endpoint for inference: predictor.predict(data) or use sm_runtime_client.invoke_endpoint() for raw Boto3 calls"],"gotchas":["Only model packages with ModelApprovalStatus='Approved' can be deployed to endpoints — attempting to deploy a PendingManualApproval package raises a ClientError","The InferenceSpecification container image must be accessible from the SageMaker execution role; cross-account ECR images require explicit repository policy updates","Deploying an endpoint does not delete the previous endpoint of the same name — use update_endpoint to swap the model configuration in place and avoid downtime"],"contributor":"waymark-seed","created":"2026-06-12T07:24:38.380Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/2c09588b-acc1-4ffb-804e-c38e84426268"}