Electric Vehicle Charging Station Management System
Publication date: June 4, 2024 (Diagram history)
Container-based Electric Vehicle Charging Station Management System diagram
Container-based microservices architecture utilizing familiar technologies and concepts, most suitable for organizations embarking on containerization. Whether you're planning a development from scratch or the modernization of existing product, this architecture provides a scalable, reliable, and cost-efficient solution for the critical electric vehicle (EV) infrastructure.
-
Charging stations (electric vehicle supply equipment, or EVSE) are connected to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate behind Network Load Balancer. AWS Lambda routes outbound open charge point protocol (OCPP) messages to EVSEs and Amazon DynamoDB keeps active connections.
-
Amazon CloudFront serves static EVSE management web application from an Amazon Simple Storage Service (Amazon S3) bucket. Amazon API Gateway exposes the backend REST API for the web application. Amazon Cognito stores the Charging Point Operator's user identities.
-
DynamoDB stores the registry of EVSE with credentials in encrypted form. AWS Certificate Manager (ACM) manages EVSE certificates for authentication.
-
Management microservice delivers EVSE metrics to and from Amazon CloudWatch. Amazon S3 is used to store EVSE logs, cold metrics, and firmware files.
-
DynamoDB stores the configuration of charging sites, balancing algorithms, and power grid capacity.
-
Amazon Quantum Ledger Database (Amazon QLDB) stores immutable and cryptographically verifiable log of charging transactions.
-
Application Load Balancer exposes the internal APIs of the microservices, routes requests, and balances between multiple tasks on Amazon ECS.
Serverless Electric Vehicle Charging Station Management System diagram
Event-driven serverless architecture most suitable for organizations with existing know-how in serverless technologies and mature DevOps culture. It provides a high degree of scalability, fault isolation, and minimal running costs when not in use.
-
EVSEs are connected to Amazon ECS on Fargate behind Network Load Balancer. Lambda routes outbound OCPP messages to EVSEs and DynamoDB keeps active connections.
-
CloudFront serves static EVSE management web application from an Amazon S3 bucket. API Gateway exposes the backend REST API for the web application. Amazon Cognito stores the charging point operator's user identities.
-
DynamoDB stores the registry of EVSE with credentials in encrypted form. ACM manages EVSE certificates for authentication.
-
Lambda functions deliver EVSE metrics to and from CloudWatch. Amazon S3 used to store EVSE logs, cold metrics, and firmware files.
-
The configuration of charging sites, balancing algorithms, and power grid capacity stored in DynamoDB.
-
AWS Step Functions orchestrates the transaction management workflows. Amazon QLDB stores immutable and cryptographically verifiable log of charging transactions.
-
Amazon Simple Notification Service (Amazon SNS) first in, first out (FIFO) topics transport messages to and from EVSEs. Messages are fanned out to Amazon Simple Queue Service (Amazon SQS) queues before being processed by Lambda functions.
-
Application Load Balancer routes requests to the internal APIs of Lambda-based microservices.
Electric Vehicle Charging Station Management System with AWS IoT diagram
This reference architecture demonstrates how to build a highly scalable, low-latency electric vehicle (EV) charge point operator system based on the EV industry standard, Open Charge Point Protocol (OCPP), using services such as AWS IoT Core and AWS Lambda.
-
An EV charge point is deployed in the field, either as a domestic charge point or as a fast charging one. It is fitted with both sensors and actuators (to stop and start charging) and can connect to the internet.
-
The EV charge point is provisioned as an AWS IoT thing using an AWS Private Certificate Authority (AWS Private CA) x509 certificate, along with the relevant AWS IoT policy, using just-in-time provisioning (JITP) with AWS Lambda.
-
The EV charge point connects to AWS using the MQTT protocol through AWS IoT Core, acting as the entry point to every message sent from and to the cloud. AWS IoT rules are initiated and sent to relevant AWS services and applications.
-
Following security best practices and guidance, the EV charge point certificate is rotated on a regular basis, leveraging AWS IoT Device Defender to identify certificates close to expiration, Amazon Simple Notification Service (Amazon SNS) and Lambda to handle the new certificate generation and rotation.
-
AWS IoT rules and actions store telemetry data coming from the EV charge point through AWS IoT Core in a dedicated storage service such as Amazon Timestream or Amazon Simple Storage Service (Amazon S3) for further analysis and fleet management.
-
An AWS IoT device shadow can make a charge point state available to the application layer and other services whether the device is connected to AWS IoT Core or not, implementing the preferred mechanism for IoT device remote commands.
-
Use AWS IoT Device Management to implement over-the-air (OTA) update management through IoT jobs, allowing the EV charge point to download its new firmware from Amazon S3.
-
Get security alerts from AWS IoT Device Defender and analyze IoT logs in Amazon CloudWatch. Use AWS IoT fleet indexing to manage state, connectivity, and device violations and to organize, investigate, and troubleshoot your fleet of devices.
-
Build your business logic applications serving different user personas from fleet management operators to utilities, mobility solution providers or vehicle OEMs. Use AWS services such as Amazon SageMaker AI for energy demand forecasting or EV routing algorithms, AWS Quick Sight to build fleet management dashboards, or Amazon API Gateway to provide API access to your data to third parties, partners, and customers.
Further reading
For additional information, refer to