Back to list
dev_to 2026年3月15日

Azure 環境のセットアップ:ガイド付きプロジェクトウォークスルー

Setting Up Your Azure Environment: A Guided Project Walkthrough

Translated: 2026/3/15 3:01:30
azurecloud-infrastructureresource-groupvirtual-machinedocumentation

Japanese Translation

Introduction クラウドインフラストラクチャのセットアップは圧倒的なものを感じるかもしれませんが、Azure Portal の構造化された UI を通してそれを管理可能です。このガイドでは、リソースグループ、仮想ネットワーク、仮想マシン、ストレージアカウントをプロビジョニングする基本手順をウォークスルーします。この順序に従うことで、環境が整理され、開始から完了まで簡単に管理できると確保できます。 クリーンアップを容易にするために、最終的にリソースを保持するためにこのガイド付きプロジェクトのためのリソースを保持するために、新しいリソースグループを作成することから始めましょう。リソースグループを使用してものを整理することは、プロジェクトが終了したときにリソースを管理できることを確保する簡単な方法です。 Azure Portal ホームページから、検索ボックスに入力し、リソースグループを記入します。 サービスの下でリソースグループを選択します。 重要:すでに作成された他のリソースグループをメモしてください。クリーンアップ中に、すでに存在するリソースグループを削除しないでください。特に、NetworkWatcherRG というリソースグループに注目してください。もしそれがすでに存在しない場合、このガイド付きプロジェクト中に NetworkWatcherRG が作成され、最後に削除されます。しかし、プロジェクトを開始する前に NetworkWatcherRG がすでに存在している場合は、最後に削除しないでください。ガイド付きプロジェクト用のグループを作成する前に、存在するリソースグループのスクリーンショットを撮っておくと役立ちます。 Create を選択します。 注記:サブスクリプションはすでに選択されているはずです。このログインに関連付けられた複数の Azure サブスクリプションがある場合、ガイド付きプロジェクトで使用したいものを選択します。 リソースグループ名フィールドに guided-project-rg を入力します。 リージョンフィールドは自動的にポップアップします。デフォルト値を残してください。East US では私は仮想マシンを作成するのを許さないので、Korea central を使用する必要があります。 Review + create を選択します。 Create を選択します。 Azure Portal ホームページのホームに戻すために Home を選択します。 Azure Portal ホームページから、検索ボックスに入力し、仮想ネットワークを記入します。 サービスの下で仮想ネットワークを選択します。 Create を選択します。 注記:サブスクリプションとリソースグループは自動的に埋まるはずです。埋められた情報が正しいサブスクリプションと新しいリソースグループ(guided-project-rg を使った命名規則に従って)に一致するか確認します。 Instance 詳細セクションをスクロールして下へ、仮想ネットワーク名に guided-project-vnet を記入します。 Review + create を選択します。 Create を選択します。 画面がリフレッシュされるのを待ち、Your deployment is complete を表示します。 Home を選択して Azure Portal ホームページに戻ります。 Azure Portal ホームページから、検索ボックスに入力し、仮想マシンを記入します。 サービスの下で仮想マシンを選択します。 Create を選択し、その次に Virtual machine を選択します。 注記:サブスクリプションは自動的に埋まります。入力された情報が正しいサブスクリプションに一致するか確認します。 guided-project-rg をリソースグループに選択します。 仮想マシン名に guided-project-vm を記入します。 イメージについて、Ubuntu Server オプションの 1 つを選択します(例:Ubuntu Server 24.04 LTS - x64 Gen2)。 Basics ページを続け、Administrator 口座セクションに続けます。 認証タイプに Password を選択します。 管理者ユーザー名に guided-project-admin を記入します。 管理者アカウントのパスワードを入力し、それを確認します。 残りの設定をデフォルト設定のまま残します。設定を見直してよろしいですが、変更しないはずです。 Review + create を選択します。 https://dev-to-uploads.s3.amazonaws.com/uploads/articles/edwgkwek9f0ygts1j2ck.png) 注記:検証が通過すると、VM を稼働させるごとに小时的コストの見積もりが受けられます。 リソースコストを確認し、仮想マシンを作成するために Create を選択します。 Home を選択して Azure Portal ホームページに戻ります。 Create a Storage Account Azure Portal ホームページから、t

Original Content

Setting Up Your Azure Environment: A Guided Project Walkthrough Introduction Getting started with cloud infrastructure can feel overwhelming, but the Azure Portal makes it manageable through a structured UI. In this guide, we will walk through the essential steps to provision a Resource Group, a Virtual Network, a Virtual Machine, and a Storage Account. By following this sequence, you will ensure your environment is organized and easy to manage from start to finish. In order to make clean-up easy at the end, start with creating a new resource group to hold the resources for this guided project. Using resource groups to organize things is a quick way to ensure you can manage resources when a project is over. From the Azure portal home page, in the search box, enter resource groups. Select Resource groups under services. Important: Take note of other resource groups that are already created. During clean up, you want to avoid deleting resource groups that were already here. Pay special attention for a resource group called NetworkWatcherRG. If it doesn’t already exist, the NetworkWatcherRG will be created during this guided project and should be deleted at the end. However, if the NetworkWatcherRG already exists prior to starting this project, you should NOT delete it at the end. It may be helpful to take a screenshot of resource groups that exist before you create the group for the guided project. Select Create. Note: Your subscription should already be selected. If you have multiple Azure subscriptions associated with this login, select the one you’d like to use for the guided project. Enter guided-project-rg in the Resource group name field. The Region field will automatically populate. Leave the default value. Unfortunately the East US would not allow me create a Virtual Machine as there were no availability so I had to use Korea central. Select Review + create. Select Create. Return to the home page of the Azure portal by selecting Home. From the Azure portal home page, in the search box, enter virtual networks. Select virtual networks under services. Select Create. Note: The subscription and resource group should automatically fill in. Verify that the information filled in matches the correct subscription and the new resource group created for the guided project (guided-project-rg if you’re following along with the naming conventions). Scroll down to the Instance details section and enter guided-project-vnet for the Virtual network name. Select Review + create. Select Create. Wait for the screen to refresh and show Your deployment is complete. Select Home to return to the Azure portal home page. From the Azure portal home page, in the search box, enter virtual machines. Select virtual machines under services. Select Create and then select Virtual machine. Note: The subscription should automatically fill in. Verify that the information filled in matches the correct subscription. Select guided-project-rg for the Resource group. Enter guided-project-vm for the Virtual machine name. For the Image, select one of the Ubuntu Server options (For example, Ubuntu Server 24.04 LTS - x64 Gen2). Continue further on the Basics page to the Administrator account section. Select Password for authentication type. Enter guided-project-admin for the admin Username. Enter a password for the admin account and confirm it. Leave the rest of the settings as default settings. You can review the settings if you like, but shouldn’t change any. Select Review + create. https://dev-to-uploads.s3.amazonaws.com/uploads/articles/edwgkwek9f0ygts1j2ck.png) Note: Once validation has passed, you’ll receive a cost estimate of how much it will cost per hour to run the VM. Select Create to confirm the resource cost and create the virtual machine. Select Home to return to the Azure portal home page. Create a Storage Account From the Azure portal home page, in the search box, enter storage accounts. Select Storage accounts under services. Select Create. Note: The subscription and resource group should automatically fill in. Verify that the information filled in matches the correct subscription and the new resource group created for the guided project. Scroll down to the Instance details section and enter a name for the storage account. > Note: Storage accounts must be globally unique, so you may have to try a few different times to get a storage account name. Select Review + create. Select Create. Wait for the screen to refresh and show Your deployment is complete. Select Home to return to the Azure portal home page. Conclusion By following these steps, you have successfully deployed a foundational set of resources in Azure. You now have a dedicated Resource Group containing a Virtual Network, a Linux-based Virtual Machine, and a Storage Account. Organizing your work this way not only provides a clean environment for your project but also ensures that when you are finished, you can easily remove the resource group to prevent unnecessary costs. Let's hear your thought