D Shutting it all down
This appendix covers:
- How to shut down Sagemaker notebook instances so you don’t incur unnecessary costs.
- How to delete Sagemaker endpoints so you don’t incur unnecessary costs.
The last step is to shut down the notebook instance and delete the endpoint you created. If you don’t do this, you’ll continue to be charged a few cents per hour for the notebook instance and the endpoint.
Shutting down the notebook instance and deleting the endpoint requires you to do the following:
- Delete the endpoint
- Shut down the notebook instance
To stop your account from being charged for your endpoint, you need to delete it. But, don’t worry about losing your work, it’s easy to re-create. You re-run listing 2.13 and the endpoint will be recreated automatically for you.
To delete the endpoint, click Endpoints on the left-hand menu you see when you are looking at the Sagemaker tab.
Figure D.1. Endpoints menu item

You will see a list of all of your running endpoints. To ensure you are not charged for endpoints you are not using, you should delete all of the endpoints you are not using (remember that endpoints are easy to create so, even if you will not use the endpoint for a few hours, you may wish to delete it).
Figure D.2. Delete endpoint

To delete the endpoint, click the radio button to the left of the order-approval name and then click the Actions menu item and click the Delete menu item that appears.
Figure D.3. Delete endpoint
