Quick Setup Script

Introduction

This quick setup script automates the complex IAM configuration required to deploy and use the Fiddler Partner AI App on Amazon SageMaker. Setting up Partner AI Apps involves creating multiple IAM roles, configuring over 20 individual permissions across different AWS services, and establishing proper identity propagationβ€”a process that can take hours to complete manually. This script reduces the setup time to minutes, ensuring all general security best practices are followed.

What This Script Does

The script automates the complete setup process, including:

  • Configuring your existing AWS admin role with Partner AI App permissions

  • Creating all required IAM roles (execution, user access, and domain roles)

  • Setting up a SageMaker domain with shared collaboration spaces (if needed)

  • Generating helper scripts for user access and SDK configuration

  • Validating each step to ensure successful completion

Prerequisites

Before running this script, ensure you have:

  • AWS CLI installed and configured with appropriate credentials

  • An AWS account with permissions to create IAM roles and SageMaker domains

  • Your AWS account ID and preferred region

  • An existing VPC and subnet IDs if using VPC mode

Important Security Considerations

  • The script creates roles with specific permissions following AWS's principle of least privilege

  • All credentials are handled securely and cleaned up after use

  • External IDs are used for role assumption to prevent confused deputy attacks

  • Review all created IAM policies to ensure they meet your organization's security requirements

Time Estimate

  • With an existing SageMaker domain: ~5 minutes

  • Creating new SageMaker domain: ~15-20 minutes (includes domain provisioning time)

Post-Script Steps

After the script completes successfully, you'll still need to:

  1. Subscribe to Fiddler in the AWS Marketplace

  2. Deploy the Fiddler Partner AI App through the SageMaker console

  3. Configure admin users during the deployment process

The script will provide detailed instructions for these remaining manual steps upon completion.

Last updated

Was this helpful?