Difference between revisions of "IBM Cloud"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
===Run the installation command=== | ===Run the installation command=== | ||
− | * [[ | + | * [[IBM Cloud Cli]], macOS: <code>curl -fsSL https://clis.cloud.ibm.com/install/osx | sh</code><ref>https://cloud.ibm.com/docs/cli?topic=cloud-cli-install-ibmcloud-cli</ref> (To verify installed files: <code>[[pkgutil]] --files com.ibm.cloud.cli</code>) |
* IBM Cloud developers tools, For Mac and Linux™, run the following command: <code>curl -sL https://ibm.biz/idt-installer | bash</code> | * IBM Cloud developers tools, For Mac and Linux™, run the following command: <code>curl -sL https://ibm.biz/idt-installer | bash</code> | ||
Revision as of 16:33, 3 January 2020
IBM Cloud provides many services including Object Storage Services.
Contents
Started with the IBM Cloud CLI
Run the installation command
- IBM Cloud Cli, macOS:
curl -fsSL https://clis.cloud.ibm.com/install/osx | sh
[1] (To verify installed files:pkgutil --files com.ibm.cloud.cli
) - IBM Cloud developers tools, For Mac and Linux™, run the following command:
curl -sL https://ibm.biz/idt-installer | bash
- To verify that the CLI and Developer tools were installed successfully, run the help command:
ibmcloud dev help
- Log in to IBM Cloud with your IBMid. If you have multiple accounts, you are prompted to select which account to use. If you do not specify a region with the -r flag, you must also select a region.
ibmcloud login
Available Regions:
- 1. au-syd
- 2. jp-tok
- 3. kr-seo
- 4. eu-de
- 5. eu-gb
- 6. us-south
- 7. us-east
If your credentials are rejected, you might be using a federated ID. To log in with a federated ID, use the --sso flag
- To access Cloud Foundry services, you must specify a Cloud Foundry org and space. You can run the following command to interactively identify the org and space:
ibmcloud target --cf
Or, if you know which org and space that the service belongs to, you can use the following command: ibmcloud target -o <value> -s <value>
Basic commands
ibmcloud login
ibmcloud app list
ibmcloud regions
(List regions)ibmcloud sl vs host-list
(List virtual server instances on your account)ibmcloud plugin install cloud-object-storage
ibmcloud cos list-buckets
ibmcloud cos create-bucket --bucket BUCKET_NAME [--class CLASS_NAME] [--ibm-service-instance-id ID] [--region REGION]
See also
- Cloud: cloud providers, cloud timeline, serverless computing, AWS, Azure, Google Cloud, DigitalOcean, IBM Cloud, Alibaba CloudAlibaba, Tencent, Baidu, VPC, Cloud Foundry, Snowflake, Huawei Cloud, Oracle Cloud, CISPE, CIPS, Free trial, Cloudera, Vantage.sh, Render
- IBM Cloud Cli release notes: https://github.com/IBM-Cloud/ibm-cloud-cli-release/releases
- IaC: Terraform, Chef, cdist, capistrano, Harrow, puppet, Ansible, CFEngine, Cloud Deployment Manager, pulumi, juju, SaltStack, Azure Resource Manager (ARM), Google Deployment Manager, AWS CloudFormation, Pulumi, Heat, Spacelift, Oracle Cloud Resource Manager, KICS, Troposphere, CaC, IaC scanning
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: Wikiversity
Advertising: