Stopping a recommender
After your recommender is active, you can stop a recommender and start it later. This way, you can pause recommender billing and only pay for it when you use it. For example, you might need to get recommendations only on certain days of the week. You can stop the recommender on the days you don't need it, and then start the recommender on the days you do.
After you stop a recommender, you can't use it to get recommendations. Stopping a recommender halts recommender billing and retraining. However, stopping a recommender doesn't delete the recommender. You can restart it at any time and resume getting recommendations. Starting a recommender doesn't create a new recommender with your data. Rather, it resumes recommender billing and retraining every 7 days.
You can stop and start a recommender with the Amazon Personalize console, AWS Command Line Interface (AWS CLI), AWS SDKs.
Recommender states
When you stop a recommender, the recommender state changes from ACTIVE to INACTIVE in the following sequence:
ACTIVE > STOP PENDING > STOP IN PROGRESS > INACTIVE
When you start a recommender, the recommender state changes from INACTIVE to ACTIVE in the following sequence:
INACTIVE > START PENDING > START IN PROGRESS > ACTIVE
Topics
Stopping a recommender (console)
You can stop a recommender from the details page for the recommender in the Amazon Personalize console.
To stop a recommender
-
Open the Amazon Personalize console at https://console.aws.amazon.com/personalize/home
and sign in to your account. -
On the Dataset groups page, choose your Domain dataset group.
-
From the navigation pane, choose Recommenders.
-
On the Recommenders page, choose the recommender that you want to stop.
-
On the details page for the recommender, choose Stop recommender at the top right and confirm on the window that displays. When the recommender status is inactive, your recommender has stopped. You can start it again from the same page.
Stopping a recommender (AWS CLI)
To stop an active recommender with the AWS CLI, use the stop-recommender
command, which uses the StopRecommender API operation, and provide the Amazon
Resource Name (ARN) for the recommender. To restart it, you can use start-recommender
command, which
use the StartRecommender. The following code shows
how to stop a recommender:
aws personalize stop-recommender --recommender-arn "
recommender arn
"
Stopping a recommender (AWS SDKs)
To stop an active recommender with the AWS SDKs, use the StopRecommender API operation, and provide the Amazon Resource Name (ARN) for the recommender. To restart it, you use the StartRecommender. The following code shows how to stop a recommender: