31. create an application instance in private network from custom image - Ayushi-srivastav/OCI GitHub Wiki

steps to create an application instance in a private network from a custom image

  • Prepare Your Custom Image

First, we will log in to the server whose custom image we want to create.

And check the list of installed application in the server

yum list installed

image

Also, verify the list of applications we want in the instance created from the custom image.

yum list installed

image

  • Create the custom image

Now, go to the console, open the instance page and click on more action and select create custom image

image

Select compartment, and give a name for custom image and click on create custom image

image

image

Custom image is created

image

  • Create New Instance using custom image

Now, we will create a new instance

image

image

In Image & shape section,

click on change image

image

click on my image

and select compartment and created custom image

image

image

Select private subnet

image

Since we are creating the instance in a private network, no public IP will be assigned to it.

image

image

image

And Finally, New Instance is created using custom image

image

After creating an instance using a custom image, we can verify that all the installed applications are available in this instance.

image