There are lots of wrong and right articles in internet, when you try to execute Hands-on Labs by yourself, there is chance that you could get drifted away or get severely confused, We strictly adhere to Official Oracle Cloud Documentation, offering you reliable and precise information without personal interpretations. This means you can trust our content 100% Genuine.
Prerequisites
Before you create a VCN and Subnets, ensure you have the following:
- An active OCI account.
- Necessary IAM policies to create and manage networking components.
- A clear plan of your network topology and CIDR blocks to avoid overlapping IP addresses.
Lab Task:
Create a Linux public instance with No SSH Keys Option from (OCI) web console.
Lab Task Explanation:
At the time of Instance creation, you will be presented with option to download, or Add or upload OCI generated SSH Key pair, download those KeyPair and In those options Choose NO SSH keys Option and try creating an instance without keys.
Lab Task Flow
- Subnet A is Public subnet.
- Subnet A should have CIDR ip of 10.0.1.0/29.
- Instance should have a private ip of 10.0.1.5.
- Instance should be a Linux machine.
- Sign in to the OCI console.
- Open the navigation menu and click Compute > Instances.
- Click Create Instance.
- In the Create Compute Instance dialog box, provide the necessary information for your instance.
- In the Add SSH Keys section, select Generate SSH keys.
- Click Create to create your instance.
- Permission Errors: Ensure you have the necessary permissions to create instances and generate keypairs.
Task 1: Prepare a clear sample Architectural Diagram
Our OCI Architectural diagram for this Lab is

Note : If you want to create such Cloud Architectural diagrams check this link Click here :
Task 2: Create VCN and public subnet with CIDR in refer to the above sample Architectural Diagram
To proceed with this Lab, we need to have a VCN and Subnets first, we assume that you already have an compartment, else kindly create Architecture by following below Guided Hand-on Lab Link and finish this Task of Creating a VCN or Subnet.
Task 3: Create a Linux public instance.
Step 1: Identify Sample Input
Step 2: Create a Linux Instance with No SSH Keys Option from (OCI) web console
Note : In case of any doubt - Jump to the Detailed vedio explantion given below
Select this option only if you do not want to connect to the instance using SSH.
You can't provide a public key or save the key pair that is generated by Oracle Cloud Infrastructure if this option is selected.
The option to be selected is No SSH Keys

Some common errors you might encounter include
Detailed Video Explanation:
Required concept knowledge
- Automated Processes: In automated environments, instances might be created and managed without the need for direct SSH access. This can be useful in scenarios where instances are part of a larger automated workflow2.
- Temporary Instances: For instances that are short-lived or used for specific tasks that don’t require SSH access, omitting SSH keys can simplify the setup process2.
- Security Policies: Certain security policies might restrict the use of SSH keys. In such cases, other authentication methods, like password-based access or using a VPN, might be preferred3.
- Alternative Access Methods: Some users might prefer to use other methods for accessing their instances, such as using a serial console or a web-based terminal provided by OCI1.
Creating instances without SSH keys - When is this needed ?
Creating instances without SSH keys in Oracle Cloud Infrastructure (OCI) can be useful for several reasons:
Reference
Stay tuned for more posts on managing your OCI resources effectively! Happy cloud computing!