Skip to content

Commit 7fd110f

Browse files
author
cfsdocs
committed
Frances Overby: Merge pull request #3401 from coligo/fmo-upd-14Feb24-e
1 parent a1249c1 commit 7fd110f

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

fun-work.md

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22

33
copyright:
4-
years: 2023, 2023
5-
lastupdated: "2023-12-11"
4+
years: 2023, 2024
5+
lastupdated: "2024-02-14"
66

77
keywords: code engine, function, create function, code engine function, create code engine function
88

@@ -205,13 +205,27 @@ You can deploy your function with the following visibility levels:
205205

206206
| Setting | Description |
207207
| --------- | ------------------- |
208-
| [internal (project)](#fun-endpoint-projectonly) | A function with this setting can receive requests from components in the same {{site.data.keyword.codeengineshort}} project. Setting an internal (project) endpoint means that your function is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. |
208+
| [internal (project)](#fun-endpoint-projectonly) | A function with this setting can receive requests from components in the same {{site.data.keyword.codeengineshort}} project. Setting an internal (project) endpoint means that your function is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. **IMPORTANT** A function cannot invoke another function, job, or app using the internal routes.|
209209
| [public](#fun-endpoint-public) | A function with this setting is exposed to the internet and your {{site.data.keyword.codeengineshort}} project. Setting a public endpoint means that your function can receive requests from the public internet or from components within your {{site.data.keyword.codeengineshort}} project. This setting is the default. |
210210
| [private](#fun-endpoint-private) | A function with this setting is exposed to the {{site.data.keyword.cloud_notm}} private network and your {{site.data.keyword.codeengineshort}} project. Setting a private endpoint means that your function is not accessible from the public internet and network access is only possible from other {{site.data.keyword.cloud_notm}} services by using Virtual Private Endpoints (VPE) or {{site.data.keyword.codeengineshort}} components that are running in the same project.|
211211
{: caption="Table 1. Visibility for functions" caption-side="bottom"}
212212

213213
You can set the endpoint settings for visibility of a function from the console or with the CLI when you create and deploy, or update your function.
214214

215+
### Deploying your function with an internal endpoint
216+
{: #fun-endpoint-projectonly}
217+
218+
You can set the endpoint visibility for your function to deploy with an internal (project) endpoint. When you set an internal (project) endpoint, your function is not accessible from the public internet and network access is possible only from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. Functions are still accessible through shared components and therefore need to be secured.
219+
220+
For example, if your solution consists of several functions within a project, you might set up your solution so that only one of those functions is visible from the internet so that it handles incoming traffic. This public-facing function can delegate work to other functions in your solution so that they do not need to be visible from the internet.
221+
222+
With the CLI, set the endpoint visibility for your function so that it is deployed with a project endpoint by using the `--visibility=project` option on the [**`function create`**](/docs/codeengine?topic=codeengine-cli#cli-function-create) or [**`function update`**](/docs/codeengine?topic=codeengine-cli#cli-function-update) command. You can obtain the available URLs for your function that reflect your endpoint definition by using the [**`function get`**](/docs/codeengine?topic=codeengine-cli#cli-function-get) command.
223+
224+
From the console, set the visibility of endpoints for your function by using the **Endpoints** setting when you create your function. After your function is deployed, you can view and modify these system domain mapping settings on the **Domain mappings** tab on your Functions page.
225+
226+
A function with this setting can receive requests from components in the same {{site.data.keyword.codeengineshort}} project. However, a function cannot invoke another function, job, or app using the internal routes.
227+
{: important}
228+
215229
### Deploying your function with a public endpoint
216230
{: #fun-endpoint-public}
217231

@@ -232,16 +246,6 @@ From the console, set the visibility of endpoints for your function by using the
232246

233247
For more information about connecting over private networks, see [Using Virtual Private Endpoints with {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-vpe).
234248

235-
### Deploying your function with a project endpoint
236-
{: #fun-endpoint-projectonly}
237-
238-
You can set the endpoint visibility for your function to deploy with an internal (project) endpoint. When you set a project-only endpoint, your function is not accessible from the public internet and network access is possible only from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. Functions are still accessible through shared components and therefore need to be secured.
239-
240-
For example, if your solution consists of several functions within a project, you might set up your solution so that only one of those functions is visible from the internet so that it handles incoming traffic. This public-facing function can delegate work to other functions in your solution so that they do not need to be visible from the internet.
241-
242-
With the CLI, set the endpoint visibility for your function so that it is deployed with a project endpoint by using the `--visibility=project` option on the [**`function create`**](/docs/codeengine?topic=codeengine-cli#cli-function-create) or [**`function update`**](/docs/codeengine?topic=codeengine-cli#cli-function-update) command. You can obtain the available URLs for your function that reflect your endpoint definition by using the [**`function get`**](/docs/codeengine?topic=codeengine-cli#cli-function-get) command.
243-
244-
From the console, set the visibility of endpoints for your function by using the **Endpoints** setting when you create your function. After your function is deployed, you can view and modify these system domain mapping settings on the **Domain mappings** tab on your Functions page.
245249

246250

247251
## Options for creating functions

sitemap.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2556,12 +2556,12 @@ Find what you are looking for in the compilation of {{site.data.keyword.codeengi
25562556

25572557
* [Options for visibility for a {{site.data.keyword.codeengineshort}} functions](/docs/codeengine?topic=codeengine-fun-work#optionsvisibilityfun)
25582558

2559+
* [Deploying your function with an internal endpoint](/docs/codeengine?topic=codeengine-fun-work#fun-endpoint-projectonly)
2560+
25592561
* [Deploying your function with a public endpoint](/docs/codeengine?topic=codeengine-fun-work#fun-endpoint-public)
25602562

25612563
* [Deploying your function with a private endpoint](/docs/codeengine?topic=codeengine-fun-work#fun-endpoint-private)
25622564

2563-
* [Deploying your function with a project endpoint](/docs/codeengine?topic=codeengine-fun-work#fun-endpoint-projectonly)
2564-
25652565
* [Options for creating functions](/docs/codeengine?topic=codeengine-fun-work#functions-options)
25662566

25672567
* [Memory and CPU](/docs/codeengine?topic=codeengine-fun-work#functions-combo)

0 commit comments

Comments
 (0)