You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a CSMS server on aws and wanted to evaluate using this gateway in a production environment. I am a little confused with how to architect this (as my understanding with a few AWS services are at a novice level).
I will need to extend the message processor in the gateway code to support different topics other than heartbeat, bootnotification & statusNotification, right? Including all actions under ocpp 1.6 and 2.0.1 ? Or do we just create rules in in AWS IoT to route certain messages to a DynamoDb table?
Essentially this gateway should be extended such that all incoming messages are routed to DyanamoDb and there we can have Dynamodb streams to act on relevant/interesting topics OR would you suggest the message processor to route relevant topics (like startTransation) to an appropriate AWS service (responsible for handling it) OR should all the messages be pushed to SQS and then my AWS service subscribe to relevant topic to act on it?
To what extent is the ocpp library used here? How do we leverage it fully with the ocpp gateway?
Why would you recommend going for such a solution instead of building our own server?
The text was updated successfully, but these errors were encountered:
Your questions related to architecture would be best handled in a design consultation with your AWS Solutions Architect--do you have one assigned to your account?
You are correct that the message processor will need to be extended to support all (or those you care about) OCPP messages. Depending on the message, you may choose to just log it (e.g., Heartbeat), or log and take action (e.g., StatusNotification). IoT topics are a powerful mechanism for routing or fan out; you could do this downstream of DynamoDB as you suggested, but you'd have to create a routing mechanism whereas you already have a highly scalable one in IoT.
I would generally opt for using IoT route to an OCPP message-specific SQS queue which would trigger an OCPP message-specific Lambda function to take action. If actions require more complex orchestration, I would suggest using Step Functions for that.
Hello,
I am building a CSMS server on aws and wanted to evaluate using this gateway in a production environment. I am a little confused with how to architect this (as my understanding with a few AWS services are at a novice level).
The text was updated successfully, but these errors were encountered: