DEV Community

Mrinalini Sugosh (Mrina) for IBM Developer

Posted on • Updated on

Deploying a containerized app to IBM Code Engine

Welcome back to THINK Days!

A weekly blog series where I discuss and share my journey with IBM Cloud Services. Before you begin, do checkout my previous blogs:

In this week's THINK Tuesday we will be discussing how to use IBM Cloud's Code Engine service. The coolest new service on the block! It enables you to deploy a fully scalable app on IBM Cloud in a matter of minutes. Let's take a look at some of the amazing perks of this service:

  • Auto-scales up/down, even to zero when idle
  • Builds container images from source code
  • Seamless integration with IBM Cloud services
  • Built on OSS Kubernetes, Knative, Istio, and Tekton, keeping workloads portable
  • Pay only for what you use

Let's get started!

Steps to Deploy an App on IBM Cloud Code Engine

Step 1

We are launching from this version of Code Engine from the IBM Cloud Dashboard. The quickest way to get started is to either provide a container image or source code.
image

I pasted one of the sample demo apps image and hit Create to get started.

Step 2 - Fine Tune Settings

Since I want this to be a running app rather than a job that runs to completion, select Application for type of Code Engine Instance:
image

Verify that I am passing in a container image:
image

For this tutorial, I plan to stick with the defaults. But, there are options to fine tune the runtime settings to better configure how this app scales.
image

Step 3 - Launch the app

Once configured, click Create, and the app will be deployed in a matter of seconds!
image

Oila, congratulations on deploying your first container on IBM Cloud Code Engine!

In this tutorial, we are simply scratching the surface on what's available with this new and amazing service.

Thank you for following along this THINK Day's Tutorial and be sure to look out for my next post, where I will continue sharing my Journey with IBM Cloud Services!!!

==== Follow me on Social Media(@mrinasugosh) ====
Dev.to: @mrinasugosh
Github: @mrinasugosh
Twitter: @mrinasugosh
LinkedIn: @mrinasugosh

Discussion (3)

Collapse
swatirajan7 profile image
Swati Rajan

Nice! Just deployed my first app. Will there be more demos in the future?

Collapse
mrinasugosh profile image
Mrinalini Sugosh (Mrina) Author

@swatirajan7 Glad you were able to follow along. Yes, I certainly do plan to create more demos with IBM Code Engine. I would also highly recommend checking out the IBM Developer space in DevTo (dev.to/ibmdeveloper) for more demos and tutorials.

Collapse
uwefassnacht profile image
Uwe Fassnacht

We've also put lot's of samples (some more advanced) in this repo here: github.com/IBM/CodeEngine.