Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.
Sv translation
languageen

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.

Note

It's assumed that you already have a working Azure account, with a configured subscription and billing, and all rights necessary to access the features described used in this guide.

Deploying a Ubuntu VM

Creating a Resource Group

We 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':

Image Modified

Select "resource groups" to enter that panel.

Click on "Add" to create a new resource group. You will see a section similar to:

Image Modified

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 Account

Before 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':

Image Modified

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:

Image Modified

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 Machine

The 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:

Image Modified

Click on resource groups to enter that panel.

Click on the resource group we created previously. In our case, it's "docker.fileflexdemo.com:

Image Modified

Click the Add button to add resources, and you'll see a marketplace listing similar to:

Image Modified

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:

Image Modified

Basic Machine Configuration

Ensure 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:

Image Modified

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 Configuration

The next step is to configure the disks available to the machine. Click the "disks" tab at the top:

Image Modified

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:

Image Modified

Under "Advanced", ensure that "use managed disks" is selected.

Networking Configuration

The next step is to configure the networking. Click the "networking" tab at the top.

Image Modified

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":

Image Modified

This will open a new panel on the right allowing you to add inbound rules. Click the "Add an inbound rule" link:

Image Modified

Under "destination port ranges", enter the following list:

Code Block
9443, 443, 80, 4007, 4010, 4011, 3310

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.

Note

We don't need to configure anything under the "Management", "Advanced", or "Tags" tabs.

Click "Review + create" at the bottom.

Image Modified

Once validation is passed, you will be able to click on "Create" at the bottom. Do so now.

Connecting to your Virtual Machine

As your machine is being created you will see something similar to:

Image Modified

Wait for the deployment to complete. Once finished, you will see the screen change to the following:

Image Modified

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:

Image Modified

Click on "Virtual machines", then select your machine from the list. In this case:

Image Modified

After clicking the listed machine instance, you should be taken to your VM's control panel which looks something like this:

Image Modified

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:

Image Modified

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:

Image Modified

Congratulations, your VM is deployed! Now it's time to install Docker.

Excerpt Include
Deploying FileFlex Server with Docker Base
Deploying FileFlex Server with Docker Base
nopaneltrue

Sv translation
languageja_JP

このドキュメントでは、Docker を使用して Azure に FileFlex Enterprise ソリューションをデプロイするために用いるプロセスについて説明します。 これを実現するには、Ubuntu 仮想マシン (VM) をスプールし、Docker エンジンをその上で実行する必要があります。 それが完了すると、FileFlex Enterprise Docker イメージをデプロイできます。

Note

有効な Azure アカウントをすでに持っており、サブスクリプションと請求が設定されていて、このガイドで説明されている機能にアクセスするために必要なすべての権限があることを想定しています。

Ubuntu VM のデプロイ

リソースグループの作成

VM コンポーネントを格納するリソースグループを作成します。 すでに持っている場合は、このセクションをスキップできます。 サービスフィルターを使用して、[すべてのサービス] の下のサービスフィルターに「resource」と入力することにより、そのコントロールパネルをすばやく分離します。

Image Added

[リソースグループ] を選択して、そのパネルに入ります。

[追加] をクリックして、新しいリソースグループを作成します。 次のようなセクションが表示されます。

Image Added

既存のサブスクリプションを選択します。 ここでは、「従量制料金」を選択しています。

リソースグループの新しい名前を入力します。 ここでは「Docker.fileflexdemo.com」と入力しています

ストレージに最適なリージョンを選択します。 ここでは「米国東部」を選択しています。

下部にある [確認して作成] をクリックします。 検証に合格したとすると、このフェーズを完了するには、すぐに [作成] をクリックする必要があります。

ストレージアカウントの作成

仮想マシンをデプロイする前に、ストレージを設定する必要があります。 サービスフィルターを使用して、[すべてのサービス] の下のサービスフィルターに「storage」と入力することにより、そのコントロールパネルをすばやく分離します。

Image Added

ストレージアカウントをクリックして、そのパネルに入ります。

[追加] をクリックして新しいストレージアカウントを作成すると、次のようなコントロールを含むパネルが表示されます。

Image Added

[基本] タブで、サブスクリプションプランが選択されていることを確認します。 ここでは、「従量制料金」を選択しました。

前に設定したリソースグループを選択します。 ここでは、「Docker.fileflexdemo.com」を選択しています。

アカウント名を指定します。 ここでは「fileflexDockerdemo」と呼び出しています。

リージョンを選択します - ここでは再び「米国東部」を選択しています。 このガイドで使用するすべてのパネルで同じリージョンが選択されていることを確認してください。

パフォーマンス設定のオーバーライドを選択できますが、ここではデフォルトを使用します。 

[確認して作成] をクリックし、最後の検証が完了したら [作成] をクリックします。

仮想マシンの作成

次のステップは、仮想マシン自体を作成することであり、「リソースグループ」パネルを使用してそれを行います。 上部の検索コントロールに「resource」と入力して、検索バーを使用してそのコントロールパネルをすばやく分離します。

Image Added

リソースグループをクリックして、そのパネルに入ります。

前に作成したリソースグループをクリックします。 この例の場合、「Docker.fileflexdemo.com」です。

Image Added

[追加] ボタンをクリックしてリソースを追加すると、次のようなマーケットプレイスのリストが表示されます。

Image Added

検索フィールドに「Ubuntu Server」と入力して結果を絞り込み、Enter キーを押します。

表示されたリストから、「Canonical」の「Ubuntu Server 18.04 LTS」をクリックします。

[作成] ボタンをクリックすると、次のような仮想マシン作成パネルが表示されます。

Image Added

基本的なマシン設定

サブスクリプション(ここでは「従量制料金」)とリソースグループ(ここでは「Docker.fileflexdemo.com」)が選択されていることを確認します。

仮想マシン名を入力します。 ここでは、「Docker.fileflexdemo.com」を使用しています。

他のパネルと同じリージョンが選択されていることを確認します(ここでは、「米国東部」を選択しています)。

[サイズ] で [サイズを変更] をクリックして、ニーズを最もよく表す容量を選択します。 デフォルトの 2 コア設定(D2s_v3)は、多くのシナリオに適しています。 デフォルトに満足している場合は、この手順をスキップできます。 VM サイズを選んだら、[選択] をクリックして確定します。 選択したサイズが [仮想マシンの作成] パネルに表示されます。

Image Added

認証タイプでは、「パスワード」を使用します。 そのラジオボタンを選択します。

[ユーザー名] で、「dadmin」と入力します。

[パスワード] で、任意のパスワードを入力します。 ここでは「Q!w2e3r4t5y6」と入力します。 「パスワードの確認」ボックスでもパスワードを確認します。

ディスクの設定

次のステップは、マシンで使用できるディスクを設定することです。 上部の [ディスク] タブをクリックします。

Image Added

[OS ディスクタイプ] で、必要なパフォーマンスを選択します。 SSD を選択することをお勧めします。

[データディスク] で、「空の」ディスクがリストされていないことを確認します。 次のようになるはずです。

Image Added

[詳細] で、「管理対象ディスクを使用する」が選択されていることを確認します。

ネットワーク設定

次のステップは、ネットワークを設定することです。 上部の [ネットワーク] タブをクリックします。

Image Added

このデプロイでは、「仮想ネットワーク」、「サブネット」、「パブリック IP」のデフォルト設定で問題ありません。

[NIC ネットワークセキュリティグループ] で [詳細] を選択します。 

[ネットワークセキュリティグループの設定] の下にある [新規作成] をクリックします。

Image Added

これにより、右側に新しいパネルが開き、インバウンドルールを追加できます。 [インバウンドルールの追加] リンクをクリックします。

Image Added

[宛先ポート範囲] で、次のリストを入力します。

Code Block
9443, 443, 80, 4007, 4010, 4011, 3310

[プロトコル] で、「TCP」をクリックします。

名前に「fileflex_ports」などの値を付けます

追加ボタンをクリックしてルールを追加してから、[OK] をクリックしてルールの変更をコミットします。

その後、[仮想マシンの作成] の前の [ネットワーク] タブに戻ります。

[ロードバランシング] で、[いいえ] が選択されていることを確認します。

Note

[管理]、[詳細]、または [タグ] タブで設定を行う必要はありません。

下部にある [確認して作成] をクリックします。

Image Added

検証に合格すると、下部にある [作成] をクリックできるようになります。 [作成] をクリックします。

仮想マシンへの接続

マシンが作成されると、次のようなものが表示されます。

Image Added

デプロイが完了するまで待ちます。 完了すると、画面が次のように変わります。

Image Added

デプロイが完了すると、マシンが起動するので、SSH で接続をテストできます。 それを行う前に、マシンのパブリック IP アドレスを取得する必要があります。

上部で「仮想マシン」を検索します。

Image Added

[仮想マシン] をクリックし、リストからマシンを選択します。 この場合:

Image Added

リストされたマシンインスタンスをクリックすると、次のような VM のコントロールパネルが表示されます。

Image Added

右側にリストされているパブリック IP アドレスをメモします。 この場合、「46.76.221.24」です。

Putty、または任意の SSH クライアントを開き、ポート 22 を介してリストされている IP に接続します。

Image Added

Putty で [開く] をクリックして、新しい VM への SSH セッションを開始します。 ログインプロンプトが表示されます。

「dadmin」と以前に入力したパスワードを使用してログインします。 今回の場合は「Q!w2e3r4t5y6」でした。

オープンなターミナルが表示されるはずです。

Image Added

おめでとうございます。VM がデプロイされました! 次に、Docker をインストールします。

Excerpt Include
Deploying FileFlex Server with Docker Base
Deploying FileFlex Server with Docker Base
nopaneltrue