らんだむな記憶

blogというものを体験してみようか!的なー

2020-04-15から1日間の記事一覧

nodeでCompute Engine APIを使って外部IPを取得したい

Using the Node.js Client Libraries | Compute Engine Documentation Getting Started with Authentication | Google Cloud ら辺を参考にする。 $ npm install --save googleapis して、「IAM と管理」の「サービス アカウント」から取得した credentials …

nodebrew更新

Node.jsを入れておこう(2) - らんだむな記憶で使った nodebrew であるが、最新の node.js v13.13.0 をインストールしようとしたら v13.13.0 is not found Can not fetch: https://nodejs.org/dist/v13.13.0/node-v13.13.0-darwin-x64.tar.gzという無慈悲なロ…

Compute Engine API

GCP

インスタンスの外部 IP アドレスと内部 IP アドレスの特定 | Compute Engine ドキュメント | Google Cloudを使おうかと思ったけど、Google APIのAccess Tokenをお手軽に取得する - Qiitaみたいな処理も必要なのかもしれない。Creating API requests and hand…

VM が起動できない

GCP

GCEのzone:asia-east1-aに構築するのはよくない。 - Qiitaみたいなメッセージが出て VM が起動できないことがある。 プリエンプティブルに設定しているからかもしれないし、それ以前にそもそも本当にリソースが枯渇なのかもしれない?