Harness Zero Copy knowledge sharing from Salesforce Knowledge Cloud to Amazon Redshift for Unified Analytics – Half 1

This put up is co-authored by Rajkumar Irudayaraj, Sr. Director of Product, Salesforce Knowledge Cloud.

In as we speak’s ever-evolving enterprise panorama, organizations should harness and act on knowledge to gasoline analytics, generate insights, and make knowledgeable choices to ship distinctive buyer experiences. Salesforce and Amazon have collaborated to assist prospects unlock worth from unified knowledge and speed up time to insights with bidirectional Zero Copy knowledge sharing between Salesforce Knowledge Cloud and Amazon Redshift.

In a earlier put up, we confirmed how Zero Copy knowledge federation empowers companies to entry Amazon Redshift knowledge throughout the Salesforce Knowledge Cloud to complement buyer 360 knowledge with operational knowledge. This two-part sequence explores how analytics groups can entry buyer 360 knowledge from Salesforce Knowledge Cloud inside Amazon Redshift to generate insights on unified knowledge with out the overhead of extract, rework, and cargo (ETL) pipelines. On this put up, we cowl knowledge sharing between Salesforce Knowledge Cloud and prospects’ AWS accounts in the identical AWS Area. Half 2 covers cross-Area knowledge sharing between Salesforce Knowledge Cloud and prospects’ AWS accounts.

What’s Salesforce Knowledge Cloud?

Salesforce Knowledge Cloud is a knowledge platform that unifies all your firm’s knowledge into Salesforce’s Einstein 1 Platform, giving each staff a 360-degree view of the client to drive automation, create analytics, personalize engagement, and energy trusted synthetic intelligence (AI). Salesforce Knowledge Cloud creates a holistic buyer view by turning volumes of disconnected knowledge right into a unified buyer profile that’s simple to entry and perceive. This unified view helps your gross sales, service, and advertising groups construct customized buyer experiences, invoke data-driven actions and workflows, and safely drive AI throughout all Salesforce functions.

What’s Amazon Redshift?

Amazon Redshift is a quick, totally managed, petabyte-scale knowledge warehouse service that makes it easy and cost-effective to effectively analyze all of your knowledge utilizing your current enterprise intelligence (BI) instruments. It’s optimized for datasets starting from a couple of hundred gigabytes to petabytes and delivers higher price-performance in comparison with different knowledge warehousing options. With a totally managed, AI-powered, massively parallel processing (MPP) structure, Amazon Redshift makes enterprise decision-making fast and cost-effective. Amazon Redshift Spectrum permits querying structured and semi-structured knowledge in Amazon Easy Storage Service (Amazon S3) with out having to load the information into Redshift tables. Redshift Spectrum integration with AWS Lake Formation permits querying auto-mounted AWS Glue Knowledge Catalog tables with AWS Identification and Entry Administration (IAM) credentials and harnessing Lake Formation for permission grants and entry management insurance policies on Knowledge Catalog views. Salesforce Knowledge Cloud Knowledge sharing with Amazon Redshift leverages AWS Glue Knowledge Catalog help for multi-engine views and Redshift Spectrum integration with Lake Formation.

What’s Zero Copy knowledge sharing?

Zero Copy knowledge sharing permits Amazon Redshift prospects to question buyer 360 knowledge saved in Salesforce Knowledge Cloud with out the necessity for conventional ETL to maneuver or copy the information. As an alternative, you merely join and use the information in place, unlocking its worth instantly with on demand entry to the newest knowledge. Knowledge sharing is supported with each Amazon Redshift Serverless and provisioned RA3 clusters. Knowledge could be shared with a Redshift Serverless or provisioned cluster in the identical Area or with a Redshift Serverless cluster in a distinct Area. To get an outline of Salesforce Zero Copy integration with Amazon Redshift, please seek advice from this Salesforce Weblog.

Answer overview

Salesforce Knowledge Cloud gives a point-and-click expertise to share knowledge with a buyer’s AWS account. On the Lake Formation console, you’ll be able to settle for the information share, create the useful resource hyperlink, mount Salesforce Knowledge Cloud objects as knowledge catalog views, and grant permissions to question the stay and unified knowledge in Amazon Redshift.

The next diagram depicts the end-to-end course of concerned for sharing Salesforce Knowledge Cloud knowledge with Amazon Redshift in the identical Area utilizing a Zero Copy structure. This structure follows the sample documented in Cross-account knowledge sharing greatest practices and concerns.

The information share setup consists of the next high-level steps:

  1. The Salesforce Knowledge Cloud admin creates the information share goal with the goal account for the information share.
  2. The Salesforce Knowledge Cloud admin selects the information cloud objects to be shared with Amazon Redshift and creates a knowledge share.
  3. The Salesforce Knowledge Cloud admin hyperlinks the information share to the information share goal, which invokes the next operations to create a cross-account useful resource share:
    1. Create a Knowledge Catalog view for the Salesforce Knowledge Cloud Apache Iceberg tables by invoking the Catalog API.
    2. Use Lake Formation sharing to create a cross-account Knowledge Catalog share.
  4. Within the buyer AWS account, the Lake Formation admin logs in to the Lake Formation console to simply accept the useful resource share, create a useful resource hyperlink, and grant entry permissions to the Redshift position.
  5. The information analyst launches the Amazon Redshift Question Editor with the suitable position to question the information share and be part of with native Redshift tables.

Stipulations

The next are the stipulations to allow knowledge sharing:

  • A Salesforce Knowledge Cloud account.
  • An AWS account with AWS Glue and Lake Formation enabled.
  • Both a Redshift Serverless or a Redshift provisioned cluster with RA3 occasion sorts (ra3.16xlarge, ra3.4xlarge, ra3.xlplus). Knowledge sharing just isn’t supported for different provisioned occasion sorts like DC2 or DS2 and should be arrange earlier than accessing the information share. When you don’t have an current provisioned Redshift RA3 cluster, we suggest utilizing a Redshift Serverless namespace for ease of operations and upkeep.
  • The Amazon Redshift service should be operating in the identical Area the place the Salesforce Knowledge Cloud is operating.
  • AWS admin roles for Lake Formation and Amazon Redshift:

Create the information share goal

Full the next steps to create the information share goal:

  1. In Salesforce Knowledge Cloud, select App Launcher and select Knowledge Share Targets.
  1. Select New and select Amazon Redshift, then select Subsequent.
  1. Enter the main points for Label, API Identify, and Account for the information share goal.
  2. Select Save.

After you save these settings, the S3 Tenant Folder worth is populated.

  1. Select the S3 Tenant Folder hyperlink and duplicate the verification token.

When you’re not signed in to the AWS Administration Console, you’ll be redirected to the login web page.

  1. Enter the verification token and select Save.

The information share goal turns to lively standing.

Create a knowledge share

Full the next steps to create a knowledge share:

  1. Navigate to the Knowledge Share tab in your Salesforce org.
  2. Select App Launcher and select Knowledge Shares.

Alternatively, you’ll be able to navigate to the Knowledge Share tab out of your org’s dwelling web page.

  1. Select New, then select Subsequent.
  1. Present a label, identify, knowledge house, and outline, then select Subsequent.
  1. Choose the objects to be included within the share and select Save.

Hyperlink the information share goal to the information share

To hyperlink the information share goal to the information share, full the next steps:

  1. On the information share document dwelling web page, select Hyperlink/Unlink Knowledge Share Goal.
  2. Choose the information share goal you wish to hyperlink to the information share and select Save.

The information share should be lively earlier than you’ll be able to settle for the useful resource share on the Lake Formation console.

Settle for the information share in Lake Formation

This part gives the detailed steps for accepting the information share invite and configuration steps to mount the information share with Amazon Redshift.

  1. After the information share is efficiently linked to the information share goal, navigate to the Lake Formation console.

The information share invitation banner is displayed.

  1. Select Settle for and create.

The Settle for and create web page reveals a useful resource hyperlink and gives the choice to arrange IAM permissions.

  1. Within the Principals part, select the IAM customers and roles to grant the default permissions (describe and choose) for the information share useful resource hyperlink.
  1. Select Create.

The useful resource hyperlink created within the earlier step seems subsequent to the AWS Glue database useful resource share on the Lake Formation console.

Question the information share from Redshift Serverless

Launch the question editor for Redshift Serverless and log in as a federated consumer with the position that has describe and choose permissions for the useful resource hyperlink.

The information share tables are auto-mounted, seem below awsdatacatalog, and could be queried as proven within the following screenshot.

Question the information share from the Redshift provisioned cluster

To question the information share from the Redshift provisioned cluster, log in to the provisioned cluster because the superuser.

On an editor tab, run the next SQL assertion to grant an IAM consumer entry to the Knowledge Catalog:

GRANT USAGE ON DATABASE awsdatacatalog to "IAM:myIAMUser"

IAM:myIAMUser is an IAM consumer that you simply wish to grant utilization privilege to the Knowledge Catalog. Alternatively, you’ll be able to grant utilization privilege to IAMR:myIAMRole for an IAM position. For extra particulars, seek advice from Querying the AWS Glue Knowledge Catalog.

Log in because the consumer with the position from the earlier step utilizing momentary credentials.

You need to have the ability to increase awsdatacatalog and question the information share tables as proven within the following screenshot.

Conclusion

Zero Copy knowledge sharing between Salesforce Knowledge Cloud and Amazon Redshift represents a big development in how organizations can use their buyer 360 knowledge. By eliminating the necessity for knowledge motion, this strategy provides real-time insights, lowered prices, and enhanced safety. As companies proceed to prioritize data-driven decision-making, Zero Copy knowledge sharing will play an important position in unlocking the total potential of buyer knowledge throughout platforms.

This integration empowers organizations to interrupt down knowledge silos, speed up analytics, and drive extra agile customer-centric methods. To study extra, seek advice from the next assets:


In regards to the Authors

Rajkumar Irudayaraj is a Senior Product Director at Salesforce with over 20 years of expertise in knowledge platforms and companies, with a ardour for delivering data-powered experiences to prospects.

Jason Berkowitz is a Senior Product Supervisor with AWS Lake Formation. He comes from a background in machine studying and knowledge lake architectures. He helps prospects develop into data-driven.

Ravi Bhattiprolu is a Senior Companion Options Architect at AWS. Ravi works with strategic ISV companions, Salesforce and Tableau, to ship modern and well-architected merchandise & options that assist joint prospects obtain their enterprise and technical goals.

Avijit Goswami is a Principal Options Architect at AWS specialised in knowledge and analytics. He helps AWS strategic prospects in constructing high-performing, safe, and scalable knowledge lake options on AWS utilizing AWS managed companies and open supply options. Exterior of his work, Avijit likes to journey, hike, watch sports activities, and take heed to music.

Ife Stewart is a Principal Options Architect within the Strategic ISV phase at AWS. She has been engaged with Salesforce Knowledge Cloud over the past 2 years to assist construct built-in buyer experiences throughout Salesforce and AWS. Ife has over 10 years of expertise in know-how. She is an advocate for range and inclusion within the know-how area.

Michael Chess is a Technical Product Supervisor at AWS Lake Formation. He focuses on bettering knowledge permissions throughout the information lake. He’s obsessed with making certain prospects can construct and optimize their knowledge lakes to satisfy stringent safety necessities.

Mike Patterson is a Senior Buyer Options Supervisor within the Strategic ISV phase at AWS. He has partnered with Salesforce Knowledge Cloud to align enterprise goals with modern AWS options to realize impactful buyer experiences. In his spare time, he enjoys spending time together with his household, sports activities, and out of doors actions.

Leave a Reply

Your email address will not be published. Required fields are marked *