If you're a partner who is approved for Oracle Cloud Infrastructure product, then you can create artifacts.
If you're creating an artifact for an image listing, ensure that you have uploaded the image to Oracle Cloud Infrastructure before creating the artifact. See Creating an OCI Image Listing in Partner Portal.
To create an artifact for an image listing, follow these steps:
Sign in to Partner Portal.
Click the Artifacts icon . The Artifacts page displays information such as artifact name and other details related to the artifacts.
Click Create Artifact.
In the Artifact Type drop-down list, select
OCI Compute Image.
In the Artifact Name field, enter a name for the
artifact. Ensure that the length of the name is less than 200 characters.
Optional. Select the Allow Snapshot check box to allow
your customers to take a snapshot of their instance. This enables your customers
to use your listing to launch an instance, customize the instance, and then take
a snapshot of the instance. Customers can then use this snapshot to replicate
their customized environment.
Click the Search icon next to the Image OCID field to select an Oracle Cloud Infrastructure
Compute Image from your tenancy. The OCI
Compute Images dialog box appears.
Select an OCI tenancy, region, and compartment.
Images, which match your selection, are displayed with details such as image name, source image OCID, and created date.
Identify an OCI
Compute image from the list, and then click Select to load the selected artifact.
In the Create Artifact page, the compartment OCID and compatible shapes are displayed for the OCI
Compute image that you have selected.
In the Compatible Shapes section, select all the shapes that you want to
provide as an option to your customers.
For flexible shapes, you can customize the number of OCPUs and the amount of memory when launching or resizing your VM. For more information, see Compute Shapes in the Compute documention.
Note
All the shapes that you select must meet the required image guidelines.
Based on their business requirements, your customers can select a shape to
launch their instance. When your customers use your listing, they can launch
instances using any of the shapes that you have selected provided the
selected shapes are available in their tenancy.
In the User Name field, enter the user name that you’ll
use to access the instance. The user name that you provide is used to validate
the artifact. Ensure that the user name you provide has root access to the
image, otherwise artifact validations may fail. If you do not enter a user name,
it defaults to opc for an Oracle Linux image or
ubuntu for an Ubuntu image. For other types of images, you
must enter a user name as there are no default values for these images. The user
name is limited to 32 characters and can contain only alphanumeric
characters.
Review the mandatory image guidelines specified at Guidelines for Images, and then select the I have reviewed and applied all the mandatory image guidelines checkbox.
Click Create.
The Compute Image in your tenancy is launched, validated against the Guidelines for Images, and scanned
for malware. This process could take up to six hours to complete. In general, the
average time taken for this process is around one hour. During this time, the status
of the artifact is In Progress. If there are no validation
errors, the status of the artifact changes to
Available.
If there are any validation errors, the
status of the artifact changes to Unavailable. To view the
validation errors, see Viewing Artifact Details.
Next, create an Oracle Cloud Infrastructure application listing. See, Creating a Listing
Ensure
that your listing complies with the general guidelines for listings. See, Guidelines for Images.
Creating an Artifact for Stack Listing 🔗
If you're a partner who is approved for Oracle Cloud Infrastructure product, then you can create artifacts.
If you're creating an artifact for a stack listing, then ensure that the Terraform configuration file is available and it's ready to be uploaded. Ensure that you have completed the prerequisites and your Terraform configuration file complies with the guidelines. See How do I Publish an Oracle Cloud Infrastructure Stack?
To create an artifact for a stack listing, follow these steps:
Sign in to Partner Portal.
Click the Artifacts icon . The Artifacts page displays information such as artifact name and other details related to the artifacts. The page also displays options to create, edit, and delete an artifact.
Click Create Artifact.
In the Artifact Type drop-down list, select Terraform Template.
In the Artifact Name field, enter a name for the artifact. Ensure that the length of the name is less than 200 characters.
In the File field, click to select a file. The supported file type is zip.
Review the mandatory stack guidelines specified at Guidelines for Stacks, and then select the I have reviewed and applied all the mandatory stack guidelines checkbox.
Click Create.
After the Terraform template is successfully uploaded, create a listing. See, Creating a Listing.
Ensure that your listing complies with the general guidelines for listings and the guidelines for application listings. See, Guidelines for Listings.