iT邦幫忙

1

【 oracle cloud 】請問如何刪除不要的 Instances + 有沒有像GCP那樣可以在網頁上新增ssh key的地方(主機已開好)

https://ithelp.ithome.com.tw/upload/images/20200512/20112304gzRAic7kvb.png

如題,我打算刪掉已中止的 Instances ,目前網頁上找不到可以刪除的地方
這裡表示我可以用CLI下指令刪除,不過看來這個網頁上的 CLI 沒裝 oracle-compute

然後根據 Installing the Oracle Compute CLI on a Remote System 表示遠端的電腦如果要裝oracle-compute,則要達到下列要求:

  • Client system must have Oracle Linux 6.3 or later.

  • Client system must have Python 2.6 or later but not Python 3.x.

  • The script must have root privileges in the client system

所以請問我是真的要再開一台符合他需求的主機,然後在用這樣的方式刪掉嗎???

因為的到這個結論的我真的覺得這個操作太過無言,所以上來請教一下各位有沒有其他方法刪除。
(網頁都做成這樣了,真的沒刪除功能!?...)


請問有沒有像GCP那樣(如下圖),可以在網頁上新增 ssh key 的地方(主機已開好的情況)
https://ithelp.ithome.com.tw/upload/images/20200512/20112304dTuXaOWVpc.png
ㄜ對... 這個打算刪掉的是我當初 ssh key 沒用好,後來就進不去了

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

0
dragonH
iT邦超人 5 級 ‧ 2020-05-12 01:26:53
最佳解答

阿 status 不是已經是 terminate 了嗎

雖然沒用過 Oracle cloud

不過

在 aws 的 ec2

terminate 就代表已經刪除

過一陣子就會自己消失

看看這篇對你有幫助嗎

看更多先前的回應...收起先前的回應...
we684123 iT邦研究生 5 級 ‧ 2020-05-12 01:33:09 檢舉

...我沒用過 aws,都用GCP
在GCP中刪除就真的會不見了,第一次用 oracle cloud 以為跟GCP差不多qwq

好吧 我等等看 謝謝回應!

dragonH iT邦超人 5 級 ‧ 2020-05-12 01:49:19 檢舉

看官方說明也是說

terminate 就會停止收費

Can I stop my instance without deleting or terminating it?
Yes. You can stop your instance without deleting it. The Compute service supports the following actions for an instance:

Stop: Shuts down the instance. For Standard VM and bare metal instances, billing pauses. For HPC, High I/O bare metal and Dense I/O bare metal and VM instances, billing continues until the instance is terminated.

Reboot: Restarts the instance (issuing an ACPI reboot).

Terminate: Shuts down the instance and releases the compute resources. This action can't be reversed. You can keep the instance's boot volume for later reuse. If you choose not to keep the boot volume, it's deallocated and wiped out. Data on the local NVMe SSDs (for storage-optimized instances) is securely wiped. Billing stops for the compute instance.

參考

terminate 就是已經刪除的情況了。
一般可能會保留一天的時間。
這是可後悔刪除的設計。
如後悔了還可以重新啟用。

dragonH iT邦超人 5 級 ‧ 2020-05-12 09:39:33 檢舉

這是可後悔刪除的設計。
如後悔了還可以重新啟用。

他說 This action can't be reversed

we684123 iT邦研究生 5 級 ‧ 2020-05-13 19:00:06 檢舉

OK 確實是在終止之後一段時間 Instances 就已經刪掉了
謝謝回應!

0
fnsne
iT邦新手 5 級 ‧ 2020-05-13 13:54:53

如果我沒理解錯的話,Compute CLI on the remote system. 應該是一個要讓你裝在自己電腦上來操作Oracle cloud的工具,所以應該就是像你在網頁上操作是一樣層級的。

而網頁上的CLI我猜應該只是單純連進去那台instance裡面,就像是GCP也有可以開網頁tab連ssh進去instance裡面的功能,所以裡面的確會沒有那個工具,因為是剛開起來乾淨的映象檔。

但我沒用過Oracle cloud. 我是以aws使用的經驗來看的。(而且我AWS也沒有使用過他們的remote cli 工具過)

we684123 iT邦研究生 5 級 ‧ 2020-05-13 19:00:52 檢舉

謝謝你的回應
不過上面說出正解了

我要發表回答

立即登入回答