Sv translation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
This document describes the process used to deploy the FileFlex Enterprise solution on Azure using Docker. To achieve this, a Ubuntu Virtual Machine must be spooled up, with the Docker Engine running on it. Once that has been completed, the FileFlex Enterprise docker image can be deployed.
Deploying a Ubuntu VMCreating a Resource GroupWe will create a resource group to house our VM components. If you already have one, you can skip this section. Use the services filter to quickly isolate that control panel by entering "resource" into the services filter under 'All services': Select "resource groups" to enter that panel. Click on "Add" to create a new resource group. You will see a section similar to: Select an existing subscription. Here we've selected "pay as you go". Enter a new name for the resource group. Here we're entering "docker.fileflexdemo.com" Select the most appropriate region for your storage. Here we're selecting "East US". Click "Review + create" at the bottom. Assuming that validation passes you'll have to click on Create immediately afterwards to complete this phase. Creating a Storage AccountBefore deploying a Virtual Machine we must configure some storage. Use the services filter to quickly isolate that control panel by entering "storage" into the services filter under 'All services': Click on storage accounts to enter that panel. Click "Add" to create a new storage account, and you will be presented with a panel containing controls including the following: Under the "Basics" tab, ensure that a subscription plan has been selected. Here we have chosen "pay as you go". Select the resource group you configured previously. Here we're selecting "docker.fileflexdemo.com". Provide an account name. Here we're calling it "fileflexdockerdemo". Select a region - here we are selecting "East US" again. Ensure the same region is selected in all panels used by this guide. You can choose to override the performance settings, but here we're going with the defaults. Click "Review + create", followed by "Create" when final validation complete. Creating a Virtual MachineThe next step is to create the virtual machine itself, and we do that through the "resource groups" panel. Use the search bar to quickly isolate that control panel by entering "resource" into the search control at the top: Click on resource groups to enter that panel. Click on the resource group we created previously. In our case, it's "docker.fileflexdemo.com: Click the Add button to add resources, and you'll see a marketplace listing similar to: Enter "Ubuntu Server" into the search field to narrow the results, and hit enter. From the provided list click on "Ubuntu Server 18.04 LTS" from "Canonical". Click on the "Create" button, and you'll be presented with a virtual machine creation panel similar to: Basic Machine ConfigurationEnsure that your subscription (here, it's "pay as you go", and your resource group (here, it's "docker.fileflexdemo.com) are selected. Enter a virtual machine name. Here we're using "docker.fileflexdemo.com". Ensure the same region is elected as in the other panels (here, we select "East US"). Under "size", click "change size" to select a capacity which best represents your needs. The default 2-core configuration (D2s_v3) is a good choice for many scenarios. If you're satisfied with the default you can skip this step. After making a VM size choice, click "select" to confirm it. You will see your chosen size in the "Create a virtual machine" panel: Under authentication type, we will use "password". Select that radio button. Under "username", enter "dadmin". Under "password", enter a password of your choice. Here we will enter "Q!w2e3r4t5y6". Confirm the password in the "confirm password" box as well. Disk ConfigurationThe next step is to configure the disks available to the machine. Click the "disks" tab at the top: Under "OS disk type" select the performance that you need. It's recommended that an SSD is selected. Ensure that under "Data disks", no "empty" disks are listed. It should look like: Under "Advanced", ensure that "use managed disks" is selected. Networking ConfigurationThe next step is to configure the networking. Click the "networking" tab at the top. The default settings for "Virtual network", "subnet" and "Public IP" are fine for this deployment. Under "NIC network security group" choose "Advanced". Click "create new" under "Configure network security group": This will open a new panel on the right allowing you to add inbound rules. Click the "Add an inbound rule" link: Under "destination port ranges", enter the following list:
Under "protocol" click "TCP". Give the name a value such as "fileflex_ports" Click the add button to add the rules, then click OK to commit the rule changes. You will then be brought back to the prior Networking tab of "Create a virtual machine". Under "load balancing" ensure "No" is selected.
Click "Review + create" at the bottom. Once validation is passed, you will be able to click on "Create" at the bottom. Do so now. Connecting to your Virtual MachineAs your machine is being created you will see something similar to: Wait for the deployment to complete. Once finished, you will see the screen change to the following: When the deployment has completed, the machine will be booted up, so you can test a connection by SSH. Before we can do that we need to get our machine's public IP address. Search for "virtual machines" at the top: Click on "Virtual machines", then select your machine from the list. In this case: After clicking the listed machine instance, you should be taken to your VM's control panel which looks something like this: Take note of the public IP address listed on the right hand side. In this case, "46.76.221.24". Open Putty, or an SSH client of your choice, and connect to the listed IP, over port 22: Click "Open" in putty to initiate an SSH session to the new VM. You will be presented with a login promt. Login using "dadmin" and the password you previously entered. In our case, it was "Q!w2e3r4t5y6". You should be presented with an open terminal: Congratulations, your VM is deployed! Now it's time to install Docker.
|
Sv translation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
このドキュメントでは、Docker を使用して Azure に FileFlex Enterprise ソリューションをデプロイするために用いるプロセスについて説明します。 これを実現するには、Ubuntu 仮想マシン (VM) をスプールし、Docker エンジンをその上で実行する必要があります。 それが完了すると、FileFlex Enterprise Docker イメージをデプロイできます。
Ubuntu VM のデプロイリソースグループの作成VM コンポーネントを格納するリソースグループを作成します。 すでに持っている場合は、このセクションをスキップできます。 サービスフィルターを使用して、[すべてのサービス] の下のサービスフィルターに「resource」と入力することにより、そのコントロールパネルをすばやく分離します。 [リソースグループ] を選択して、そのパネルに入ります。 [追加] をクリックして、新しいリソースグループを作成します。 次のようなセクションが表示されます。 既存のサブスクリプションを選択します。 ここでは、「従量制料金」を選択しています。 リソースグループの新しい名前を入力します。 ここでは「Docker.fileflexdemo.com」と入力しています ストレージに最適なリージョンを選択します。 ここでは「米国東部」を選択しています。 下部にある [確認して作成] をクリックします。 検証に合格したとすると、このフェーズを完了するには、すぐに [作成] をクリックする必要があります。 ストレージアカウントの作成仮想マシンをデプロイする前に、ストレージを設定する必要があります。 サービスフィルターを使用して、[すべてのサービス] の下のサービスフィルターに「storage」と入力することにより、そのコントロールパネルをすばやく分離します。 ストレージアカウントをクリックして、そのパネルに入ります。 [追加] をクリックして新しいストレージアカウントを作成すると、次のようなコントロールを含むパネルが表示されます。 [基本] タブで、サブスクリプションプランが選択されていることを確認します。 ここでは、「従量制料金」を選択しました。 前に設定したリソースグループを選択します。 ここでは、「Docker.fileflexdemo.com」を選択しています。 アカウント名を指定します。 ここでは「fileflexDockerdemo」と呼び出しています。 リージョンを選択します - ここでは再び「米国東部」を選択しています。 このガイドで使用するすべてのパネルで同じリージョンが選択されていることを確認してください。 パフォーマンス設定のオーバーライドを選択できますが、ここではデフォルトを使用します。 [確認して作成] をクリックし、最後の検証が完了したら [作成] をクリックします。 仮想マシンの作成次のステップは、仮想マシン自体を作成することであり、「リソースグループ」パネルを使用してそれを行います。 上部の検索コントロールに「resource」と入力して、検索バーを使用してそのコントロールパネルをすばやく分離します。 リソースグループをクリックして、そのパネルに入ります。 前に作成したリソースグループをクリックします。 この例の場合、「Docker.fileflexdemo.com」です。 [追加] ボタンをクリックしてリソースを追加すると、次のようなマーケットプレイスのリストが表示されます。 検索フィールドに「Ubuntu Server」と入力して結果を絞り込み、Enter キーを押します。 表示されたリストから、「Canonical」の「Ubuntu Server 18.04 LTS」をクリックします。 [作成] ボタンをクリックすると、次のような仮想マシン作成パネルが表示されます。 基本的なマシン設定サブスクリプション(ここでは「従量制料金」)とリソースグループ(ここでは「Docker.fileflexdemo.com」)が選択されていることを確認します。 仮想マシン名を入力します。 ここでは、「Docker.fileflexdemo.com」を使用しています。 他のパネルと同じリージョンが選択されていることを確認します(ここでは、「米国東部」を選択しています)。 [サイズ] で [サイズを変更] をクリックして、ニーズを最もよく表す容量を選択します。 デフォルトの 2 コア設定(D2s_v3)は、多くのシナリオに適しています。 デフォルトに満足している場合は、この手順をスキップできます。 VM サイズを選んだら、[選択] をクリックして確定します。 選択したサイズが [仮想マシンの作成] パネルに表示されます。 認証タイプでは、「パスワード」を使用します。 そのラジオボタンを選択します。 [ユーザー名] で、「dadmin」と入力します。 [パスワード] で、任意のパスワードを入力します。 ここでは「Q!w2e3r4t5y6」と入力します。 「パスワードの確認」ボックスでもパスワードを確認します。 ディスクの設定次のステップは、マシンで使用できるディスクを設定することです。 上部の [ディスク] タブをクリックします。 [OS ディスクタイプ] で、必要なパフォーマンスを選択します。 SSD を選択することをお勧めします。 [データディスク] で、「空の」ディスクがリストされていないことを確認します。 次のようになるはずです。 [詳細] で、「管理対象ディスクを使用する」が選択されていることを確認します。 ネットワーク設定次のステップは、ネットワークを設定することです。 上部の [ネットワーク] タブをクリックします。 このデプロイでは、「仮想ネットワーク」、「サブネット」、「パブリック IP」のデフォルト設定で問題ありません。 [NIC ネットワークセキュリティグループ] で [詳細] を選択します。 [ネットワークセキュリティグループの設定] の下にある [新規作成] をクリックします。 これにより、右側に新しいパネルが開き、インバウンドルールを追加できます。 [インバウンドルールの追加] リンクをクリックします。 [宛先ポート範囲] で、次のリストを入力します。
[プロトコル] で、「TCP」をクリックします。 名前に「fileflex_ports」などの値を付けます 追加ボタンをクリックしてルールを追加してから、[OK] をクリックしてルールの変更をコミットします。 その後、[仮想マシンの作成] の前の [ネットワーク] タブに戻ります。 [ロードバランシング] で、[いいえ] が選択されていることを確認します。
下部にある [確認して作成] をクリックします。 検証に合格すると、下部にある [作成] をクリックできるようになります。 [作成] をクリックします。 仮想マシンへの接続マシンが作成されると、次のようなものが表示されます。 デプロイが完了するまで待ちます。 完了すると、画面が次のように変わります。 デプロイが完了すると、マシンが起動するので、SSH で接続をテストできます。 それを行う前に、マシンのパブリック IP アドレスを取得する必要があります。 上部で「仮想マシン」を検索します。 [仮想マシン] をクリックし、リストからマシンを選択します。 この場合: リストされたマシンインスタンスをクリックすると、次のような VM のコントロールパネルが表示されます。 右側にリストされているパブリック IP アドレスをメモします。 この場合、「46.76.221.24」です。 Putty、または任意の SSH クライアントを開き、ポート 22 を介してリストされている IP に接続します。 Putty で [開く] をクリックして、新しい VM への SSH セッションを開始します。 ログインプロンプトが表示されます。 「dadmin」と以前に入力したパスワードを使用してログインします。 今回の場合は「Q!w2e3r4t5y6」でした。 オープンなターミナルが表示されるはずです。 おめでとうございます。VM がデプロイされました! 次に、Docker をインストールします。
|