このコンテンツは選択した言語では利用できません。

4.2. Setting up Google Compute Engine


To set up Google Compute engine, perform the following steps:

4.2.1. SSH Keys

SSH keys must be generated and registered with the Google Compute Engine project to connect via standard SSH. You can SSH directly to the instance public IP addresses after it is generated.
  1. Generate an SSH key pair for use with Google Compute Engine using the following command:
    # ssh-keygen -t rsa -f ~/.ssh/google_compute_engine
    Copy to Clipboard
  2. In the Google Developers Console, click Computer > Compute Engine > Metadata > SSH Keys > Edit.
  3. Enter the output generated from ~/.ssh/google_compute_engine.pub file, and click Save.
  4. To enable SSH agent to use this identity file for each new local console session, run the following command on the console:
    # ssh-add ~/.ssh/google_compute_engine
    Copy to Clipboard
  5. Adding the below line to your ~/.ssh/config file helps you automate this command.
    IdentityFile ~/.ssh/google_compute_engine
    Copy to Clipboard
  6. You can now connect via standard SSH to the new VM instances created in your Google Compute Engine project.
    # ssh -i ~/.ssh/google_compute_engine  <username>@<instance_external_ip>
    
    Copy to Clipboard
The gcloud compute config-ssh command from the Google Cloud SDK populates your~/.ssh/config file with aliases that allows simple SSH connections by instance name.

4.2.2. Setting up Quota

The minimum persistent disk quotas listed below are required for this deployment. It may be necessary to request a quota increase from Google.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat