Logging out of Amazon SageMaker Canvas
If you’re not actively using Amazon SageMaker Canvas, we recommend that you log out or configure your
application to automatically shut down. As soon as you launch the Canvas application, a
workspace instance is dedicated for your use, and you
are billed for the duration you’re logged in. Logging out or an automatic shutdown ends the
workspace instance. For more information, see SageMaker Pricing
The following sections describe how to log out of your Canvas application and how to configure your application to automatically shut down on a schedule.
Log out of Canvas
When you log out of Canvas, your models and datasets aren't affected, but SageMaker Canvas cancels any Quick build tasks. If you log out of SageMaker Canvas while running a Quick build, your build might be interrupted until you log back in. When you log back in, SageMaker Canvas automatically restarts the build. Standard builds continue even if you log out.
To log out, choose the Log out button (
) on the left panel of the SageMaker Canvas app.
You can also log out from the SageMaker Canvas app by closing your browser tab and then deleting the app in the console.
After you log out, SageMaker Canvas tells you to relaunch in a different tab. Logging in takes between 3 minutes and 8 minutes. If you have an administrator who set up SageMaker Canvas for you, use the instructions they gave you to log back in. If don't have an administrator, see the procedure for accessing SageMaker Canvas in Prerequisites for setting up Amazon SageMaker Canvas.
Automatically shut down Canvas
If you’re a Canvas administrator, you might want to regularly shut down applications to reduce costs. You can either create a schedule to shut down active Canvas applications, or you can create an automation to shut down Canvas applications as soon as they’re idle (meaning the user hasn’t been active for 2 hours).
You can create these solutions using AWS Lambda functions that call the
DeleteApp
API and delete Canvas applications given certain
conditions. For more information about these solutions and access to AWS CloudFormation templates
that you can use, see the blog Optimizing costs for Amazon SageMaker Canvas with automatic shutdown of idle apps
Note
You might experience missing Amazon CloudWatch metrics if there was an error when setting up your idle shut down schedule or a CloudWatch error. We recommend that you add a CloudWatch alarm that monitors for missing metrics. If you encounter this issue, reach out to AWS Support for help.