Table of Contents Previous Next


3 Installing the EDB Ark Console : 3.3 Installing EDB Ark for Azure : 3.3.4 Launching the Ark Console Instance

C:\Users\susan\Desktop\Screen Shot 2017-10-31 at 9.33.16 AM.png
When the Azure Marketplace opens, enter EDB Postgres Ark in the search box. Select the EDB Postgres Ark (published by EnterpriseDB Corp.) icon from the search results, and click Create to continue.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\284e36e5\Screen Shot 2017-06-28 at 3.26.38 PM.png
Use fields on the Basics panel (see Figure 3.47) to provide general information about the new VM:
Use the VM disk type field to select the disk type for the root volume.
Use the Authentication type switch to select an authentication type.
If applicable, use the Resource group field to specify a resource group.
If prompted, use the Location field to specify a location.
Click OK to continue.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\c34405c1\Screen Shot 2018-04-13 at 3.15.17 PM.png
Use options on the Size panel (see Figure 3.48) to specify your preferences about the size of the VM instance:
Use the Supported disk type drop-down listbox to select the disk type for the machine.
Use the Minimum cores slider to specify the minimum number of cores allotted for the machine.
Use the Maximum memory slider to specify the maximum memory allotted for the machine.
Click Select to continue.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\0fb91b2a\Screen Shot 2018-04-13 at 3.23.33 PM.png
Use fields on the Settings panel (see Figure 3.49) to specify your configuration preferences for the virtual machine. When configuring an Azure virtual machine to use the Ark console, you should:
Open the Network security group pane and select the security group that you wish to use for the virtual machine.
Use the Extensions pane to identify a script that contains the password that allows access to the Ark console. Create a file named startup-password.sh that contains the following text:
#!/bin/sh
rm -f /usr/share/tomcat/startup-password.txt
echo "
console_password" > /usr/share/tomcat/startup-password.txt
chown tomcat:tomcat /usr/share/tomcat/startup-password.txt
chmod 600 /usr/share/tomcat/startup-password.txt
Where console_password is replaced with the password you will provide when prompted for a password by the Ark setup dialog.
To provide the location of the script to the virtual machine, open the Extensions pane, and click Add extension; when the New resource pane opens, select Custom Script For Linux.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\50ceb115\Screen Shot 2018-04-13 at 3.17.52 PM.png
Use the Install extension pane (see Figure 3.50) to identify the script file:
Use the button to the right of the Script files field to open a file browser and upload the script file.
Enter the command that will invoke your script in the Command field; for example, sh startup-password.sh.
Click OK to continue and return to the Settings panel; when you've finished updating the settings with your preferences, click OK to continue to the Summary panel.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\0d331c11\Screen Shot 2018-04-13 at 3.28.29 PM.png
The Summary panel (see Figure 3.51) displays a detailed description of the configuration of the virtual machine that will host the Ark console. Select OK to begin deploying the virtual machine.
You can monitor the virtual machine's deployment from the Azure Operations page, the Resource group activity log, or the Virtual machine page. A notification will be generated when the deployment completes.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\4662916b\Screen Shot 2018-04-12 at 2.44.41 PM.png
While the virtual machine deploys, you can register your application in the Azure Active Directory. You will need the Public IP address or DNS name of your server for the registration. To copy the IP address, click the copy icon to the right of the Public IP address on the VM details panel (see Figure 3.52).
C:\Users\susan\Desktop\Screen Shot 2018-04-12 at 2.50.10 PM.png
After copying the public IP address or DNS name of your server, select App registrations from the Azure Active Directory page. Click the New application registration button located on the App registrations detail panel (see Figure 3.53).
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\07bf5b54\Screen Shot 2017-06-06 at 2.36.21 PM.png
Use fields on the Create panel (see Figure 3.54) to provide information about your application:
Click Create to register your application.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\80079871\Screen Shot 2018-04-12 at 2.59.05 PM.png
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\cdf305af\Screen Shot 2018-04-12 at 3.02.08 PM.png
Click Select an API, and then highlight Windows Azure Service Management API (see Figure 3.56).
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\cf7002a2\Screen Shot 2018-04-12 at 3.03.53 PM.png
Click Select permissions, and then Access Azure Service Management (see Figure 3.57); then, click Select.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\13842c12\Screen Shot 2018-04-12 at 3.05.14 PM.png
Then, click Grant Permissions (see Figure 3.58).
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\4ef88039\Screen Shot 2018-04-12 at 3.06.43 PM.png
When prompted, click Yes to confirm that you wish to grant access permissions (see Figure 3.59).
Repeat the process, adding permissions for Microsoft Graph. When adding permissions for Microsoft Graph, select a scope of Read all users' full profiles.
C:\Users\susan\Desktop\editme.png
When you're finished granting permissions, the Required permissions list (see Figure 3.60) should include:

3 Installing the EDB Ark Console : 3.3 Installing EDB Ark for Azure : 3.3.4 Launching the Ark Console Instance

Table of Contents Previous Next