Oracle Cloud Infrastructure - General

Get Involved. Join the Conversation.


  • Erik Castro

    Hi Dragos,

    You can create a custom image of an instance’s boot disk and use it to launch other instances, the instances you launch from your custom image include customizations, configuration, and software installed when you created the image. Compute service enables you to share custom images across tenancies and regions using image import/export.

    Please note custom images do not include the data from any attached block volumes, for more details please refer to:

    There are also instance pools which give you the ability to provision and create multiple Compute instances based off of the same instance configuration, within the same region. They also enable integration with other services, such as the Load Balancing service and IAM service, making it easier to manage groups of instances.

    You create an instance pool using an existing instance configuration. For steps, see Creating an Instance Pool.



  • Erik Castro

    Hi Jeroen,

    For this you can create a Group something like "ReadOnly" and assign this user (and other if required) into the group then create a policy to "Inspect" which is a type of access on an individual or all resource types; your policy syntax should look similar to: Allow group ReadOnly to inspect all resources in tenancy_name

    For details on this you may refer to our User Guide Chapter 15



  • Óscar Casado


    It's a GPU instance. Thank you for the response.


  • Umesh Patel

    Which shape of baremetal? If the baremetal using  NVME drive then it will charge, only Bare Metal standard shape will not charge 


    • Stop: Shuts down the instance. For Standard VM and bare metal instances, billing for the compute infrastructure OCPU(s) pauses. For GPU, HPC, High I/O, and Dense I/O instances (bare metal or VM), billing for the instance continues until the instance is terminated. Billing also continues for all types of instances running Windows Server OS until the instance is terminated.

  • Yu Zhou


    You may try to deploy your app in the remote-exec provisioner config, holp it's helpful, thanks.

  • Robin Chatterjee

    It is simple to just run the command


    this is enough to start a vnc session... you will know which port to use based on the screen number   for example :1 coresponds to 5901 , :2 to 5902

    you need to tunnel that port ...



    Unless you really have to set it up as a service I would suggest not to complicate your config. I would expect that there is some problem in your comamnd which is why the service is failing


  • Enzo Genovese

    As I said in my last comment, I'm having problem with vncserver. So that is the real problem, why I cannot connect...

    I don't know if somebody could help me; I installed tiger vncserver using the following step.

    1. from root user, install the software (yum install tigervnc-server)

    2. add the username to connect via VNC

    3. edit the /lib/systemd/system/vncserver@.service file, adding the following lines

    ExecStartPre=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’
    ExecStart=/sbin/runuser -l USER -c ‘/usr/bin/vncserver %i -geometry 1024×768’
    ExecStop=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’

    where USER is the user just created ad commenting the corresponding lines

    4. copy that file as following: cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service

    5. being SELINUX active, launch the following command. chcon -u system_u /etc/systemd/system/vncserver@:1.service

    6. reload the systemctl, using this command:   daemon-reload

    6. connect to the user created and create a password using the vncpasswd command

    7. return to the root user and launching the following commands:

    # firewall-cmd --permanent --zone=public --add-service vnc-server

    # firewall-cmd --reload


    8. them la last two commands:

    systemctl enable vncserver@:1.service

    systemctl start vncserver@:1.service

    8. and then I received the following messages:


    Jul 07 18:44:38 cameraconnect systemd[1]: Starting Remote desktop service (VNC)...

    Jul 07 18:44:38 cameraconnect sh[3632]: -kill: ‘/usr/bin/vncserver: No such file or directory

    Jul 07 18:44:38 cameraconnect systemd[1]: vncserver@:1.service: control process exited, c...127

    Jul 07 18:44:38 cameraconnect systemd[1]: Failed to start Remote desktop service (VNC).

    Jul 07 18:44:38 cameraconnect systemd[1]: Unit vncserver@:1.service entered failed state.

    Jul 07 18:44:38 cameraconnect systemd[1]: vncserver@:1.service failed.

    Hint: Some lines were ellipsized, use -l to show in full.


    To have some more detailed informations:

    sh-4.2# systemctl status vncserver@:1.service

    vncserver@:1.service - Remote desktop service (VNC)

       Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)

       Active: failed (Result: exit-code) since Sun 2019-07-07 18:44:38 GMT; 26s ago

      Process: 3632 ExecStartPre=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’ (code=exited, status=127)


    I didn't find any information regarding the status 127.


    Anyone could help to understand where is the problem?


    Thanks in advance....

  • Enzo Genovese

    You're right! It's a standard vnc connection.

    I'm trying to adopt your advise; but, at the moment, I have some problem to start vncserver on Oracle Linux Machine.


  • Robin Chatterjee

    Hi Durgesh ,

    this is applicable for the vnc console connection only. However looking at the original question this does not seem to be a console connection but a standard vnc session....

    Enzo can you confirm if you are trying to connect to the console via vnc or to a vnc session that you have spawned yourself ?


  • Durgesh Dewoolkar


    Please refer the following KM Doc which gives the steps needed to connect to the VNC console

    OCI Compute Instance: Tips for Running Windows PowerShell Commands While Connecting to the VNC Console (Doc ID 2432060.1)

    Hope this helps.

  • Robin Chatterjee

    please set your password using vncpasswd command and then login via passwd. vnc does not support key based encryption.. the key file is only needed for the ssh tunnel. vnc password is independant of the key file.



  • Enzo Genovese

    Sorry. I forget to do it....

    Simply adding an API public key to the user.

    You can find it on the documentation:


  • Robin Chatterjee

    What was the issue  solution ?

  • Enzo Genovese

    I solved...

  • christine hill

    Hi , 

    Yes I am an employee and I don't have an external URL.   Is High Sierra not supported?