Determining port for lambda function running on core device

0

I wanted to deploy 2 separate components to core device (Raspberry Pi) and I need to define 2 different ports for them. I was wondering how can I specify a port for a simple lambda function (like "hello from lambda").

Nana
질문됨 일 년 전275회 조회
1개 답변
0

Hi Nana,

what is your use-case, what do you want to achieve? In case your Lambda function should open a port to you need to do this in the code of your Lambda function.

Cheers,
Philipp

AWS
전문가
답변함 일 년 전
  • Hi Philipp, Thanks for your answer, So if I understood you right, you are suggesting to do this with creating a web server in lambda function code. My use case is that I want to be able to send a request from one Greengrass component to another and I was thinking about determining a port for each of them.

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

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

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

관련 콘텐츠