Guidance for Modernizing Electric Vehicle (EV) Charging on AWS
Overview
How it works
This architecture diagram shows how to build and modernize your EV charging system using AWS IoT Core.
Deploy with confidence
Ready to deploy? Review the sample code on GitHub for detailed deployment instructions to deploy as-as or customize to fit your needs.
Well-Architected Pillars
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
Operational Excellence
The architecture leverages NLB to efficiently distribute incoming connections from charge points to OCPP Handler instances running on Fargate. This offloads load balancing and high availability responsibilities, allowing you to focus on the core charging application. Fargate hosts the containerized OCPP Handler, enabling automatic scaling based on traffic and simplifying deployment and management.
Security
AWS IoT Core establishes secure, encrypted communication channels between charge points and backend systems to handle authentication, authorization, and message encryption. AWS Identity and Access Management (IAM) enforces fine-grained access controls, restricting access to authorized users and services only. Security groups and network ACLs act as virtual firewalls, controlling inbound and outbound traffic, protecting the system from potential network-based attacks.
Reliability
The stateless architecture allows the NLB to route traffic to any available OCPP Handler instance on Fargate. AWS Auto Scaling groups help ensure system scalability to handle increased load without downtime. AWS IoT Core provides reliable message handling, automatically rerouting traffic during failover or scaling events. Amazon SQS buffers and stores payloads, enhancing overall system resilience.
Performance Efficiency
AWS IoT Core, Amazon SQS, and Lambda leverage scalability and high-throughput capabilities to efficiently handle potentially large volumes of OCPP messages from charging stations. Their serverless nature supports automatic scaling based on demand, adapting infrastructure to workload fluctuations. Managed services reduce operational overhead, re-directing focus to application-level concerns.
Cost Optimization
Serverless and pay-as-you-go pricing models (meaning you pay only for what you use) of AWS IoT Core, Amazon SQS, Lambda, and Step Functions allow you to scale the charging network up and down as needed, without incurring fixed costs. The event-driven architecture, facilitated by these services, consumes resources only when specific events or messages invoke actions, improving resource utilization and reducing waste.
Sustainability
The event-driven architecture and serverless services like AWS IoT Core, Amazon SQS, Lambda, and Step Functions minimize the environmental impact by consuming resources only when invoked, reducing the overall operational footprint and the need for always-on computing power.
Disclaimer
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages