Table of Contents Previous Next


3 Installing the EDB Ark Console : 3.2 Installing EDB Ark for Azure : 3.2.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\247876b8\Screen Shot 2018-10-09 at 10.22.14 AM.png
Use fields on the Basics panel (see Figure 3.54) to provide general information about the new virtual machine:
If applicable, use the Subscription drop-down listbox to select the name of an Azure subscription.
Use the Resource group drop-down listbox to select the resource group in which the VM will be created.
Provide a name for the VM in the Virtual Machine Name field.
If applicable, use the Region drop-down listbox to select the region in which the VM will reside.
Use the Image drop-down listbox to select the image that will be used for the VM.
Use the Change size link (in the Size field) to open the Select a VM size panel (see Figure 3.55) and select the machine configuration.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\24793696\Screen Shot 2018-10-09 at 11.04.35 AM.png
Highlight a configuration type, and click the Select button (in the lower-left corner of the panel) to continue.
Select the radio button next to the Authentication type you wish to use for the Administrator account; we highly recommend using SSH authentication.
Provide an operating system user name in the User name field; the default operating system user name for Ark images is centos.
Use fields on the Networking panel to specify your network configuration preferences. When configuring an Azure virtual machine to use the Ark console, you should:
Select the Advanced radio button in the Network security group field.
Use the Network security group drop-down listbox to select the security group that you wish to use for the virtual machine.
Use fields on the Guest config panel to provide an extension that sets the Ark console deployment password. Create a file on your local system 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, click the Select an Extension to install link, then Custom Script for Linux. Then, click the Create button; use the fields on the Install extention panel (see Figure 3.56) to identify the script:
Use Script files browser to locate and upload the script file.
Enter the command that will invoke your script in the Command field; for example, sh startup-password.sh.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\36f909f3\Screen Shot 2018-10-09 at 11.24.23 AM.png
Click OK to continue and return to the Settings panel; when you've finished updating the settings with your preferences, click OK to continue. Then, click the Review + Create button to validate your virtual machine definition (Figure 3.57).
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\7b84959a\Screen Shot 2018-10-09 at 11.27.28 AM.png
You can monitor the virtual machine's deployment from the Azure Operations page, the Resource group activity log, or the Virtual machine Overview page.
C:\Users\susan\Desktop\Screen Shot 2018-10-09 at 12.04.40 PM.png
While the deployment finishes, 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.58).
C:\Users\susan\Desktop\Screen Shot 2018-04-12 at 2.50.10 PM.png
After copying the public IP address 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.59).
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.60) 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
Please note that you must be an Azure Global Administrator to grant permissions required by Ark. Click the Settings icon, and then navigate to the Required permissions page for the application, and select +Add.
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.62).
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.63); 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.64).
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.65).
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.66) should include:

3 Installing the EDB Ark Console : 3.2 Installing EDB Ark for Azure : 3.2.4 Launching the Ark Console Instance

Table of Contents Previous Next