Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Part-1: Registering WebLogic UCM marketplace

1. Obtain WebLogic UCM Marketplace image

@cloudshell:~ (<oci-region>)$
>> oci compute pic agreements get --listing-id
ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkye
v3y6zyo72mpkgza --resource-version 21.2.2-210519172750

O/P: {
"data": {
"eula-link": null,
"listing-id":
"ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkyev3
y6zyo72mpkgza",
"listing-resource-version": "21.2.2-210519172750",
"oracle-terms-of-use-link":
"https://objectstorage.us-ashburn-1.oraclecloud.com/n/partnerimagecatalog/b/eulas/
o/oracle-apps-terms-of-use.txt",
"signature":
"019bb789da8a2b3a6f5c3c5d151f4005e7df83feab4b48dfa02ca99a842dbb28 ",
"time-retrieved": " 2022-11-07T14:41:27.162000+00:00"
}
}

2. Create a subscription using the retrieved information from the previous step:

oci compute pic subscription create


--listing-id
ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkyev3y6zyo
72mpkgza
--compartment-id <bb_np_cmp ID>
--resource-version 21.2.2-210519172750
--signature <Capture from above query>
--time-retrieved <Capture from above query>
--oracle-tou-link
https://objectstorage.us-ashburn-1.oraclecloud.com/n/partnerimagecatalog/b/eulas/
o/oracle-apps-terms-of-use.txt
Eg:
oci compute pic subscription create --listing-id
ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkyev3y6zyo
72mpkgza --compartment-id
ocid1.compartment.oc1..aaaaaaaaqcnrn3t6pyufva2wigzph3pgrvdkhi5h5tzcqeg7h4234ts
3qoeq --resource-version 21.2.2-210519172750 --signature
019bb789da8a2b3a6f5c3c5d151f4005e7df83feab4b48dfa02ca99a842dbb28 --time-
retrieved 2022-11-07T14:41:27.162000+00:00 --oracle-tou-link https://objectstorage.us-
ashburn-1.oraclecloud.com/n/partnerimagecatalog/b/eulas/o/oracle-apps-terms-of-
use.txt

3. List MarketPlace images in a compartment

>> oci compute pic subscription list --compartment-id


ocid1.compartment.oc1..aaaaaaaaqcnrn3t6pyufva2wigzph3pgrvdkhi5h5tzcqeg7h4234ts3qo
eq

PART-2: Launching the VM using Oracle Stack(Terraform scripts)


1. Login to BB OCI tenancy
2. Select the appropriate Region
3. Select the proper compartment
4. Navigate to Developer Services -> Resource Manager -> Stacks

Part-3: Use existing Stack

1. Choose Compartment and select the Stack

2. Go into the stack,


Plan, Apply , & Destroy (If required)
1). Plan: lets you to preview the actions Terraform would take to modify your
infrastructure, or save a speculative plan which you can apply later.

2). Apply: Terraform automatically creates a new execution plan as if you had run
terraform plan , and takes the indicated actions.

3). Destroy: Terminates resources managed by current stack. This command is the
inverse of terraform apply in that it terminates all the resources specified in stack. It
does not destroy resources running elsewhere that are not managed by this stack.

Part-4: Create new Stack

1. Click on create Stack, Under stack configuration browse folder, upload the folder

2. Validate Block volumes, AD, Tags


3. Review & Create.

You might also like