is it possible to deploy two (2) SiteWise gateway configuration on single EC2 machine?

0

I have a Prod and Dev AWS account, and I would like to bring in the live data within the DEV AWS account. The live data is connected to the PROD account via the following path (OPC-UA server -> Greengrass V2 SiteWise Gateway (running on an EC2) -> SiteWise Console). So the question: is it possible to create a new gateway in SiteWise ( in DEV account) and deploy it on the SAME server that's running the existing gateway for PROD?

질문됨 2년 전239회 조회
1개 답변
1

Hi Roshan, it is possible to do what you want by installing a new Greengrass Core instance on the same server in a different root folder. From the Sitewise console, select Create Gateway and go through the Default Setup. Once the installation script has been dowloaded, open it and edit the line with

GREENGRASS_FOLDER="/greengrass"

replacing "/greengrass" with another folder.

If you are installing on Windows, just pass the new folder name as -InstallPath parameter to the script

NOTE: This will not work if you are also installing the data processing pack, as this pack will open some ports that will conflict with those opened by the existing gateway.

AWS
전문가
답변함 2년 전

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

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

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

관련 콘텐츠