Skip to content

Instantly share code, notes, and snippets.

@maxbrenner-ai
Created August 25, 2020 23:51
Show Gist options
  • Save maxbrenner-ai/2c1592f7b38b49d51881d9b8b33edb60 to your computer and use it in GitHub Desktop.
Save maxbrenner-ai/2c1592f7b38b49d51881d9b8b33edb60 to your computer and use it in GitHub Desktop.
sagemaker deploy model - deploy
endpoint_name = 'anomaly-detection-endpoint'
anomaly_detection.deploy(initial_instance_count=1,
instance_type='ml.t2.medium',
endpoint_name=endpoint_name)
# Delete endpoint when you don't need your model deployed
sm.delete_endpoint(EndpointName=endpoint_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment