From cc38aa9e81484487f20b54c0e4639c9a175ce0dd Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 11 Feb 2023 21:29:48 +0100 Subject: [PATCH] Improved KB about oracle cloud --- knowledge base/oci-cli.md | 8 ++++++++ knowledge base/oracle cloud.md | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/knowledge base/oci-cli.md b/knowledge base/oci-cli.md index 4cd340b..b598d99 100644 --- a/knowledge base/oci-cli.md +++ b/knowledge base/oci-cli.md @@ -39,6 +39,14 @@ oci compute image list -c 'tenancy_id' --all oci compute image list -c 'tenancy_id' \ --operating-system 'Oracle Linux' --operating-system-version '8' \ --lifecycle-state 'AVAILABLE' + +# List available compute instance plugins. +# Requires to be given the OS and its version. +oci instance-agent available-plugins get -c 'tenancy_id' \ + --os-name 'Oracle Linux' --os-version '8' + +# List existing compute instances. +oci compute instance list -c 'tenancy_id' ``` ## Configuration diff --git a/knowledge base/oracle cloud.md b/knowledge base/oracle cloud.md index 8cf80ed..8dbea3f 100644 --- a/knowledge base/oracle cloud.md +++ b/knowledge base/oracle cloud.md @@ -2,6 +2,8 @@ 1. [Concepts](#concepts) 1. [Compartments](#compartments) + 2. [Networking](#networking) + 1. [Access to the Internet](#access-to-the-internet) 2. [Further readings](#further-readings) 3. [Sources](#sources) @@ -15,10 +17,21 @@ After creating a compartment, you need to write at least one policy for it; unti Before deleting a compartment, all its resources must have been moved, deleted or terminated, including any policies attached to the compartment itself. +### Networking + +#### Access to the Internet + +| Resource | Used for | Free-tier limit | +| ---------------- | -------------------------------------------------------------------------------------------------- | ----------------- | +| Internet Gateway | **public** resources that need to **be** reach**ed** from the internet | ? | +| NAT Gateway | resources that **need to reach** the internet but **are not reachable from** the internet | 0 (not available) | +| Bastion | resources that require Secure Shell (SSH) access but otherwise are not reachable from the internet | 5 | + ## Further readings - [oci-cli] -- [compute images] +- [Compute images] +- [Connect to private compute instances using OCI Bastion Service] ## Sources @@ -32,3 +45,4 @@ Before deleting a compartment, all its resources must have been moved, deleted o [oci-cli]: ./oci-cli.md +[connect to private compute instances using oci bastion service]: https://medium.com/@harjulthakkar/connect-to-private-compute-instance-using-oci-bastion-service-ca96a3ceea49