{"id":3640,"date":"2023-07-21T17:29:59","date_gmt":"2023-07-21T08:29:59","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=3640"},"modified":"2023-07-21T19:02:54","modified_gmt":"2023-07-21T10:02:54","slug":"vertex-ai-matching-engine%e3%81%ae%e3%82%a8%e3%83%b3%e3%83%89%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%e3%81%8b%e3%82%89%e3%80%81jupyter-notebook%e4%b8%8a%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%87%e3%83%83","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/vertex-ai-matching-engine%e3%81%ae%e3%82%a8%e3%83%b3%e3%83%89%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%e3%81%8b%e3%82%89%e3%80%81jupyter-notebook%e4%b8%8a%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%87%e3%83%83\/","title":{"rendered":"Vertex AI Matching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u3001Jupyter Notebook\u4e0a\u3067\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u505c\u6b62&amp;\u524a\u9664\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>Vertex AI Matching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u3001Jupyter Notebook\u4e0a\u3067\u30a4\u30f3\u30c7\u30c3\u30af\u3092undeploy(\u505c\u6b62)\/delete(\u524a\u9664)\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Vertex AI\uff08\u65e7\u79f0\uff1aAI Platform\uff09\u306eMatching Engine\u306f\u3001\u9ad8\u901f\u306a\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u691c\u7d22\u3092\u53ef\u80fd\u306b\u3059\u308b\u5f37\u529b\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u3057\u304b\u3057\u3001Matching Engine\u3092\u6d3b\u7528\u3059\u308b\u969b\u306b\u6c17\u3092\u3064\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u304c\u3001VM(\u4eee\u60f3\u30de\u30b7\u30f3)\u306e\u64cd\u4f5c\u3067\u3059\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u30c7\u30d7\u30ed\u30a4\u3055\u305b\u305f\u6bb5\u968e\u304b\u3089VM(\u4eee\u60f3\u30de\u30b7\u30f3)\u304c\u7a3c\u50cd\u3057\u6599\u91d1\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u4e0d\u8981\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u308a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092undeploy\uff08\u505c\u6b62\uff09\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/span>\r\n\r\n<span style=\"font-family: arial, helvetica, sans-serif;\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Jupyter Notebook\u4e0a\u3067Google Cloud SDK\u3092\u4f7f\u7528\u3057\u3066\u3001Vertex AI\u306eMatching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092undeploy(\u505c\u6b62)\u3055\u305bdelete(\u524a\u9664)\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\n\n<h2>\u624b\u9806<\/h2>\n<b><span style=\"font-family: arial, helvetica, sans-serif; font-size: 24px;\"><strong>1. Google Cloud SDK\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong><\/span><\/b>\r\n<span style=\"font-family: arial, helvetica, sans-serif;\">Google Cloud SDK\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002\u3059\u3067\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u6e08\u307f\u306e\u5834\u5408\u306f\u3001\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span>\r\n<ol>\r\n \t<li><span style=\"font-family: arial, helvetica, sans-serif;\">\u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8<span style=\"color: #0000ff; background-color: #ffffff;\"><a href=\"https:\/\/cloud.google.com\/sdk\/docs\/install?hl=ja\" style=\"background-color: #ffffff; color: #0000ff;\">\uff08https:\/\/cloud.google.com\/sdk\/docs\/install?hl=ja)<\/a><\/span><\/span><span style=\"font-family: arial, helvetica, sans-serif;\">\u304b\u3089<strong>Google<\/strong> <strong>Cloud SDK<\/strong>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><\/li>\r\n \t<li><span style=\"font-family: arial, helvetica, sans-serif;\">\u30bf\u30fc\u30df\u30ca\u30eb\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001**<code>gcloud init<\/code>**\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002Google Cloud\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u8a2d\u5b9a\u3057\u3001\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/span><\/li>\r\n<\/ol>\r\n<b><span style=\"font-family: arial, helvetica, sans-serif; font-size: 24px;\"><strong>2. Jupyter Notebook\u3067\u30bb\u30eb\u3092\u4f5c\u6210<\/strong><\/span><\/b>\r\n<span style=\"font-family: arial, helvetica, sans-serif;\">Jupyter Notebook\u4e0a\u3067\u65b0\u3057\u3044\u30bb\u30eb\u3092\u4f5c\u6210\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<strong><code>your-project-id<\/code><\/strong>\u3001<strong><code>your-region<\/code><\/strong>\u3001<strong><code>your-index-id<\/code><\/strong>\u306a\u3069\u306f\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8ID\u3084\u30ea\u30fc\u30b8\u30e7\u30f3\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9ID\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/span>\r\n\r\n<span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\"><span style=\"font-size: 20px;\">\u30fb<\/span>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306eundeploy(\u505c\u6b62)\u306e\u30b3\u30fc\u30c9\u4f8b<\/span>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>!gcloud ai index-endpoints undeploy-index 4030255473566416896 --deployed-index-id=vectest_brute_force_deployed --project={Project-ID} --region=us-central1<\/code><\/pre>\r\n<\/div>\r\n<span style=\"font-family: arial, helvetica, sans-serif; font-size: 16px;\"><span style=\"font-size: 20px;\">\u30fb<\/span>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306edelete(\u524a\u9664)\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u81ea\u4f53\u306edelete(\u524a\u9664)\u3092\u884c\u3046\u30b3\u30fc\u30c9\u4f8b<\/span>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u524a\u9664\u306e\u30b3\u30fc\u30c9\u4f8b \r\n!gcloud ai index-endpoints delete 4030255473566416896 --project=your-project-id --region=your-region\r\n\r\n# \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u524a\u9664\u306e\u30b3\u30fc\u30c9\u4f8b\r\n !gcloud ai indexes delete 8238869325344145408 --project=your-project-id --region=your-region<\/code><\/pre>\r\n<\/div>\r\n<b><span style=\"font-family: arial, helvetica, sans-serif; font-size: 24px;\">3. \u30b3\u30fc\u30c9\u3092\u5b9f\u884c<\/span><\/b>\r\n<span style=\"font-family: arial, helvetica, sans-serif;\">\u30bb\u30eb\u306b\u5165\u529b\u3057\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6307\u5b9a\u3057\u305f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304cMatching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089undeploy(\u505c\u6b62)\u3001\u307e\u305f\u306fdelete(\u524a\u9664)\u3055\u308c\u307e\u3059\u3002<\/span>\n\n<h2>\u6ce8\u610f\u4e8b\u9805<\/h2>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Matching Engine\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092undeploy(\u505c\u6b62)\u304a\u3088\u3073delete(\u524a\u9664)\u3059\u308b\u969b\u306f\u3001\u614e\u91cd\u306b\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u5fc5\u8981\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3084\u30ea\u30bd\u30fc\u30b9\u304c\u524a\u9664\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u3066\u64cd\u4f5c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Jupyter Notebook\u3092\u4f7f\u7528\u3057\u3066\u3001Google Cloud SDK\u3092\u6d3b\u7528\u3057\u3001Vertex AI\u306eMatching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092undeploy(\u505c\u6b62)\u304a\u3088\u3073delete(\u524a\u9664)\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u9069\u5207\u306a\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u3092\u884c\u3044\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5408\u308f\u305b\u305f\u52b9\u7387\u7684\u306a\u904b\u7528\u3092\u5fc3\u639b\u3051\u307e\u3057\u3087\u3046\u3002<\/span>","protected":false},"excerpt":{"rendered":"<p>Vertex AI Matching Engine\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u3001Jupyter Notebook\u4e0a\u3067\u30a4\u30f3\u30c7\u30c3\u30af\u3092undeploy(\u505c\u6b62)\/delete(\u524a\u9664)\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac \u306f\u3058\u3081\u306b Vertex AI\uff08\u65e7 [&hellip;]<\/p>\n","protected":false},"author":87,"featured_media":2991,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[96,166,224],"class_list":["post-3640","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ai","tag-vertex-ai","tag-vertex-ai-matching-engine"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=3640"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3640\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/2991"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=3640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=3640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=3640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}