diff --git a/notebooks/community/ml_ops/stage6/get_started_with_cpr.ipynb b/notebooks/community/ml_ops/stage6/get_started_with_cpr.ipynb index c13c3472e..ef7a9e859 100644 --- a/notebooks/community/ml_ops/stage6/get_started_with_cpr.ipynb +++ b/notebooks/community/ml_ops/stage6/get_started_with_cpr.ipynb @@ -483,8 +483,7 @@ }, "outputs": [], "source": [ - "! gsutil mb -l $REGION $BUCKET_URI" - ] + "! gcloud storage buckets create --location=$REGION $BUCKET_URI" ] }, { "cell_type": "markdown", @@ -503,8 +502,7 @@ }, "outputs": [], "source": [ - "! gsutil ls -al $BUCKET_URI" - ] + "! gcloud storage ls --all-versions --long $BUCKET_URI" ] }, { "cell_type": "markdown", @@ -669,9 +667,7 @@ }, "outputs": [], "source": [ - "! gsutil cp model/* {BUCKET_URI}/model/\n", - "! gsutil ls {BUCKET_URI}/model/" - ] + "! gcloud storage cp model/* {BUCKET_URI}/model/\n", "! gcloud storage ls {BUCKET_URI}/model/" ] }, { "cell_type": "markdown", @@ -2603,8 +2599,7 @@ "delete_bucket = False\n", "\n", "if delete_bucket or os.getenv(\"IS_TESTING\"):\n", - " ! gsutil rm -rf {BUCKET_URI}\n", - "\n", + " ! gcloud storage rm --recursive --continue-on-error {BUCKET_URI}\n", "\n", "! rm -rf src model instances.json instances.csv Dockerfile" ] }