AWS IoT Case Study: LG Electronics

Pratik Patel
6 min readSep 21, 2020

--

What is AWS IoT Core?

AWS IoT Core is a managed cloud service that lets connected devices easily and securely interact with cloud applications and other devices. AWS IoT Core can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely. With AWS IoT Core, your applications can keep track of and communicate with all your devices, all the time, even when they aren’t connected.

AWS IoT Core also makes it easy to use AWS and Amazon services like AWS Lambda, Amazon Kinesis, Amazon S3, Amazon SageMaker, Amazon DynamoDB, Amazon CloudWatch, AWS CloudTrail, Amazon QuickSight, and Alexa Voice Service to build IoT applications that gather, process, analyze and act on data generated by connected devices, without having to manage any infrastructure.

How does AWS IoT Core work?

1. Connect and manage your devices

AWS IoT Core allows you to easily connect any number of devices to the cloud and to other devices. AWS IoT Core supports HTTP, WebSockets, and MQTT, a lightweight communication protocol specifically designed to tolerate intermittent connections, minimize the code footprint on devices, and reduce network bandwidth requirements. AWS IoT Core also supports other industry-standard and custom protocols, and devices can communicate with each other even if they are using different protocols.

2. Secure device connections and data

AWS IoT Core provides automated configuration and authentication upon a device’s first connection to AWS IoT Core, as well as end-to-end encryption throughout all points of connection, so that data is never exchanged between devices and AWS IoT Core without proven identity. In addition, you can secure access to your devices and applications by applying policies with granular permissions.

3. Process and act upon device data

With AWS IoT Core, you can filter, transform, and act upon device data on the fly, based on business rules you define. You can update your rules to implement new device and application features at any time. AWS IoT Core makes it easy to use AWS services like AWS Lambda, Amazon Kinesis, Amazon S3,Amazon DynamoDB, Amazon CloudWatch, and Amazon Elasticsearch Service for even more powerful IoT applications.

4. Read and set device state at any time

AWS IoT Core stores the latest state of a connected device so that it can be read or set at anytime, making the device appear to your applications as if it were online all the time. This means that your application can read a device’s state even when it is disconnected, and also allows you to set a device state and have it implemented when the device reconnects.

5. Cost-effectively scale to hundreds of millions of Alexa Built-in devices

The Alexa Voice Service (AVS) Integration for AWS IoT Core introduces a new virtual Alexa Built-in device in the cloud. To use the AVS Integration, customers use a new set of AWS IoT-reserved MQTT topics to transfer MQTT-based audio messages between devices connected to AWS IoT Core and the new virtual Alexa Built-in device. This allows customers to send and receive audio messages over the reserved MQTT topics, interface with the device microphone and speaker, and manage the device-side state all while using the same secure IoT Core connection.

Now See, AWS IoT Case Study: LG Electronics

About LG Electronics

In December 2017, LG Electronics (LG) announced the launch of its LG ThinQ (ThinQ) brand to categorize all its upcoming smart products and services, which feature artificial intelligence (AI) technology. The concept of ThinQ is to embed Wi-Fi chips in LG products, which allows these products to communicate with each other while learning about their user’s behavioral patterns and environments. To date, LG has sold more than 70 million smart TVs and five million home appliances around the globe.

The Challenge

As the sale of its Wi-Fi-enabled products increased, the activation rate for LG’s smart appliances increased concurrently, which led to a burden on its servers on premises. This growth called for a new platform that could accommodate an increasing number of smart devices connected to LG servers. As such, LG built an Internet of Things (IoT) platform for ThinQ appliances, but experienced difficulties in securing resources for server development and operations.

In LG’s search to ensure reliable device connectivity, the company constantly reviewed new technologies that were compatible with its existing services aside from ThinQ. LG looked to migrate its IoT platform to a new infrastructure that was easy to manage, secure, and cost-effective.

Why Amazon Web Services ?

In 2016, LG successfully migrated its IT platform for home appliances, including more than 1,000 servers, from its data center to Amazon Web Services (AWS). The business adopted Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3).

In 2017, LG learned about AWS IoT and its serverless architecture. LG decided to use AWS IoT based on an understanding that this would reduce management time for its IoT platform. In addition, AWS was the only cloud provider whose IoT services could meet LG’s requirements to support the ThinQ platform.

The company then began using AWS IoT Core to maintain continuous connectivity between ThinQ devices and its IoT platform. LG also started using AWS Lambda (Lambda) for serverless computing that registers ThinQ devices on the cloud, stores device data, and controls device status information.

For authentication between ThinQ devices and its IoT platform’s servers, LG uses X.509 certificates. The ThinQ platform also stores data in Amazon ElastiCache and Amazon DynamoDB, which provide historical data for services. “With the previous infrastructure, we retrieved data directly from devices to get status information. Now, the Device Shadow Service feature for AWS IoT enables the system to cache the status information from the server. This feature has made it possible to deliver better service consistency,” says Kunwoo Kim, chief of the Service Development Team at the LG Cloud Center.

The diagram below illustrates the LG Electronics architecture on AWS:

The Benefits

Because of the managed services and AWS IoT Core, LG was able to relaunch its IoT platform with a modest number of development resources. “By using AWS for our IoT platform, we saved 80 percent in development cost. It also enabled developers to focus on writing business logic for LG service scenarios,” says Mr. Kim.

“Our infrastructure team and development team operated separately, resulting in miscommunication and inefficiencies when it came to infrastructure allocation. With AWS, developers can improve efficiency by building the infrastructure themselves and then consulting with our infrastructure team when development work is almost complete,” says Mr. Kim.

LG is also using AWS IoT and a serverless architecture for air-quality monitoring services, customer service chatbots, and energy solutions. Since March 2018, a chatbot service for customer support that was developed using serverless services has been running in Korea and the United States.

The business is working with AWS solutions architects to resolve issues with its cloud infrastructure. “We found that it was better to receive help from AWS solutions architects compared to solving problems ourselves. AWS is a great solution for customers because AWS enables developers to focus on their core tasks, like writing business logic and running test environments. We have plans to continue using AWS services for other projects in the future,” says Mr. Kim.

--

--

Pratik Patel

I am in journey of learning and creating of new technologies.