![]() ![]() This command creates the allow-oracle NSG rule to open the endpoint for remote access to the Oracle database: az network nsg rule create \Ĭreate a second NSG rule to open the endpoint for remote access to Oracle. This command creates the vmoracle19cNSG NSG for rules to control access to the VM: az network nsg create -resource-group rg-oracle -name vmoracle19cNSGĬreate an NSG rule with the az network nsg rule create command. In this task, you must configure some external endpoints for the database listener to use by setting up the Azure network security group (NSG) that protects the VM.Ĭreate the NSG for the VM with the az network nsg create command. The following example creates a disk named oradata01. resourceGroups/rg-oracle/providers/Microsoft.Compute/virtualMachines/vmoracle19c",Ĭreate and attach a new disk for Oracle data files and a fast recovery area (FRA) with the az vm disk attach command. You use this IP address to access the VM. Note the value for the publicIpAddress property. image Oracle:oracle-database-19-3:oracle-database-19-0904:latest \Īfter you create the VM, Azure CLI displays information similar to the following example. To use a specific set of keys, you can use the -ssh-key-value option with the command. It also creates SSH keys, if they don't already exist in a default key location. The following example creates a VM named vmoracle19c. Create virtual machineĬreate a virtual machine (VM) with the az vm create command. To view the list of supported SKUs by region, use the az vm list-skus command. This quickstart creates a Standard_DS2_v2 SKU VM in the East US region. az group create -name rg-oracle -location eastus ![]() The following example creates a resource group named rg-oracle in the eastus location. An Azure resource group is a logical container into which Azure resources are deployed and managed. If you use a local installation, sign in to Azure by using the az login command.Ĭreate a resource group with the az group create command. Run az version to see your installed version and dependent libraries, and run az upgrade to upgrade. The steps in this article require the Azure CLI version 2.0.4 or later. Cloud Shell always uses the latest version of the Azure CLI.Īlternatively, you can install Azure CLI locally to run the commands. You can also run Cloud Shell from within the Azure portal. Select Copy to copy the code, and paste it into Cloud Shell to run it. To run the commands in Cloud Shell, select Open Cloudshell at the upper-right corner of a code block. You can run the Azure CLI commands in this quickstart interactively in Azure Cloud Shell. If you don't have an Azure subscription, create an Azure free account before you begin. After you deploy the server, you connect the server via SSH to configure the Oracle database. This article describes how to use the Azure CLI to deploy an Azure virtual machine (VM) from the Oracle marketplace gallery image to create an Oracle Database 19c database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |