Free cookie consent management tool by TermsFeed

Configure Outbound Access over AWS PrivateLink

On This Page

This page applies to Appian Cloud only. It may not reflect the differences with Appian Government Cloud.

This page documents how to configure an Appian Cloud environment to access your resources through AWS PrivateLink. For an overview of integrating with Appian Cloud using AWS PrivateLink, see AWS PrivateLink integration with Appian Cloud.

Outbound access over AWS PrivateLink lets an Appian Cloud environment privately connect to resources in your own AWS environment, such as databases or authentication systems, without traversing the public internet.

To integrate with PrivateLink, the Appian Cloud VPC is configured as the service consumer connecting to your resource through an interface VPC endpoint.

You can connect to the following types of services:

Any created PrivateLink resources are locked down within Appian Cloud to only be accessible to your Appian environments. Access will default to a single environment, but you may have your other environments added to created VPC endpoints upon request.

  • You can create no more than 20 VPC endpoints across all of your Appian Cloud environments. The limit should be kept in mind as you design your integrations and services within your AWS account. For a related design consideration, see Connect to multiple services over PrivateLink.
  • While VPC endpoint policies can be used to restrict the use of your endpoints, these policies are not supported for use with Appian Cloud integrations. It is your responsibility to securely configure your services using alternative means.
  • Gateway endpoints are not supported.
  • Appian Cloud supports inbound access via PrivateLink using a different set of configurations, because the nature of AWS PrivateLink is inherently unidirectional. See the Access an Appian Cloud Environment Using AWS PrivateLink documentation for more details.

DNS hostname rules

The DNS hostname is the name your Appian Cloud environments use to reference your service over PrivateLink. Appian resolves this hostname to the IP address of the interface VPC endpoint's Elastic Network Interface (ENI). The hostname must follow these rules:

  • The hostname must not be publicly resolvable. The only exception is when you connect to an AWS managed service, where AWS-provided publicly resolvable hostnames are supported.
  • The hostname must not be equivalent to, nor a subset of, the AWS default endpoint service name with which the VPC endpoint connects.
  • The hostname must be unique per interface VPC endpoint on a site. A single hostname cannot be assigned to more than one interface VPC endpoint on the same Appian Cloud site.
  • Wildcard hostnames, such as *.example.com, are supported.
  • Hostnames must be lowercase.
  • Single-tier domains, e.g. 1234 or abcd are not supported.
  • Special characters are not supported.

Caution:  Outbound PrivateLink hostnames must not overlap with hostname configurations for VPN or Cloud Secure Link.

Managed services inside your own VPC

You can create a VPC endpoint service inside your own VPC, acting as the service provider, to expose your resources. The following diagram shows the end-to-end traffic flow. In this example, the Appian Cloud environment forwards requests to the interface VPC endpoint over a private connection to your VPC endpoint service. In your VPC, this traffic is received by the Network Load Balancer (NLB) and routed to your service.

Diagram showing an Appian Cloud environment forwarding a request to an interface VPC endpoint in the Appian Cloud VPC, which connects over PrivateLink to a VPC endpoint service in the customer VPC, where a Network Load Balancer routes the traffic to the customer's service.

If your VPC endpoint service is enabled on multiple availability zones, you are required to enable Cross Zone Load Balancing on your NLB. Appian Cloud will configure the VPC interface endpoints in each of the availability zones that the endpoint service advertises.

AWS managed services

You may also want to use PrivateLink to connect to supported AWS managed services. Work with your internal AWS team to configure and secure your AWS resources so that they can be accessed via the PrivateLink connection. When updating your support case, use the managed service "service name" in your support case notes.

Below are example AWS managed services that can be connected to Appian Cloud. This list is not comprehensive, nor does it prescribe how you should configure your endpoint service. We strongly recommend that you conduct your own tests on your test and development Appian environments prior to implementing these configurations in production.

Amazon Simple Storage Service (S3) support

PrivateLink can be configured to connect to your Amazon S3 Endpoint, com.amazonaws.region.s3. Ensure that access to your S3 bucket is securely configured.

Amazon Relational Database Service (RDS) support

You can create a PrivateLink connection using the RDS Endpoint Service to perform RDS API operations.

If you need to integrate with RDS using database-specific commands, you'll need to employ one of many workarounds to create a VPC endpoint service in your VPC because RDS cannot be configured behind a Network Load Balancer. You can attempt the following options:

  • Using a private IP address of the RDS environment: RDS does not support static IPs; however, an IP address can be obtained through a DNS lookup of the RDS FQDN. A private IP from this lookup can then be utilized as a target for the Network Load Balancer that will be configured as part of the creation of a VPC endpoint service. However, it should be noted that AWS does not guarantee this IP remains associated with the RDS environment; in the case of a server failure, AWS may change the IP address of the RDS environment, therefore losing connectivity from the Network Load Balancer.
  • Using a proxy EC2 environment(s): Forward proxies can be utilized to connect to your RDS environment indirectly. The traffic flow in this case would be Network Load Balancer > EC2 environment(Proxy) > RDS environment. In this case, the DNS name can be referenced from the proxy server rather than using a private IP address directly; however, you would have the added cost of the EC2 environment(s) and possible performance degradation depending on a variety of factors such as the computing power of the proxy server(s).
  • Using an AWS Lambda function: In this approach, you would need to set up a Lambda function which runs a DNS lookup of the RDS environment, similar to the private IP address approach. However, this lambda function would have the added responsibility of adding the set of IPs to an S3 bucket and deregistering stale targets from the Network Load Balancer. This way, the downside of the private IP address approach can be mitigated. Reference this AWS blog on how a similar setup worked for an Application Load Balancer (in this case RDS).

The examples in the following sections show common outbound PrivateLink architectures.

AWS PrivateLink does not support connecting a single PrivateLink interface VPC endpoint to multiple services. If you want to connect to multiple services, consider using an Application Load Balancer-type Target Group for Network Load Balancer. This approach enables you to minimize the number of endpoint services you'll need to connect to your Appian Cloud environments. Work with your internal AWS team to consolidate and route requests to your services.

Alternatively, configure a PrivateLink connection to each endpoint service. Your environments can reuse this PrivateLink connection once it's established.

High Availability (HA) Appian Cloud environment integrated with an AWS-hosted service

You can use PrivateLink to connect your Appian Cloud High Availability environment with your external resources. An Appian Cloud HA environment is composed of three nodes distributed across three different Availability Zones. The application server running on each node forwards requests to a single VPC interface endpoint located in the Appian Cloud VPC. From there, the traffic is routed to the customer's service in the same fashion as described in the architecture section.

Diagram showing a three-node Appian Cloud High Availability environment spread across three Availability Zones, where each node's application server forwards requests to a single interface VPC endpoint in the Appian Cloud VPC that routes over PrivateLink to the customer's service.

Multiple Appian Cloud environments integrated with an AWS-hosted service

The following example shows two Appian Cloud environments, Production and Development, forwarding requests to a customer's service over PrivateLink. The request originates from the Appian Cloud environment, which is routed over the interface VPC endpoint, to the customer's NLB. In this case, the customer has configured their NLB to distribute traffic between two different EC2 instances hosted in separate availability zones.

Diagram showing two Appian Cloud environments, Production and Development, forwarding requests over PrivateLink through an interface VPC endpoint to the customer's Network Load Balancer, which distributes traffic between two EC2 instances in separate Availability Zones.

External systems accessed through AWS Direct Connect

You may also use PrivateLink together with your own AWS Direct Connect to expose your systems to your Appian Cloud environments. Rather than forwarding traffic from the NLB directly to an AWS hosted service, you may configure your NLB with the target private IP address of your resource behind AWS Direct Connect.

Once traffic is received by the NLB, traffic can be routed through the virtual private gateway linked to your AWS Direct Connect. With this connection model, requests can be made directly to a service hosted in your private network without traversing the internet. The exact traffic flow depends on the architecture of your network.

Diagram showing an Appian Cloud environment connecting over PrivateLink to a customer Network Load Balancer, which routes traffic through a virtual private gateway and AWS Direct Connect to a resource in the customer's private network.

The following prerequisites are not necessary to connect to a supported AWS managed service. To connect with one of these, open a support case and specify the service name that is provided in the AWS documentation for that managed service.

Prerequisite steps Description Organizational role
1 Create a VPC endpoint service This service must be created in the same AWS region as your Appian Cloud environments. To create a VPC endpoint service, follow the steps here. Your AWS Administrator
2 Allow principals Upon creation of a VPC endpoint service, Appian will need access to send connection requests to the endpoint service. This can be achieved by adding IAM principals to the allowed principals list. You may add an entry of `*` to allow connection requests from any principal. The connection request from Appian can then be manually approved. Alternatively, you may request Appian Support to provide a specific principal to allow. Your AWS Administrator
3 Configure auto accept Your VPC endpoint service will need to automatically accept connection requests. To set up your VPC endpoint service to automatically accept connection requests, follow the steps in the AWS documentation to Configure an endpoint service. Your AWS Administrator
4 Create a support case Open a support case with Appian Support. Include the following information:
  • Use case: The type of service you are integrating with, such as LDAP or a data source.
  • Service name: The AWS-provided service name generated when creating the VPC endpoint service.
    • Example: com.amazonaws.vpce.us-east-1.vpce-svc-1234
  • Hostname: The hostname that will be used when referencing this service in your Appian Cloud environments. The DNS hostname must be unique, must not be a subset of the AWS default endpoint service name, and must not be publicly resolvable unless you are connecting to an AWS managed service. Wildcards are supported. For details, see the DNS hostname rules. This configuration is required.
  • Allowed principals: You must provide confirmation that you have added * to the allowed principals list, or request for a specific principal to allow in the support case.
Your Business Relationship Owner

After you complete the prerequisite steps, Appian Support will work with you through the following configuration procedure.

Note:  We recommend testing on lower environments prior to elevating to production usage.

Configuration Action Description Owner
1 Create VPC endpoint Appian will create a VPC endpoint to connect to the VPC endpoint service you have provided. Appian
2 Provide endpoint-specific DNS hostname The hostname that will be used when referencing this service in your Appian Cloud environments. The DNS hostname must follow the DNS hostname rules. This configuration is required. Appian
3 Schedule a maintenance window for the affected environments Appian Support will work with you to schedule maintenance windows for the affected environments once the request has been accepted. The changes will be applied during this window. Appian
4 Update Admin Console to use new configurations Admin Console updates may be required to begin integrating with the new endpoint service. You may need to make updates to pre-existing configurations using the new DNS hostnames resolving to PrivateLink. Alternatively, you may need to create new entries for brand new integrations. Your Business Relationship Owner
5 Verify the integration works as expected Appian Support will work with you to ensure connectivity to your resources is working as expected. Appian / Your Business Relationship Owner

Handle server-side authentication

PrivateLink does not inherently encrypt traffic. To enhance your application level security, some implementations may employ encryption. Depending on the implementation, these clients may perform server-side authentication, such as HTTPS, TLS, or LDAPS, to prove the identity of the server to the client. This type of authentication may require the caller to reference your resource using a valid DNS hostname that matches the server certificate. This should be the same DNS hostname you provided in the support case to associate with your VPC endpoint.

In these cases, the certificate on your resource server will need to be trusted by a public certificate authority. Alternatively, in some implementations, you may be able to disable server certificate validation while still encrypting traffic; however, this is not recommended as your environment would still be susceptible to a man-in-the-middle attack to circumvent the encryption.

Using the hostname provided via the support case, Appian will resolve any calls to the provided hostname to an Appian Cloud interface VPC endpoint ENI IP address. This will allow any requests destined to that particular hostname to resolve directly to an ENI without traversing the internet. It is required that you enable Cross Zone Load Balancing on your NLB to ensure traffic is load balanced among your instances correctly.

If you have purchased Enhanced Business Continuity, Appian supports the ability to pre-configure backup outbound PrivateLink connections for your secondary Appian Cloud region. A pre-configured PrivateLink can connect to either of the following:

  • A backup endpoint service in your secondary AWS region.
  • The main endpoint service in your primary AWS region using cross-region PrivateLink.

If the backup connection shares the same private DNS hostname as the primary connection, failover to the backup connection is seamless—no changes to your integration endpoints in Appian are required. However, a single hostname cannot be assigned to more than one interface VPC endpoint on the same Appian Cloud site. If you configure both of the following connectivity patterns, one must use a different hostname from your primary connection, and switching to it will require an update to your integration endpoints.

Failover connection to your secondary region

Appian Support can pre-configure a failover PrivateLink in your secondary Appian Cloud region using the same hostname as your primary connection. After your site fails over to a new region, it automatically routes traffic to your failover endpoint service without any updates to your integration endpoints in Appian.

Diagram showing a pre-configured failover PrivateLink connection from the secondary Appian Cloud region to a backup endpoint service in the customer's secondary AWS region, using the same DNS hostname as the primary connection.

Requirements for a secondary-region failover connection

To pre-configure a PrivateLink connection to your secondary region in Appian Cloud, you must adhere to the following requirements:

  1. Endpoint Service Availability: The target endpoint service in your secondary AWS region is able to accept connections prior to requesting a failover connection.
  2. Resource Availability: The resources behind your target endpoint service are available.

Set up the secondary-region failover connection

To set up a pre-configured standby connection, the following steps are required:

Action Description Owner
1 Provision failover resources Ensure that you have deployed a failover VPC endpoint service pointing to the same logical resource in your secondary AWS region. Follow the steps as outlined in the prerequisites to ensure your failover endpoint service can accept connections. Your AWS Administrator
2 Create a support case Open a support case with Appian Support, providing the service name for both your primary and failover endpoint services. Your Business Relationship Owner
3 Pre-configure the failover connection Appian will create a new VPC endpoint in your secondary Appian Cloud region using the same hostname as your primary connection. Appian

Failover connection to your primary region

Appian Support can pre-configure a failover PrivateLink in your secondary Appian Cloud region that connects cross-region to your primary VPC endpoint service, using the same hostname as your primary connection.

Diagram showing a cross-region failover PrivateLink connection from the secondary Appian Cloud region to the primary endpoint service in the customer's primary AWS region, using the same DNS hostname as the primary connection.

Requirements for a cross-region failover connection

To use cross-region PrivateLink connectivity in Appian Cloud, you must adhere to the following requirements:

  • Endpoint Service Availability: The target endpoint service in your primary AWS region is able to accept connections from your secondary AWS region prior to requesting a failover connection.
  • Resource Availability: The resources behind your target endpoint service are available.
  • Non-permanent Connectivity: Cross-region PrivateLink cannot be used for steady-state integration traffic. This functionality is intended for standby/failover purposes only.

Cross-region failover connection considerations

  • Failover considerations: If you have already configured a failover connection to your secondary region, the cross-region connection must use a different DNS hostname. The same hostname cannot be shared across both connection patterns.
    • In this scenario, switching to the cross-region connection during a failover event will require updates to your integration endpoints in Appian.
  • Supported regions: Appian will only configure cross-region connectivity between your primary and secondary regions for Enhanced Business Continuity. Connections to any other AWS regions are not supported.

Set up the cross-region failover connection

To set up a pre-configured standby cross-region connection, complete the following steps:

Action Description Owner
1 Configure your resources for cross-region traffic Configure your existing VPC endpoint service to accept cross-region traffic from your secondary Appian Cloud region. Your AWS Administrator
2 Create a support case Open a support case with Appian Support, providing the service name for your primary endpoint service. Your Business Relationship Owner
3 Pre-configure the cross-region connection Appian will create a cross-region interface VPC endpoint in your secondary Appian Cloud using the same DNS hostname as your primary connection. Appian

Feedback