reference deployment

Salesforce Connect Adapter for GraphQL on AWS

Connect Salesforce to Amazon Aurora databases without copying or syncing data

This Partner Solution deploys Salesforce Connect Adapter for GraphQL in the Amazon Web Services (AWS) Cloud. It helps Salesforce developers to use data from Amazon Aurora without copying and storing the data in Salesforce.

The solution connects Salesforce to Aurora using AWS AppSync. To access Aurora data from Salesforce, the solution uses the Salesforce external-objects subsystem to invoke the Salesforce Connect adapter for GraphQL. The adapter translates requests into GraphQL queries, which it sends to the GraphQL API endpoint hosted on AWS AppSync.

Salesforce logo

This Partner Solution was developed by Salesforce in collaboration with AWS. Salesforce is an AWS Partner.

  •  What you'll build
  • This Partner Solution sets up the following:

    • A highly available architecture that spans two Availability Zones.*
    • A virtual private cloud (VPC) configured with public and private subnets, according to AWS best practices, to provide you with your own virtual network on AWS.*
    • AWS AppSync to host a public GraphQL API endpoint.
    • An AWS Lambda function to serve as a GraphQL resolver. It converts GraphQL requests to SQL queries and runs the queries on the Amazon Aurora database.
    • In the public subnets, managed NAT gateways to allow outbound internet access for resources in the private subnets.*
    • In the private subnets, Aurora database instances. During deployment, you choose Aurora PostgreSQL-Compatible or Aurora Serverless v1 editions.
    • AWS Secrets Manager to store credentials for the Aurora database.
    • Parameter Store, a capability of AWS Systems Manager, to store parameters.
    • An Amazon Simple Storage Service (Amazon S3) bucket to store deployment artifacts. 

    * The template that deploys this Partner Solution into an existing VPC skips the components marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To deploy this Partner Solution, follow the instructions in the deployment guide, which includes these steps.

    1. Sign in to your AWS account. If you don't have an account, sign up at
    2. Subscribe to a Salesforce edition and Salesforce Connect add-on.
    3. Launch the Partner Solution. The stack takes about 30 minutes to deploy. Before you create the stack, choose the AWS Region from the top toolbar. Choose one of the following options:
    4. Complete postdeployment steps.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Costs and licenses
  • This solution requires a subscription to a Salesforce edition and one or more Salesforce Connect add-ons. For more information about Salesforce editions, refer to Sales Cloud Pricing. Contact a Salesforce account executive for more information about purchasing add-ons. You can sign up for a developer edition at or Trailhead, the Salesforce learning platform.

    You are responsible for the cost of the AWS services and any third-party licenses used while running this solution. There is no additional cost for using the solution.

    This solution includes configuration parameters that you can customize. Some of these settings, such as instance type, affect the cost of deployment. For cost estimates, refer to the pricing pages for each AWS service you use. Prices are subject to change.

    Tip: After you deploy a solution, create AWS Cost and Usage Reports to track associated costs. These reports deliver billing metrics to an Amazon Simple Storage Service (Amazon S3) bucket in your account. They provide cost estimates based on usage throughout each month and aggregate the data at the end of the month. For more information, refer to What are AWS Cost and Usage Reports?