You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Quickstart: Deploy WebLogic Server on Azure Virtual Machines (VMs)
13
13
14
-
This article shows you how to quickly deploy WebLogic Server (WLS) on Azure Virtual Machine (VM) with the simplest possible set of configuration choices using the Azure portal. For a more full featured tutorial, including the use of Azure Application Gateway to make WLS cluster on VM securely visible on the public internet, see [Tutorial: Migrate a WebLogic Server cluster to Azure with Azure Application Gateway as a load balancer](/azure/developer/java/migration/migrate-weblogic-with-app-gateway?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json).
14
+
This article shows you how to quickly deploy WebLogic Server (WLS) on an Azure Virtual Machine (VM) with the simplest possible set of configuration choices using the Azure portal. In this quickstart, you learn how to:
15
15
16
-
In this quickstart, you will learn how to:
17
-
18
-
- Deploy WebLogic Server with Administration Server on a VM using the Azure portal.
19
-
- Deploy a Java EE sample application with WebLogic Server Administration Console portal.
20
-
21
-
This quickstart assumes a basic understanding of WebLogic Server concepts. For more information, see [Oracle WebLogic Server](https://www.oracle.com/java/weblogic/).
16
+
- Deploy WebLogic Server with Administration Server enabled on a VM using the Azure portal.
17
+
- Deploy a sample Java application with the WebLogic Server Administration Console.
18
+
- Connect to the VM running WebLogic using SSH.
22
19
23
20
If you're interested in providing feedback or working closely on your migration scenarios with the engineering team developing WebLogic on Azure solutions, fill out this short [survey on WebLogic migration](https://aka.ms/wls-on-azure-survey) and include your contact information. The team of program managers, architects, and engineers will promptly get in touch with you to initiate close collaboration.
24
21
@@ -28,25 +25,21 @@ If you're interested in providing feedback or working closely on your migration
28
25
29
26
## Deploy WebLogic Server with Administration Server on a VM
30
27
31
-
The steps in this section direct you to deploy WebLogic Server on VM in the simplest possible way: using the [single instance with an admin server](https://aka.ms/wls-vm-admin) offer. Other offers are available to meet different scenarios, including: [single instance without an admin server](https://aka.ms/wls-vm-singlenode), [static cluster](https://aka.ms/wls-vm-cluster), and [dynamic cluster](https://aka.ms/wls-vm-dynamic-cluster). For more information, see [What are solutions for running Oracle WebLogic Server on Azure Virtual Machines?](/azure/virtual-machines/workloads/oracle/oracle-weblogic?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json).
32
-
33
-
:::image type="content" source="media/weblogic-server-azure-virtual-machine/portal-start-experience.png" alt-text="Screenshot of the Azure portal that shows the Create WebLogic Server With Admin console on Azure VM page." lightbox="media/weblogic-server-azure-virtual-machine/portal-start-experience.png":::
28
+
The following steps show you how to deploy WebLogic Server on a VM using the [single instance with an admin server](https://aka.ms/wls-vm-admin) offer on the Azure portal. There are other offers that meet different scenarios such as [WebLogic cluster on multiple VMs](https://aka.ms/wls-vm-cluster).
34
29
35
-
The following steps show you how to find the WebLogic Server with Admin Server offer and fill out the **Basics** pane:
36
-
37
-
1. In the search bar at the top of the portal, enter *weblogic*. In the autosuggested search results, in the **Marketplace** section, select **Oracle WebLogic Server With Admin Server**.
30
+
1. In the search bar at the top of the portal, enter *weblogic*. In the autosuggested search results, in the **Marketplace** section, select **WebLogic Server with Admin Console on VM**. You can also go directly to the offer using the portal link.
38
31
39
32
:::image type="content" source="media/weblogic-server-azure-virtual-machine/search-weblogic-admin-offer-from-portal.png" alt-text="Screenshot of the Azure portal that shows WebLogic Server in the search results." lightbox="media/weblogic-server-azure-virtual-machine/search-weblogic-admin-offer-from-portal.png":::
40
33
41
-
You can also go directly to the offer with this [portal link](https://aka.ms/wls-vm-admin).
34
+
1. On the offer page, select **Create**. You then see the **Basics** pane.
42
35
43
-
1. On the offer page, select **Create**.
36
+
:::image type="content" source="media/weblogic-server-azure-virtual-machine/portal-start-experience.png" alt-text="Screenshot of the Azure portal that shows the Create WebLogic Server With Admin console on Azure VM page." lightbox="media/weblogic-server-azure-virtual-machine/portal-start-experience.png":::
44
37
45
38
1. On the **Basics** pane, ensure the value shown in the **Subscription** field is the same one that you used to sign in to the Azure portal.
46
39
47
40
1. The offer must be deployed in an empty resource group. In the **Resource group** field, select **Create new** and fill in a value for the resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, *ejb0802wls*.
48
41
49
-
1. Under **Instance details**, select the region for the deployment. For a list of Azure regions how and where VMs operate, see [Regions for virtual machines in Azure](/azure/virtual-machines/regions).
42
+
1. Under **Instance details**, select the region for the deployment.
50
43
51
44
1. Accept the default value in **Oracle WebLogic Image**.
52
45
@@ -62,13 +55,15 @@ The following steps show you how to find the WebLogic Server with Admin Server o
62
55
63
56
1. Fill in *wlsVmCluster2022* for the **Password for WebLogic Administrator**. Use the same value for the confirmation.
64
57
65
-
1. Select **Review + create**. Ensure the green **Validation Passed** message appears at the top. If not, fix any validation problems and select **Review + create** again.
58
+
1. Select **Review + create**.
59
+
60
+
1. Ensure the green **Validation Passed** message appears at the top. If it doesn't, fix any validation problems and select **Review + create** again.
66
61
67
62
1. Select **Create**.
68
63
69
64
1. Track the progress of the deployment in the **Deployment is in progress** page.
70
65
71
-
Depending on network conditions and other activity in your selected region, the deployment may take up to 30 minutes to complete.
66
+
Depending on network conditions and other activity in your selected region, the deployment might take up to 30 minutes to complete.
72
67
73
68
## Examine the deployment output
74
69
@@ -80,16 +75,16 @@ If you navigated away from the **Deployment is in progress** page, the following
80
75
1. In the box with the text **Filter for any field**, enter the first few characters of the resource group you created previously. If you followed the recommended convention, enter your initials, then select the appropriate resource group.
81
76
1. In the left navigation pane, in the **Settings** section, select **Deployments**. You can see an ordered list of the deployments to this resource group, with the most recent one first.
82
77
1. Scroll to the oldest entry in this list. This entry corresponds to the deployment you started in the preceding section. Select the oldest deployment, as shown in the following screenshot:
83
-
78
+
x
84
79
:::image type="content" source="media/weblogic-server-azure-virtual-machine/resource-group-deployments.png" alt-text="Screenshot of the Azure portal that shows the resource group deployments list." lightbox="media/weblogic-server-azure-virtual-machine/resource-group-deployments.png":::
85
80
86
-
1. In the left panel, select **Outputs**. This list shows the output values from the deployment. Useful information is included in the outputs.
87
-
1. The **sshCommand** value is the fully qualified, SSH command to connect the VM that runs WebLogic Server. Select the copy icon next to the field value to copy the link to your clipboard. Save this value aside for later.
88
-
1. The **adminConsoleURL** value is the fully qualified, public internet visible link to the WebLogic Server admin console. Select the copy icon next to the field value to copy the link to your clipboard. Save this value aside for later.
81
+
1. In the left panel, select **Outputs**. This list shows useful output values from the deployment.
82
+
1. The **sshCommand** value is the fully qualified SSH command to connect to the VM that runs WebLogic Server. Select the copy icon next to the field value to copy the link to your clipboard. Save this value aside for later.
83
+
1. The **adminConsoleURL** value is the fully qualified public internet visible link to the WebLogic Server admin console. Select the copy icon next to the field value to copy the link to your clipboard. Save this value aside for later.
89
84
90
-
## Deploy a Java EE application from Administration Console portal
85
+
## Deploy a Java application from Administration Console
91
86
92
-
Use the following steps to run a sample application in the WebLogic Server:
87
+
Use the following steps to run a sample application on the WebLogic Server:
93
88
94
89
1. Download a sample application as a *.war* or *.ear* file. The sample app should be self contained and not have any database, messaging, or other external connection requirements. The sample app from the WebLogic Kubernetes Operator documentation is a good choice. You can download it from [Oracle](https://aka.ms/wls-aks-testwebapp). Save the file to your local filesystem.
95
90
@@ -109,7 +104,8 @@ Use the following steps to run a sample application in the WebLogic Server:
109
104
110
105
1. Under **Locate deployment to install and prepare for deployment**, select **Upload your file(s)**.
111
106
1. Under **Upload a deployment to the Administration Server**, select **Choose File** and upload your sample application. Select **Next**.
112
-
1. Select **Finish**.
107
+
1. Accept the defaults in the next few screens and select **Finish**.
108
+
1. On the application configuration screen, select **Save**.
113
109
114
110
1. Under **Change Center** on the top left corner, select **Activate Changes**. You can see the message **All changes have been activated. No restarts are necessary**.
115
111
@@ -129,7 +125,7 @@ If you want to manage the VM, you can connect to it with SSH command. Before acc
129
125
130
126
Use the following steps to enable port 22:
131
127
132
-
1. Navigate back to your working resource group. In the overview page, you can find a network security group named **wls-nsg**. Select **wls-nsg**.
128
+
1. Navigate back to your working resource group in the Azure portal. In the overview page, you can find a network security group named **wls-nsg**. Select **wls-nsg**.
133
129
1. In the left panel, select **Settings**, then **Inbound security rules**. If there's a rule to allow port `22`, then you can jump to step 4.
134
130
1. In the top of the page, select **Add**.
135
131
@@ -140,19 +136,17 @@ Use the following steps to enable port 22:
140
136
141
137
After the deployment completes, you can SSH to the VM.
142
138
143
-
1. Connect the VM with the value of **sshCommand** and your password (this article uses *wlsVmCluster2022*).
139
+
1. Connect to the VM with the value of **sshCommand** and your password (this article uses *wlsVmCluster2022*).
144
140
145
141
## Clean up resources
146
142
147
-
If you're not going to continue to use the WebLogic Server, navigate back to your working resource group. At the top of the page, under the text **Resource group**, select the resource group. Then, select **Delete resource group**.
143
+
If you're not going to continue to use the WebLogic Server, navigate back to your working resource group in the Azure portal. At the top of the page, under the text **Resource group**, select **Delete resource group**.
148
144
149
145
## Next steps
150
146
151
147
Continue to explore options to run WebLogic Server on Azure.
152
148
153
149
*[WebLogic Server on virtual machines](/azure/virtual-machines/workloads/oracle/oracle-weblogic?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
154
-
*[WebLogic Server on AKS](/azure/virtual-machines/workloads/oracle/weblogic-aks?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
155
-
*[Migrate WebLogic Server applications to Azure Kubernetes Service](/azure/developer/java/migration/migrate-weblogic-to-virtual-machines?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
156
-
*[Explore options for day 2 and beyond](https://aka.ms/wls-vms-day2)
150
+
*[WebLogic Server on Azure Kubernetes Service](/azure/virtual-machines/workloads/oracle/weblogic-aks?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
157
151
158
152
For more information about the Oracle WebLogic offers at Azure Marketplace, see [Oracle WebLogic Server on Azure](https://aka.ms/wls-contact-me). These offers are all _Bring-Your-Own-License_. They assume that you already have the appropriate licenses with Oracle and are properly licensed to run offers in Azure.
0 commit comments