How GE Proficy Manufacturing Data Cloud replatformed to improve TCO, data SLA, and performance

海外精选
25
0
{"value":"*This is post is co-authored by Jyothin Madari, Madhusudhan Muppagowni and Ayush Srivastava from GE.*\n\nGE Proficy Manufacturing Data Cloud (MDC), part of the GE Digital’s Manufacturing Execution Systems (MES) suite of solutions, allows GED’s customers to increase the derived value easily and quickly from the MES by reliably bringing enterprise-wide manufacturing data into the cloud and transforming it into a structured dataset for advanced analytics and deeper insights into the manufacturing processes.\n\nIn this post, we share how MDC modernized the hybrid cloud strategy by replatforming. This solution improved scalability, their data availability Service Level Agreement (SLA), and performance.\n\n### **Challenge**\n\nMDC v1 was built on Predix services using industrial use case-optimized Predix services such as Predix Columnar Store (Cassandra) and Predix Insights ([Amazon EMR](http://aws.amazon.com/emr)). MDC evolved in both features and the underlying platform over the past year with a goal to improve TCO, data SLA, and performance. MDC’s customer base grew and the number of sites from customers grew to over 100 in the past couple of years. The increased number of sites needed more compute and storage capacity. This increased infrastructure and operational cost significantly, while introducing increased data latency and lowering the data freshness interval from the cloud.\n\n### **How we started**\n\nMDC evaluated several vendors for their storage and compute capabilities using various measurements: security, performance, scalability, ease of management and operation, reduction of overall cost and increase in ROI, partnership, and migration help (technology assistance). The MDC team saw opportunities to improve the product by using native AWS services such as [Amazon Redshift](http://aws.amazon.com/redshift), [AWS Glue](https://aws.amazon.com/glue), and [Amazon Managed Workflows for Apache Airflow](https://aws.amazon.com/managed-workflows-for-apache-airflow/) (Amazon MWAA), which made the product more performant and scalable while reducing operation costs and making it future-ready for advanced analytics and new customer use cases.\n\nThe GE Digital team, comprised of domain experts, developers, and QA, worked shoulder to shoulder with the AWS ProServe team, comprised of Solution Architects, Data Architects, and Big Data Experts, in determining the key architectural changes required and solutions to implementation challenges.\n\n### **Overview of solution**\n\nThe following diagram illustrates the high-level architecture of the solution.\n\n![image.png](https://dev-media.amazoncloud.cn/c67838693c054a33952cd8eaf2ba326e_image.png)\n\nThis is a broad overview, and the specifics of networking and security between components are out of scope for this post.\n\nThe solution includes the following main steps and components:\n\n1.**CDC and log collector** – Compressed CSV data is collected from over 100 Manufacturing Data Sources Proficy Plant Applications and sinked into an [Amazon Simple Storage Service](http://aws.amazon.com/s3) (Amazon S3) bucket.\n2.**S3 raw bucket** – Our data lands in Amazon S3 without any transformation, but appropriately partitioned (tenant, site, date, and so on) for the ease of future processing.\n3.**AWS Lambda** – When the file lands in the S3 raw bucket, it triggers an S3 event notification, which invokes [AWS Lambda](http://aws.amazon.com/lambda). Lambda extracts metadata (bucket name, key name, date, and so on) from the event and saves it in [Amazon DynamoDB](https://aws.amazon.com/dynamodb/).\n4.**AWS Glue** – Our goal is now to take CSV files, with varying schemas, and convert them into Apache Parquet format. An AWS Glue extract, transform, and load (ETL) job reads a list of files to be processed from the DynamoDB table and fetches them from the S3 raw bucket. We have preconfigured unified AVRO schemas in the AWS Glue Schema Registry for schema conversion. Converted data lands in the S3 raw Parquet bucket.\n5.**S3 raw Parquet bucket** – Data in this bucket is still raw and unmodified; only the format was changed. This intermediary storage is required due to schema and column order mismatch in CSV files.\n6.**Amazon Redshift** – The majority of transformations and data enrichment happens in this step. [Amazon Redshift Spectrum](https://docs.aws.amazon.com/redshift/latest/dg/c-getting-started-using-spectrum.html) consumes data from the S3 raw Parquet bucket and external PostgreSQL dimension tables (through a federated query). Transformations are performed via stored procedures, where we encapsulate logic for data transformation, data validation, and business-specific logic. The Amazon Redshift cluster is configured with concurrency scaling, auto workload management (WLM) with caching, and the latest RA3 instance types.\n7.**MDC API** – These custom-built, web-based, REST API microservices talk on the backend with Amazon Redshift and expose data to external users, business intelligence (BI) tools, and partners.\n8.**Amazon Redshift data export and archival** – On a scheduled basis, Amazon Redshift exports (UNLOAD command) contextualized and business-defined aggregated data. Exports are landed in the S3 bucket as Apache Parquet files.\n9.**S3 Parquet export bucket** – This bucket stores the exported data (hundreds of TBs) used by external users who need to run extensive, heavy analytics and AI or machine learning (ML) with various tools (such as Amazon EMR, [Amazon Athena](http://aws.amazon.com/athena), Apache Spark, and Dremio).\n10.**End-users** – External users consume data from the API. The main use case here is reporting and visual analytics.\n11.**Amazon MWAA** – The orchestrator of the solution, Amazon MWAA is used for scheduling Amazon Redshift stored procedures, AWS Glue ETL jobs, and Amazon Redshift exports at regular intervals with error handling and retries built in.\n\n### **Bringing it all together**\n\nMDC replaced both Predix Columnar Store (Cassandra) and Predix Insights (Amazon EMR) with Amazon Redshift for both storage of the MDC data models and compute (ELT). Amazon MWAA is used to schedule the workloads that do the bulk of the ELT. Lambda, AWS Glue, and DynamoDB are used to normalize the schema differences between sites. It was important not to disrupt MDC customers while replatforming. To achieve this, MDC used a phased approach to migrate the data models to Amazon Redshift. They used federated queries to query existing PostgreSQL for dimensional data, which facilitated having some of the data models in Amazon Redshift, while the others were in Cassandra with no interruption to MDC customers. Redshift Spectrum facilitated querying the raw data in Amazon S3 directly both for ETL and data validation.\n\n75% of the MDC team along with the AWS ProServe team and AWS Solution Architects collaborated with the GE Digital Security Team and Platform Team to implement the architecture with AWS native services. It took approximately 9 months to implement, secure, and performance tune the architecture and migrate data models in three phases. Each phase has gone through a GE Digital internal security review. Amazon Redshift Auto WLM, short query acceleration, and tuning the sort keys to optimize querying patterns improved the Proficy MDC API performance. Because the unload of the data from Amazon Redshift was fast, Proficy MDC is now able to export the data much more frequently to our end customers.\n\n### **Conclusion**\n\nWith replatforming, Proficy MDC was able to improve ETL performance by approximately 75%. Data latency and freshness improved by approximately 87%. The solution reduced TCO of the platform by approximately 50%. Proficy MDC was also able reduce the infrastructure and operational cost. Improved performance and reduced latency has allowed us to speed up the next steps in our journey to modernize the enterprise data architecture and hybrid cloud data platform.\n\n#### **About the Authors**\n\n![image.png](https://dev-media.amazoncloud.cn/f884a914a0eb4a49a89393d6a97df6a8_image.png)\n\n**Jyothin Madari** leads the Manufacturing Data Cloud (MDC) engineering team; part of the manufacturing suite of products at GE Digital. He has 18 years of experience, 4 of which is with GE Digital. Most recently he has been working on data migration projects with an aim to reduce costs and improve performance. He is an AWS Certified Cloud Practitioner, a keen learner and loves solving interesting problems. Connect with him on [LinkedIn](https://www.linkedin.com/in/jyothinm/).\n\n![image.png](https://dev-media.amazoncloud.cn/9dfbdbd1d89e42dd812e1ecf843eca8f_image.png)\n\n**Madhusudhan (Madhu) Muppagowni** is a Technical Architect and Principal Software Developer based in Silicon Valley, Bay Area, California. He is passionate about Software Development and Architecture. He thrives on producing Well-Architected and Secure SaaS Products, Data Pipelines that can make a real impact. He loves outdoors and an avid hiker and backpacker. Connect with him on [LinkedIn](https://www.linkedin.com/in/madhumuppagowni/).\n\n![image.png](https://dev-media.amazoncloud.cn/fa3893fe27d9476bbb2daacb8c248f1d_image.png)\n\n**Ayush Srivastava** is a Senior Staff Engineer and Technical Anchor based in Hyderabad, India. He is passionate about Software Development and Architecture. He has Demonstrated track record of successfully technical anchoring small to large Secure SaaS Products, Data Pipelines from start to finish. He loves exploring different places and he says “I’m in love with cities I have never been to and people I have never met.” Connect with him on [LinkedIn](https://www.linkedin.com/in/ayush-srivastava-0567551a9/).\n\n![image.png](https://dev-media.amazoncloud.cn/9db5a23b121143d59e53e140e2af3d0a_image.png)\n\n**Karen Grygoryan** is Data Architect with AWS ProServe. Connect with him on [LinkedIn](https://www.linkedin.com/in/kgryg/).\n\n![image.png](https://dev-media.amazoncloud.cn/d19e351284854a6aa234b7216db57274_image.png)\n\n**Gnanasekaran Kailasam** is a Data Architect at AWS. He has worked with building data warehouses and big data solutions for over 16 years. He loves to learn new technologies and solving, automating, and simplifying customer problems with easy-to-use cloud data solutions on AWS. Connect with him on [LinkedIn](https://www.linkedin.com/in/gnanasekaran-kailasam-879b3064/).","render":"<p><em>This is post is co-authored by Jyothin Madari, Madhusudhan Muppagowni and Ayush Srivastava from GE.</em></p>\n<p>GE Proficy Manufacturing Data Cloud (MDC), part of the GE Digital’s Manufacturing Execution Systems (MES) suite of solutions, allows GED’s customers to increase the derived value easily and quickly from the MES by reliably bringing enterprise-wide manufacturing data into the cloud and transforming it into a structured dataset for advanced analytics and deeper insights into the manufacturing processes.</p>\n<p>In this post, we share how MDC modernized the hybrid cloud strategy by replatforming. This solution improved scalability, their data availability Service Level Agreement (SLA), and performance.</p>\n<h3><a id=\"Challenge_6\"></a><strong>Challenge</strong></h3>\n<p>MDC v1 was built on Predix services using industrial use case-optimized Predix services such as Predix Columnar Store (Cassandra) and Predix Insights (<a href=\"http://aws.amazon.com/emr\" target=\"_blank\">Amazon EMR</a>). MDC evolved in both features and the underlying platform over the past year with a goal to improve TCO, data SLA, and performance. MDC’s customer base grew and the number of sites from customers grew to over 100 in the past couple of years. The increased number of sites needed more compute and storage capacity. This increased infrastructure and operational cost significantly, while introducing increased data latency and lowering the data freshness interval from the cloud.</p>\n<h3><a id=\"How_we_started_10\"></a><strong>How we started</strong></h3>\n<p>MDC evaluated several vendors for their storage and compute capabilities using various measurements: security, performance, scalability, ease of management and operation, reduction of overall cost and increase in ROI, partnership, and migration help (technology assistance). The MDC team saw opportunities to improve the product by using native AWS services such as <a href=\"http://aws.amazon.com/redshift\" target=\"_blank\">Amazon Redshift</a>, <a href=\"https://aws.amazon.com/glue\" target=\"_blank\">AWS Glue</a>, and <a href=\"https://aws.amazon.com/managed-workflows-for-apache-airflow/\" target=\"_blank\">Amazon Managed Workflows for Apache Airflow</a> (Amazon MWAA), which made the product more performant and scalable while reducing operation costs and making it future-ready for advanced analytics and new customer use cases.</p>\n<p>The GE Digital team, comprised of domain experts, developers, and QA, worked shoulder to shoulder with the AWS ProServe team, comprised of Solution Architects, Data Architects, and Big Data Experts, in determining the key architectural changes required and solutions to implementation challenges.</p>\n<h3><a id=\"Overview_of_solution_16\"></a><strong>Overview of solution</strong></h3>\n<p>The following diagram illustrates the high-level architecture of the solution.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/c67838693c054a33952cd8eaf2ba326e_image.png\" alt=\"image.png\" /></p>\n<p>This is a broad overview, and the specifics of networking and security between components are out of scope for this post.</p>\n<p>The solution includes the following main steps and components:</p>\n<p>1.<strong>CDC and log collector</strong> – Compressed CSV data is collected from over 100 Manufacturing Data Sources Proficy Plant Applications and sinked into an <a href=\"http://aws.amazon.com/s3\" target=\"_blank\">Amazon Simple Storage Service</a> (Amazon S3) bucket.<br />\n2.<strong>S3 raw bucket</strong> – Our data lands in Amazon S3 without any transformation, but appropriately partitioned (tenant, site, date, and so on) for the ease of future processing.<br />\n3.<strong>AWS Lambda</strong> – When the file lands in the S3 raw bucket, it triggers an S3 event notification, which invokes <a href=\"http://aws.amazon.com/lambda\" target=\"_blank\">AWS Lambda</a>. Lambda extracts metadata (bucket name, key name, date, and so on) from the event and saves it in <a href=\"https://aws.amazon.com/dynamodb/\" target=\"_blank\">Amazon DynamoDB</a>.<br />\n4.<strong>AWS Glue</strong> – Our goal is now to take CSV files, with varying schemas, and convert them into Apache Parquet format. An AWS Glue extract, transform, and load (ETL) job reads a list of files to be processed from the DynamoDB table and fetches them from the S3 raw bucket. We have preconfigured unified AVRO schemas in the AWS Glue Schema Registry for schema conversion. Converted data lands in the S3 raw Parquet bucket.<br />\n5.<strong>S3 raw Parquet bucket</strong> – Data in this bucket is still raw and unmodified; only the format was changed. This intermediary storage is required due to schema and column order mismatch in CSV files.<br />\n6.<strong>Amazon Redshift</strong> – The majority of transformations and data enrichment happens in this step. <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/c-getting-started-using-spectrum.html\" target=\"_blank\">Amazon Redshift Spectrum</a> consumes data from the S3 raw Parquet bucket and external PostgreSQL dimension tables (through a federated query). Transformations are performed via stored procedures, where we encapsulate logic for data transformation, data validation, and business-specific logic. The Amazon Redshift cluster is configured with concurrency scaling, auto workload management (WLM) with caching, and the latest RA3 instance types.<br />\n7.<strong>MDC API</strong> – These custom-built, web-based, REST API microservices talk on the backend with Amazon Redshift and expose data to external users, business intelligence (BI) tools, and partners.<br />\n8.<strong>Amazon Redshift data export and archival</strong> – On a scheduled basis, Amazon Redshift exports (UNLOAD command) contextualized and business-defined aggregated data. Exports are landed in the S3 bucket as Apache Parquet files.<br />\n9.<strong>S3 Parquet export bucket</strong> – This bucket stores the exported data (hundreds of TBs) used by external users who need to run extensive, heavy analytics and AI or machine learning (ML) with various tools (such as Amazon EMR, <a href=\"http://aws.amazon.com/athena\" target=\"_blank\">Amazon Athena</a>, Apache Spark, and Dremio).<br />\n10.<strong>End-users</strong> – External users consume data from the API. The main use case here is reporting and visual analytics.<br />\n11.<strong>Amazon MWAA</strong> – The orchestrator of the solution, Amazon MWAA is used for scheduling Amazon Redshift stored procedures, AWS Glue ETL jobs, and Amazon Redshift exports at regular intervals with error handling and retries built in.</p>\n<h3><a id=\"Bringing_it_all_together_38\"></a><strong>Bringing it all together</strong></h3>\n<p>MDC replaced both Predix Columnar Store (Cassandra) and Predix Insights (Amazon EMR) with Amazon Redshift for both storage of the MDC data models and compute (ELT). Amazon MWAA is used to schedule the workloads that do the bulk of the ELT. Lambda, AWS Glue, and DynamoDB are used to normalize the schema differences between sites. It was important not to disrupt MDC customers while replatforming. To achieve this, MDC used a phased approach to migrate the data models to Amazon Redshift. They used federated queries to query existing PostgreSQL for dimensional data, which facilitated having some of the data models in Amazon Redshift, while the others were in Cassandra with no interruption to MDC customers. Redshift Spectrum facilitated querying the raw data in Amazon S3 directly both for ETL and data validation.</p>\n<p>75% of the MDC team along with the AWS ProServe team and AWS Solution Architects collaborated with the GE Digital Security Team and Platform Team to implement the architecture with AWS native services. It took approximately 9 months to implement, secure, and performance tune the architecture and migrate data models in three phases. Each phase has gone through a GE Digital internal security review. Amazon Redshift Auto WLM, short query acceleration, and tuning the sort keys to optimize querying patterns improved the Proficy MDC API performance. Because the unload of the data from Amazon Redshift was fast, Proficy MDC is now able to export the data much more frequently to our end customers.</p>\n<h3><a id=\"Conclusion_44\"></a><strong>Conclusion</strong></h3>\n<p>With replatforming, Proficy MDC was able to improve ETL performance by approximately 75%. Data latency and freshness improved by approximately 87%. The solution reduced TCO of the platform by approximately 50%. Proficy MDC was also able reduce the infrastructure and operational cost. Improved performance and reduced latency has allowed us to speed up the next steps in our journey to modernize the enterprise data architecture and hybrid cloud data platform.</p>\n<h4><a id=\"About_the_Authors_48\"></a><strong>About the Authors</strong></h4>\n<p><img src=\"https://dev-media.amazoncloud.cn/f884a914a0eb4a49a89393d6a97df6a8_image.png\" alt=\"image.png\" /></p>\n<p><strong>Jyothin Madari</strong> leads the Manufacturing Data Cloud (MDC) engineering team; part of the manufacturing suite of products at GE Digital. He has 18 years of experience, 4 of which is with GE Digital. Most recently he has been working on data migration projects with an aim to reduce costs and improve performance. He is an AWS Certified Cloud Practitioner, a keen learner and loves solving interesting problems. Connect with him on <a href=\"https://www.linkedin.com/in/jyothinm/\" target=\"_blank\">LinkedIn</a>.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/9dfbdbd1d89e42dd812e1ecf843eca8f_image.png\" alt=\"image.png\" /></p>\n<p><strong>Madhusudhan (Madhu) Muppagowni</strong> is a Technical Architect and Principal Software Developer based in Silicon Valley, Bay Area, California. He is passionate about Software Development and Architecture. He thrives on producing Well-Architected and Secure SaaS Products, Data Pipelines that can make a real impact. He loves outdoors and an avid hiker and backpacker. Connect with him on <a href=\"https://www.linkedin.com/in/madhumuppagowni/\" target=\"_blank\">LinkedIn</a>.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/fa3893fe27d9476bbb2daacb8c248f1d_image.png\" alt=\"image.png\" /></p>\n<p><strong>Ayush Srivastava</strong> is a Senior Staff Engineer and Technical Anchor based in Hyderabad, India. He is passionate about Software Development and Architecture. He has Demonstrated track record of successfully technical anchoring small to large Secure SaaS Products, Data Pipelines from start to finish. He loves exploring different places and he says “I’m in love with cities I have never been to and people I have never met.” Connect with him on <a href=\"https://www.linkedin.com/in/ayush-srivastava-0567551a9/\" target=\"_blank\">LinkedIn</a>.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/9db5a23b121143d59e53e140e2af3d0a_image.png\" alt=\"image.png\" /></p>\n<p><strong>Karen Grygoryan</strong> is Data Architect with AWS ProServe. Connect with him on <a href=\"https://www.linkedin.com/in/kgryg/\" target=\"_blank\">LinkedIn</a>.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/d19e351284854a6aa234b7216db57274_image.png\" alt=\"image.png\" /></p>\n<p><strong>Gnanasekaran Kailasam</strong> is a Data Architect at AWS. He has worked with building data warehouses and big data solutions for over 16 years. He loves to learn new technologies and solving, automating, and simplifying customer problems with easy-to-use cloud data solutions on AWS. Connect with him on <a href=\"https://www.linkedin.com/in/gnanasekaran-kailasam-879b3064/\" target=\"_blank\">LinkedIn</a>.</p>\n"}
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭