• 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. “.

Tagged With engine basics

This Article Has Been Shared 834 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT