logo
  • Blog
  • The Cloud
  • DevOps
  • Trending
    • Blockchain
    • Bitcoin
  • How To
  • Kubernetes

Using IBM Bluemix CLI

Posted on September 12, 2017
Published on: Sept 12, 2017 | Last updated on: Sept 12, 2017 |
Author: Sushil Verma Sushil Verma (Linkedin, Twitter, Git)

 4,624 total views,  4 views today

Using IBM Bluemix CLI was last modified: January 21st, 2018 by Sushil Verma
Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email

Using IBM Bluemix CLI

IBM Bluemix is a cloud-based platform for building, managing, and running all types of apps, such as web, mobile, big data, and smart devices.

IBM Bluemix platform provides Command Line Interface (CLI) to interact with your apps, virtual servers, and containers. You can navigate to Bluemix Region, Organization, Spaces etc using CLI and work on specific app or service.

To get started with IBM Cloud CLI:

1. Download the installer of your OS

  • Mac OS X 64 bit: installer / checksum
  • Windows 64 bit: installer / checksum
  • Linux 64 bit: installer / checksum
  • Click here for IBM Cloud CLI Installer all versions.

2. Run the installer

  • For macOS and windows, just run the installer.
  • For Linux, extract the package and run install_bluemix_cli script

3. Target an API endpoint and login to IBM Cloud

Now you are ready to manage IBM Cloud resouces. Type bluemix help or bx help to see the command descriptions.

IBM Cloud CLI frequently used commands

As per IBM Cloud (bx) document, from bx cli version 0.5.0, IBM Cloud command line client bundles a Cloud Foundry command line client in its installation.

Note: You can use the short format of bluemix commands; for example, bx api is short for bluemix api.

IBM Cloud API endpoint list

Germany: https://api.eu-de.bluemix.net
Sydney: https://api.au-syd.bluemix.net
US East: https://api.us-east.bluemix.net
US South: https://api.ng.bluemix.net
United Kingdom: https://api.eu-gb.bluemix.net

Frequently used IBM Cloud cli commands

1. Login to IBM Cloud bluemix cli
$ bx login

2. How to set API endpoint while loggin into IBM Cloud bluemix cli
$ bx login API_ENDPOINT

For example, lets’ set the IBM Cloud bluemix api endpoint as Sydney
$ bx api https://api.au-syd.bluemix.net

3. List all IBM Cloud regions
$ bx regions

Name Geolocation Customer Deployment Domain CF API Endpoint Type
eu-de Germany IBM Production eu-de.bluemix.net https://api.eu-de.bluemix.net public
au-syd Sydney IBM Production au-syd.bluemix.net https://api.au-syd.bluemix.net public
us-east US East IBM Production us-east.bluemix.net https://api.us-east.bluemix.net public
us-south US South IBM Production ng.bluemix.net https://api.ng.bluemix.net public
eu-gb United Kingdom IBM Production eu-gb.bluemix.net https://api.eu-gb.bluemix.net public

 4,623 total views,  3 views today

Using IBM Bluemix CLI was last modified: January 21st, 2018 by Sushil Verma
Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email
Posted in CLI, Cloud Computing, IBM Bluemix |
« What is Test Driven Development (TDD)?
Jenkins installation »

Leave a comment Cancel reply

Your email address will not be published.

Latest Blogs

  • Linux: Viewing Log Messages
  • AWS CodeBuild: Getting Started
  • AWS CodeCommit: Set up Notifications
  • AWS CodeCommit: Securing The Repository and Branches
  • Managing Systemd units in Linux

Tags

Amazon EC2 AWS bash_shell bitcoin blockchain Cloud computing CodeCommit DevOps digital currency Kubernetes Linux trending ubuntu

For Improving Education

Categories

  • Amazon EC2
  • Amazon Web Services
  • AWS
  • AWS CodeCommit
  • Bash shell
  • Best Practices
  • Bitcoin
  • Blockchain
  • Chaincode
  • CLI
  • Cloud Computing
  • Cloud Security
  • CodeBuild
  • CodeCommit
  • CryptoCurrency
  • Cryptography
  • DevOps
  • Digital Currency
  • EC2 Lambda
  • Hyperledger
  • IBM Bluemix
  • IBM Garage
  • Kubernetes
  • Linux
  • Monitoring
  • OpenStack
  • Platform as a Service
  • TDD
  • Trending
  • Ubuntu
  • Virtual Server
Home | Site Map | Privacy Policy | Site Terms | Terms of use @2013, Times of Cloud.
The content is copyrighted to 'Times of Cloud' and may not be reproduced on other websites.