Skip to main content

IBM Cloud: Notes

IBM Cloud Free Tier - No Credit Card

Go to the IBM Cloud console and create a Lite account. It's free and never expires. You do not even need to have a debit/credit card to register.

IBM Cloud Lite - Free

IBM Cloud Foundry - 256 MB

Use Platform-as-a-service (PaaS) to deploy and scale apps without managing server.

IBM Cloud Console

IBM API and SDK

IBM Cloud Shell

IBM Cloud Shell usage: 50 hours / week

Welcome to IBM Cloud Shell!
Image version: 1.0.21

Note: Your Cloud Shell session is running in Tokyo (jp-tok). Your workspace includes 500 MB of temporary storage. This session will close after an hour of inactivity. If you don't have any active sessions for an hour or you reach the 50-hour weekly usage limit, your workspace data is removed. To track your usage, go to Usage quota in the Cloud Shell menu.

Tip: Enter 'ibmcloud' to use the IBM Cloud CLI. The Tokyo (jp-tok) region is targeted by default. You can switch the region by running 'ibmcloud target -r <region-name>'.

TUYENDQ@cloudshell:~$ ibmcloud --version
ibmcloud version 1.5.1+7684ebe-2021-04-27T18:17:58+00:00

TUYENDQ@cloudshell:~$ uname -a
Linux cloudshell-fc87c9cb-d47d-4a46-a87a-d7cbae1871fe-1-79f64f6bkfq7x 5.9.8 #1 SMP Tue Nov 17 20:21:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

TUYENDQ@cloudshell:~$ cat /etc/*lease
NAME="Red Hat Enterprise Linux"
VERSION="8.3 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.3:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.3"
Red Hat Enterprise Linux release 8.3 (Ootpa)
Red Hat Enterprise Linux release 8.3 (Ootpa)
TUYENDQ@cloudshell:~$ 

IBM Cloud CLI - ibmcloud

IBM Cloud Shell: limit usage to 30 hours per week

Download IBM Cloud CLI Installer and install.

Or just download IBM Cloud CLI Binaries, extract and run, If you DO NOT want to install.

Check ibmcloud versioin

PS C:\Users\tuyen> ibmcloud --version
C:\Program Files\IBM\Cloud\bin\ibmcloud.exe version 1.5.1+7684ebe-2021-04-27T18:17:58+00:00
PS C:\Users\tuyen>

Update IBM Cloud CLI

ibmcloud update

List resources

ibmcloud resource service-instances

Courses

IBM Cloud Essentials - V3 | CognitiveClass

https://cognitiveclass.ai/courses/ibm-cloud-essentials

Popular posts from this blog

Linux command: wc - word count

Sharon McCutcheon on Unsplash "/> wc - print newline, word, and byte counts for each file

error setting certificate verify locations when run git clone

I run into this error while using git clone. D:\Projects>git clone https://github.com/jonmountjoy/facebook-template-ruby Cloning into 'facebook-template-ruby'... fatal: unable to access 'https://github.com/jonmountjoy/facebook-template-ruby/': error setting certificate verify locations:   CAfile: C:/Program Files (x86)/Git/mingw32/ssl/certs/ca-bundle.crt   CApath: none How to fix Run DOS Prompt as Administrator, and run git config --system http.sslcainfo "Path to ca-bundle.crt" Microsoft Windows [Version 10.0.10586] (c) 2015 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32> git config --system http.sslcainfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt" C:\WINDOWS\system32> Then, I can run git clone successfully. D:\Projects>git clone https://github.com/jonmountjoy/facebook-template-ruby Cloning into 'facebook-template-ruby'... remote: Counting objects: 177, done. remote: Total 1...