Customer Stories / Oil & Gas

lightsource bp Logo

Lightsource BP Releases Smart-Home Energy Management App Twice as Fast on AWS

Lightsource Labs used AWS to develop and release Tribe—an AI-powered, smart-home energy management solution—at twice the speed and one-third the cost of developing it in a traditional data center. Tribe uses Amazon Aurora to store energy usage data, Amazon EC2 for resizable cloud compute capacity, and AWS Lambda to orchestrate processes and test new algorithms.

Released a smart-home energy management app

to market twice as fast and at one-third the cost

Possible to test new algorithms

in minutes, not hours

Supports multiple

programming languages
barriers to entry worldwide

Reduced overhead costs

enables competitive subscription price


For people who want to reduce household environmental impacts and cut monthly electricity bills, there are two especially promising options. One is to install rooftop solar panels. The other is to take advantage of what the energy industry calls time-of-use tariffs, or variable electricity pricing that incentivizes consumption during non-peak hours to reduce strain on the power grid. In theory, by using a home battery system, it should be possible to store electricity generated by solar panels when the sun is out and to top those batteries off as needed with power from the grid only when prices are optimal.

In practice, however, accomplishing all this manually poses a challenge. "Homeowners would have to study weather forecasts, monitor constantly fluctuating electricity prices, and set timers and alarms to start appliances and plug in electric vehicles at all hours of the day or night," says Menelaos Ioannidis, chief technology officer at Lightsource Labs. "Most people would find it unworkable to manage this on their own."

Energy Utilities Industry by the Sea
Now, thanks to Lightsource Labs, they don't have to. Instead, homeowners can use Tribe, the company’s system for intelligent home energy management. The product consists of a hub installed in customers' homes and an app that runs on a serverless Amazon Web Services (AWS) architecture. First, the AI-powered solution learns a home's energy consumption patterns. Then, it automatically manages that consumption based on electricity-market price signals and weather information to help customers optimize electricity costs, speed return on the usually substantial upfront investment required for solar panels, and reduce household carbon footprints.

By developing and deploying Tribe on AWS, Lightsource Labs brought the product to market much faster than would have been possible using traditional methods. "Using AWS, we needed only a year to get a viable product to market," says Ioannidis. "To develop something as complex as Tribe in our own data center would have taken twice as long and cost at least three times as much."


AWS helps us maintain low, competitive subscription costs by consulting with us to make sure we are utilizing our infrastructure optimally and to show us where we can make improvements."

Menelaos Ioannidis
Chief Technology Officer, Lightsource Labs

Solution | Faster Prototyping and Time-to-Market on AWS

Lightsource Labs is the innovation arm of Lightsource BP, combining advanced technology development capabilities with Lightsource BP’s extensive renewable energy experience to bring smart-energy solutions to market. While Lightsource BP is focused on the funding, development, and long-term management of solar projects, Lightsource Labs researches new technologies and develops creative solutions to help households reduce their bills and carbon footprints. Its latest solution is Tribe.

Lightsource Labs began work on Tribe in a collocated data center but became interested in AWS because of the availability of managed services such as Amazon Aurora, the cloud-based MySQL and PostgreSQL-compatible relational database service. "We signed up for Aurora and it just worked," says Ioannidis. "The idea of shifting database management to AWS and not needing to hire and manage DevOps personnel gave us real peace of mind and freed us to focus on more valuable work."

The company's use of AWS steadily expanded, and Tribe was soon re-architected to run on AWS-native services. Tribe relies on Amazon Elastic Compute Cloud (Amazon EC2) for highly secure, scalable compute capacity, Amazon Simple Storage Service (Amazon S3) to store large files and documents, and Elastic Load Balancing to ensure consistent application performance.

One of the most important services that Lightsource Labs uses for Tribe is AWS Lambda, which executes serverless functions in response to events. AWS Lambda plays a key role in enabling the release velocity required for a product like Tribe. "In the digital energy space, we have to do lots of prototyping to test new policies and scenarios, and AWS is perfect for that," says Ioannidis. "Our developers and data scientists love how quickly they can test a new algorithm using AWS Lambda. They can run a script in just a few minutes, as opposed to the hours it would take to set up servers in our own data center for this. We also like that Lambda can run scripts in so many different languages, which is another timesaver for our polyglot team of programmers.”

For a product like Tribe, the reliability of AWS is especially important. "If our customers are going to trust Tribe to manage power for their entire house, we can't afford any significant downtime," says Ioannidis. "By using AWS monitoring tools and AWS Auto Scaling, we can scale up automatically if there is ever an instance that is struggling. Just as important, we can scale back down again and pay only for the extra resources when we need them—something we couldn't do in our own data center."

Outcome | Cloud Powers a Stronger Customer Focus  

By helping Lightsource Labs reduce its overhead costs, AWS helps the company make Tribe even more appealing to customers. "Our business model is based on subscriptions," says Ioannidis. “AWS helps us maintain low, competitive subscription costs by consulting with us to make sure we are utilizing our infrastructure optimally and to show us where we can make improvements. That's a big win for our customers."

Another reason Lightsource Labs is all-in on AWS is the worldwide reach needed for a solution like Tribe. "Because Tribe has an in-home component that must be able to communicate bi-directionally with our cloud backend at sub-second intervals, we need our infrastructure to be hosted as close as possible to our customers," says Ioannidis. "Because AWS has global availability of cloud IoT services, we have no latency concerns about entering new markets anywhere in the world."

Lightsource Labs finds AWS services like the AWS Management Console easy to work with and understand. "The AWS Console is very intuitive, and everything is so well documented that we hardly ever need any live support," says Ioannidis. "The transparent billing and the open, honest relationship with our account team are also a big part of why we will continue to use AWS. It's really valuable for us to be able to delegate our headaches to such a reliable cloud provider so we can concentrate on our business and our customers."

As a possible next step, Lightsource Labs will evaluate using Amazon Timestream, a serverless, purpose-built database service that can collect, store, and process time series data, to expand its services. "One exciting opportunity is the possibility of helping our customers sell solar power to the grid," says Ioannidis. "To take advantage of this opportunity we'll need cloud-based AI and analytics tools that can find value in event-based data. We’re looking forward to seeing how Amazon Timestream can help us turn this possibility into a reality.”

To learn more, visit

About Lightsource Labs

Lightsource Labs is the innovation arm of Lightsource BP, a strategic partnership between Lightsource Renewable Energy and BP. Lightsource Labs delivers products and innovations to help customers optimize behind-the-meter energy loads.

AWS Services Used

Amazon Aurora

MySQL and PostgreSQL-compatible relational database built for the cloud. Performance and availability of commercial-grade databases at 1/10th the cost.

Learn more »

Amazon EC2

Secure and resizable compute capacity in the cloud. Launch applications when needed without upfront commitments.

Learn more »

AWS Lambda

Run code without thinking about servers. Pay only for the compute time you consume.

Learn more »

Elastic Load Balancing

Achieve fault tolerance for any application by ensuring scalability, performance, and security.

Learn more »

More Oil & Gas Stories

no items found 


Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.