Downgrade to a previous version
You can manually downgrade the version of your existing RStudio application to the
2024.04.2+764.pro1 version.
To downgrade to a previous version
-
Delete the
RStudioServerProapplication that's associated with your existing domain. For information about how to find your domain ID, see View domains.aws sagemaker delete-app \ --domain-iddomainId\ --user-profile-name domain-shared \ --app-type RStudioServerPro \ --app-name default -
Pass the corresponding
2024.04.2+764.pro1ARN for your Region as part of theupdate-domaincommand. For a list of all available ARNs, see Versioning. You must also pass an execution role ARN for the domain that provides permissions to update the domain.aws sagemaker update-domain \ --regionregion\ --domain-iddomainId\ --domain-settings-for-update "{\"RStudioServerProDomainSettingsForUpdate\":{\"DefaultResourceSpec\": {\"SageMakerImageArn\": \"arn-for-2024.04.2+764.pro1-version\", \"InstanceType\": \"system\"}, \"DomainExecutionRoleArn\": \"execution-role-arn\"}}" -
Create a new
RStudioServerProapplication in the existing domain. The RStudio version defaults to2024.04.2+764.pro1.aws sagemaker create-app \ --domain-iddomainId\ --user-profile-name domain-shared \ --app-type RStudioServerPro \ --app-name default
Your RStudioServerPro application is now downgraded to version
2024.04.2+764.pro1.