11---
22title : " From Laptop to Cloud in Minutes: Deploying with Bob and Code Engine"
3- date : 2026-06-21
3+ date : 2026-07-02
44description : " Using Bob to deploy an app to Code Engine"
55tags : ["Bob", "serverless", "code engine", "AI"]
66featureImage : " featured.jpg"
@@ -47,7 +47,7 @@ Open Bob in your development environment (VS Code, terminal, or wherever you hav
4747
4848In Bob, type the following command:
4949
50- ```
50+ ``` text
5151Install the code-engine-specialist skill in this workspace using the following command:
5252
5353npx skills add github:IBM/CodeEngine --skill code-engine-specialist -y 2>&1 || true
@@ -65,7 +65,7 @@ Bob will:
6565
6666Once installed, confirm the skill is available by asking Bob:
6767
68- ```
68+ ``` text
6969Do you have the code-engine-specialist skill installed?
7070```
7171
@@ -113,13 +113,13 @@ Targeted resource group Default
113113
114114Now let's have Bob verify your authentication. Tell Bob:
115115
116- ```
116+ ``` text
117117Check my IBM Cloud authentication
118118```
119119
120120Bob will run the verification and show you something like:
121121
122- ```
122+ ``` text
123123🔐 Authentication Status Check
124124---
125125✅ Authenticated as: your-email@example.com
@@ -140,7 +140,7 @@ Now for the fun part—let's have Bob create a simple static website for us!
140140
141141Tell Bob:
142142
143- ```
143+ ``` text
144144Create a simple hello world static website with HTML, CSS, and JavaScript
145145```
146146
@@ -166,7 +166,7 @@ Now comes the exciting part—deploying to the cloud!
166166
167167Make sure you're in the directory with your website files, then tell Bob:
168168
169- ```
169+ ``` text
170170Deploy this website to Code Engine
171171```
172172
@@ -196,7 +196,7 @@ Open that URL in your browser to see your Hello World site up and running.
196196
197197If you'd like to explore the full application configuration, logs, and scaling settings in the IBM Cloud UI, ask Bob:
198198
199- ```
199+ ``` text
200200Give me a link to the code engine application details in the IBM Cloud UI
201201```
202202
@@ -252,7 +252,7 @@ Edit your `index.html` file. For example, change the heading:
252252
253253Simply tell Bob:
254254
255- ```
255+ ``` text
256256Redeploy my website to Code Engine
257257```
258258
@@ -269,37 +269,37 @@ The whole process takes just a few minutes!
269269Now that you've deployed your first application, try asking Bob:
270270
271271### View Your Application Status
272- ```
272+ ``` text
273273Show me the status of my Code Engine application
274274```
275275
276276### Check the Logs
277- ```
277+ ``` text
278278Show me the logs for hello-world-site
279279```
280280
281281### Scale Your Application
282- ```
282+ ``` text
283283I am expecting more load. Can you increase the resources and number of instances?
284284```
285285
286286Bob may suggests different options, pick one and observe how Bob scales the application.
287287
288288### Add Environment Variables
289- ```
289+ ``` text
290290Add an environment variable API_KEY to my application
291291```
292292
293293### Set Up a Custom Domain
294- ```
294+ ``` text
295295How do I configure a custom domain for my Code Engine app?
296296```
297297
298298Bob will guide you through each of these tasks conversationally!
299299
300300### Delete the application
301301
302- ```
302+ ``` text
303303Delete the application
304304```
305305
@@ -327,7 +327,7 @@ Now that you've deployed your first application with Bob and Code Engine, here a
327327Create a Node.js Express API or Python Flask application and deploy it the same way.
328328
329329** Try this** : Tell Bob:
330- ```
330+ ``` text
331331Create a simple REST API with Node.js and Express, then deploy it to Code Engine
332332```
333333
@@ -338,15 +338,15 @@ Build an application with a frontend and backend, and deploy both to Code Engine
338338Configure automatic deployments when you push to GitHub.
339339
340340** Ask Bob** :
341- ```
341+ ``` text
342342How do I set up automatic deployments from GitHub to Code Engine?
343343```
344344
345345### 4. Explore Batch Jobs
346346Code Engine isn't just for web applications—it can run batch jobs too!
347347
348348** Ask Bob** :
349- ```
349+ ``` text
350350Show me how to run a batch job on Code Engine
351351```
352352
@@ -378,31 +378,31 @@ If you run into issues, Bob is there to help! Here are some common scenarios:
378378
379379### "My deployment failed"
380380Ask Bob:
381- ```
381+ ``` text
382382Why did my deployment fail? Can you help me troubleshoot?
383383```
384384
385385Bob will analyze the error logs and suggest solutions.
386386
387387### "My website is slow to load"
388388Ask Bob:
389- ```
389+ ``` text
390390My website seems slow after being idle. How can I fix this?
391391```
392392
393393Bob will explain cold starts and help you configure min-scale if needed.
394394
395395### "I want to see what's happening"
396396Ask Bob:
397- ```
397+ ``` text
398398Show me the logs for my application
399399```
400400
401401Bob will fetch and display the logs, helping you understand what's happening.
402402
403403### "I need to change the configuration"
404404Ask Bob:
405- ```
405+ ``` text
406406I want to increase the memory for my application to 1G
407407```
408408
0 commit comments