• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » IBM Cloud Code Engine : Basics

By Abhishek Ghosh March 20, 2021 5:17 am Updated on March 21, 2021

IBM Cloud Code Engine : Basics

Advertisement

IBM Code Engine will not force you to learn a lot of new things. Buildpack is something you know from Heroku. Buildpacks are available for Go, Java, Node.js, PHP, and .NET Core. IBM Code Engine is currently available as a Beta but the production version will be available sooner. Most of us are fans of Kubernetes. Kubernetes is a powerful tool for managing containerized applications. Same goes for serverless platform like OpenWhisk. When we want to run a small application then Kubernetes and OpenWhisk on their server are too big and expensive, and also consumes significant effort to complete the setup. IBM’s Code Engine comes to the list of options when we are considering Kubernetes and OpenWhiz. As we do not need to pay for the idle infrastructure, our cost will be lower.

IBM Cloud Code Engine Basics

Apart from the requirement of having an IBM Cloud Account, you need to have IBM Cloud CLI installed and the Code Engine plugin installed. For GNU/Linux, run the following command:

Vim
1
curl -sL https://raw.githubusercontent.com/IBM-Cloud/ibm-cloud-developer-tools/master/linux-installer/idt-installer | bash

For Windows, run the following command in PowerShell (as admin):

Advertisement

---

Vim
1
[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11, Tls, Ssl3"; iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/IBM-Cloud/ibm-cloud-developer-tools/master/windows-installer/idt-win-installer.ps1')

Login to your account :

Vim
1
ibmcloud login

Install the Code Engine CLI by running the following command:

Vim
1
ibmcloud plugin install code-engine

This is an example command on how to use the plugin :

Vim
1
ibmcloud ce project create --name myproject

Here is the CLI help :

Vim
1
ibmcloud ce proj -h

It is very easy to work from the web UI, there are lot of official guides, such as this one. Here are some samples on GitHub which will help you to get started.

I ran Hello World example app to test, I got this on a public URL as output :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Hello World from:
  ___  __  ____  ____            
/ __)/  \(    \(  __)            
( (__(  O )) D ( ) _)            
\___)\__/(____/(____)            
____  __ _   ___  __  __ _  ____
(  __)(  ( \ / __)(  )(  ( \(  __)
) _) /    /( (_ \ )( /    / ) _)
(____)\_)__) \___/(__)\_)__)(____)
 
Some Env Vars:
--------------
HOME=/root
HOSTNAME=codeengine-app-31-00001-deployment-666cfb958c-52pph
KUBERNETES_PORT=tcp://172.21.0.1:443
KUBERNETES_PORT_443_TCP=tcp://172.21.0.1:443
KUBERNETES_PORT_443_TCP_ADDR=172.21.0.1
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT_443_TCP_PROTO=tcp
KUBERNETES_SERVICE_HOST=172.21.0.1
KUBERNETES_SERVICE_PORT=443
KUBERNETES_SERVICE_PORT_HTTPS=443
K_CONFIGURATION=codeengine-app-31
K_REVISION=codeengine-app-31-00001
K_SERVICE=codeengine-app-31
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT=8080
PWD=/
SHLVL=1

This is the source code :

Vim
1
https://github.com/IBM/CodeEngine/blob/main/helloworld/helloworld.go

Honestly, I can see a lot of things are missing in documentation and examples – “Attention: This service is beta. “.

This Article Has Been Shared 936 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to IBM Cloud Code Engine : Basics

  • Cloud Computing Price Comparison : Comparing the Best Cloud Providers

    Cloud Computing Price Comparison is important to compare various services like IaaS, SaaS, PaaS, Private Cloud, Hybrid Cloud or simple Cloud Hosting.

  • Future of Cloud Computing : From a Broad Perspective

    Future of Cloud Computing from a broader aspect is quite glorious from providers’ aspect. middleman’s aspect and users’ aspect.

  • What is undercloud and what is overcloud?

    What is undercloud and what is overcloud? All of these phrases are related to OpenStack Cloud Computing Software Development and HP Helion.

  • Google’s Future : Killed By Cloud Computing & Snowden

    Frankly, Google’s Future is Killed By Cloud Computing Free Software Projects By the Hardware Giants & Spyware Activity Revealed by Snowden.

  • Mandrill Account Poor Reputation : Untold Story to Fix!

    Mandrill is a Cloud Based Transactional Email Service. It is Common to Get Email Warning on Mandrill Account Poor Reputation. Here is Why.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021
  • What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor April 8, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "IBM Cloud Code Engine : Basics," in The Customize Windows, March 20, 2021, April 17, 2021, https://thecustomizewindows.com/2021/03/ibm-cloud-code-engine-basics/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy