<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Cloud on もふもふのブログ</title><link>https://mome-n.com/categories/cloud/</link><description>Recent content in Cloud on もふもふのブログ</description><generator>Hugo -- gohugo.io</generator><language>ja</language><copyright>&amp;copy;{year} もふもふのブログ</copyright><lastBuildDate>Sun, 16 Mar 2025 14:00:00 +0900</lastBuildDate><atom:link href="https://mome-n.com/categories/cloud/index.xml" rel="self" type="application/rss+xml"/><item><title>GCPのログルーターで転送漏れしたログを手動でBigQueryにインポートする方法</title><link>https://mome-n.com/posts/gcp-log-recovery-bigquery/</link><pubDate>Sun, 16 Mar 2025 14:00:00 +0900</pubDate><atom:modified>Wed, 07 Jan 2026 23:36:43 +0900</atom:modified><guid>https://mome-n.com/posts/gcp-log-recovery-bigquery/</guid><description>&lt;div class="heading-container"&gt;
&lt;h2 id="まえがき"&gt;
&lt;span class="heading-text"&gt;まえがき&lt;/span&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;GCPでログルーターを使用し、LoggingバケットからBigQueryへログを転送していましたが、フィルタの更新を忘れていたため、約4日分のログが転送されていませんでした。そこで、手動でBigQueryに転送した手順を備忘録として残しておきます。&lt;/p&gt;</description><dc:creator>もふもふ</dc:creator><media:content url="https://mome-n.com/images/content-eye-catch/8b36ea799da0e59b.png" medium="image"><media:title type="html">meta image</media:title></media:content><category>GCP</category><category>cloud</category></item><item><title>GCPのCloud Run Functions(旧Cloud Functions)でCORS対応のリクエストを行う方法について</title><link>https://mome-n.com/posts/gcp-cloud-function-set-cors/</link><pubDate>Sun, 22 Dec 2024 17:00:00 +0900</pubDate><atom:modified>Wed, 07 Jan 2026 23:36:43 +0900</atom:modified><guid>https://mome-n.com/posts/gcp-cloud-function-set-cors/</guid><description>&lt;div class="heading-container"&gt;
&lt;h2 id="まえがき"&gt;
&lt;span class="heading-text"&gt;まえがき&lt;/span&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;ブラウザはセキュリティのため、デフォルトでは異なるオリジンのリソースにアクセスできません（同一オリジンポリシー）。&lt;/p&gt;
&lt;p&gt;リソースにアクセスできるようにするためには、サーバーがHTTPレスポンスヘッダーを通じて、ブラウザにリソースへのアクセスを許可する必要があります。&lt;br&gt;
このアクセス許可がないと&lt;code&gt;Ensure CORS requesting origin matches resource's allowed origin&lt;/code&gt;のエラーがブラウザのコンソールのログに出力されます。&lt;br&gt;
&lt;figure class="figure"&gt;
&lt;picture&gt;
&lt;source type="image/webp" srcset="https://cdn.mome-n.com/main/images/ins/gcfsc1.webp"&gt;
&lt;source type="image/png" srcset="https://cdn.mome-n.com/main/images/ins/gcfsc1.png"&gt;
&lt;img class="h-auto"
src="https://cdn.mome-n.com/main/images/ins/gcfsc1.png"
alt="CORSのエラー"
loading="lazy"
width="821"
height="163"
&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;</description><dc:creator>もふもふ</dc:creator><media:content url="https://mome-n.com/images/content-eye-catch/b45d01ec04d2a6b5.png" medium="image"><media:title type="html">meta image</media:title></media:content><category>gcp</category><category>cloud</category></item><item><title>GCPでVMインスタンスの使用中のディスク容量を確認する方法</title><link>https://mome-n.com/posts/gcp-disk-check/</link><pubDate>Thu, 15 Feb 2024 22:00:00 +0900</pubDate><atom:modified>Wed, 07 Jan 2026 23:36:43 +0900</atom:modified><guid>https://mome-n.com/posts/gcp-disk-check/</guid><description>&lt;div class="heading-container"&gt;
&lt;h2 id="まえがき"&gt;
&lt;span class="heading-text"&gt;まえがき&lt;/span&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;コンソール上でVMインスタンスの使用中のディスク容量を確認する方法ありません。&lt;br&gt;
SSHで直接インスタンスに接続して確認しましょう。&lt;/p&gt;
&lt;div class="heading-container"&gt;
&lt;h2 id="vmインスタンスにsshで接続する"&gt;
&lt;span class="heading-text"&gt;VMインスタンスにSSHで接続する&lt;/span&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;下記コマンドでVMインスタンスにSSHで接続します。&lt;/p&gt;</description><dc:creator>もふもふ</dc:creator><media:content url="https://mome-n.com/images/content-eye-catch/37bd2dea44e75616.png" medium="image"><media:title type="html">meta image</media:title></media:content><category>GCP</category><category>cloud</category></item></channel></rss>