Deploying Containers to IBM Cloud Code Engine

2 min read

Deploying applications to the cloud should be the least of your worries.

Let's face it — as developers, we want to code, not manage hosting infrastructure. With IBM Cloud Code Engine, we are one step closer to this goal.

What is IBM Cloud Code Engine?

On March 31, 2021, IBM announced its new flagship runtime hosting environment, IBM Cloud Code Engine (see the announcement here). Code Engine is a fully managed, cloud-based runtime that allows you to deploy any cloud native workload in seconds, without having to manage any of the infrastructure necessary to host it. This means no more installing and managing Kubernetes. No more learning about pods, replicaSets, deployments, auto-scalers, load-balancers and even YAML.

With Code Engine, you simply provide your container image and desired runtime semantics, and Code Engine will do the rest. Or, if you want, you can also provide your source code, and Code Engine will build the container image for you. Whether the workload is one that responds to incoming requests (such as an HTTP server, a serverless function, a REST API or an event-driven workload) or it's more of a "run-to-completion" one (such as a batch job), Code Engine can run it.

The simplified user experience that Code Engine offers is specifically designed to streamline the process to minimize the amount of time you spend worrying about how to host your applications. With smart defaults, the application can be deployed with just a few mouse clicks. Need a bit of customization? No worries — with just a few key strokes, you can tell the platform want you want and Code Engine will do all of the steps necessary to make it happen.

And, best of all, not only do you not have to worry about managing the platform, you don't have to worry about scaling it or paying for unused (idle) resources. With Code Engine, you'll only pay for the resources you use. This means that if you let Code Engine scale your workloads down to zero instances (because they're idle), then you'll stop paying for them. If new incoming requests suddenly appear, Code Engine will automatically scale them back up. True serverless semantics for all your workloads.

See how simple it should be

Rather than continue to tell you about IBM Cloud Code Engine, check out the following video where Jenny Lanier walks you through the process of deploying a sample application to Code Engine:


In the video, she deploys a simple "Hello World" type of HTTP serving application with just a few clicks (no typing!). In a matter of seconds, she has an internet-facing application that's secured with TLS and will auto-scale up and down (even to zero if idle). She also shows you how to easily configure the runtime semantics, if needed.

After that, I encourage you to go try Code Engine yourself. We offer a free tier so that you can play with it before you commit to purchasing. Check out the samples and tutorials that can help you jump-start your migration.

Ready to get started?

To start using IBM Cloud Code Engine, go to our landing page and watch more of our "Hello World" demo videos. Then, head on over to "Getting Started with Code Engine" in the documentation and deploy your first container, batch job or simply deploy your source code directly.

Be the first to hear about news, product updates, and innovation from IBM Cloud