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?

asked 2 years ago254 views
1 Answer
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
EXPERT
answered 2 years ago
  • Thanks for the response. I will try this out at the earliest.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions