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?

질문됨 일 년 전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

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
전문가
답변함 일 년 전
profile pictureAWS
전문가
Tasio
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인