Deploying web application to aws Iot greengrass

0

I inited a aws-greengrass-labs-local-web-server community component for deploying my web application to Iot aws greengrass. But in the template, I see this: Artifacts: - URI: s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/aws.greengrass.labs.LocalWebServer.zip Unarchive: ZIP I would like to ask whether I must host my website to AWS S3 first in order to build the component? Also, it is a must to download AWS CLI for building a aws-greengrass-labs-local-web-server community component?

已提問 1 年前檢視次數 447 次
2 個答案
1

Hi,

to deploy the component you have to upload it to an S3 bucket. To build the component the GDK is used which requires the AWS CLI to be installed.

You can find build and installation instructions for the local web server at https://github.com/awslabs/aws-greengrass-labs-local-web-server.

If you do not want to use the described installation you can try to deploy the component locally.

Cheers,
Philipp

AWS
專家
已回答 1 年前
1

Hi,

the README in the repository provides the step by step instructions to install the component and leverages the Greengrass Development Kit (gdk) to publish the component to you AWS account. In particular what you see in the component recipe are placeholders used by gdk.

You do not need to use the GDK or the AWS CLI, as all operations can be done via the console, but you will need to manually perform all the necessary operations, such as zipping your website code, uploading it to an S3 bucket, add the s3 object link to the recipe, etc.

AWS
專家
已回答 1 年前
profile pictureAWS
專家
Tasio
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南