From 04c154137558f2081169944dfca26485b94d52cf Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Mon, 24 Jun 2024 11:43:44 +0200 Subject: [PATCH] A little more tweaking of the post Signed-off-by: Matthias Wessendorf --- blog/docs/articles/aws_to_func_migration.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/blog/docs/articles/aws_to_func_migration.md b/blog/docs/articles/aws_to_func_migration.md index f108c7e2d52..f95d259057a 100644 --- a/blog/docs/articles/aws_to_func_migration.md +++ b/blog/docs/articles/aws_to_func_migration.md @@ -2,7 +2,7 @@ **Author: Matthias Weßendorf, Senior Principal Software Engineer @ Red Hat** -_In a [previous post](/blog/articles/consuming_s3_data_with_knative){:target="_blank"} we discussed the consumption of notifications from an AWS S3 bucket inside a Knative Function. This post will describe the migration from a AWS Lambda Function, receiving S3 notifications, to Knative Functions._ +_In a [previous post](/blog/articles/consuming_s3_data_with_knative){:target="_blank"} we discussed the consumption of notifications from an AWS S3 bucket inside a Knative Function. This post will describe the migration from a AWS Lambda Function, receiving S3 notifications, to [Knative Functions](docs/functions){:target="_blank"}._ With Serverless Functions one of the common use-cases is to execute custom code based on an event trigger, like a notification from the AWS S3 service. With AWS Lambda you can run those programs on Amazon's cloud offerings, but running the code on your own data-center is much harder. @@ -40,7 +40,12 @@ You see two functions here: `handler` for the custom application logic and `main ## A Simpler Knative Function for AWS S3 -In the [previous post](/blog/articles/consuming_s3_data_with_knative){:target="_blank"} we discuss how to consume notifications from AWS Lambda in an on-premise cluster using Knative Eventing. Lets take a look at the code again: +!!! note + + To learn more about Knative Functions and how to create, build and deploy a project using the `func` CLI, check out the [documentation](docs/functions){:target="_blank"}. + + +In the [previous post](/blog/articles/consuming_s3_data_with_knative){:target="_blank"} we discuss how to consume notifications from AWS Lambda in an on-premise cluster using Knative Eventing. Lets take a look at the `main.go` file from the S3 project again: ```go package function @@ -103,3 +108,5 @@ $ curl -v -X POST \ ## Conclusion With Knative Functions it is straightforward to build cloud vendor-neutral functions for consuming event notifications from 3rd party cloud services such as AWS S3. Deploying those functions as Linux containers to your own on-premise Kubernetes cluster is also supported by the Knative CLI, as well as testing the function locally. + +To learn more about Knative Functions visit the [documentation](docs/functions){:target="_blank"} on our website or join our CNCF Slack channel [#knative-functions](https://cloud-native.slack.com/archives/C04LKEZUXEE)!