Integrating Megaport with SAP on AWS

You can use Megaport to create an AWS Direct Connect Layer 2 connection between your on-premises or colocation-based infrastructure and your SAP environment on AWS. You can also use Direct Connect to connect to a cloud-only instance of SAP on AWS. 

Before you begin, ensure that you have created a Megaport connection, or Megaport. After you create the Megaport, you can connect a Virtual Cross Connect (VXC) from the port to the virtual gateway associated with the AWS VPC infrastructure. A VXC is a point-to-point Ethernet connection between an A-End (your Megaport) and a B-End (in this case, your SAP on AWS instance).

If you aren’t a Megaport customer, you can create a 1 Gbps or 10 Gbps Megaport in one of our global data centers/points of presence. If your company isn’t located in one of our PoPs, you can procure a last mile circuit to one of the sites to connect to Megaport. Contact Megaport for more information. 

Note: If you require a Megaport in a different location to physically separate this solution from other existing traffic traversing your Megaports, we recommend that you create a new one before proceeding. 

To integrate Megaport with SAP on AWS

  1. Create an instance of SAP on AWS.
    For details, see SAP on AWS Overview and Planning.
  2. In the Megaport portal, go to the Services page and select the port you want to use.

If you haven’t already created a port, see Creating a Megaport.

  1. Add an AWS connection for the port.

If this is the first connection for the port, click the AWS tile. The tile is a shortcut to the configuration page. Alternatively, click +Connection, click Cloud, and click AWS.

  1. For AWS Connection Type, click Hosted VIF or Hosted Connection and click Next

For this example, we will click Hosted VIF.

Next, you’ll create a new VXC.

  1. In the Select Destination Port list, select the AWS region and the interconnection point for your connection and click Next.

You can use the Country filter to narrow the selection.

  1. Specify these connection details:
    • Name your connection – The name of your VXC to be shown in the Megaport Portal. (Tip – match this to the VXC name on the next screen for easy mapping)
    • Invoice Reference – This is an optional field. It can be any text, such as a PO number or billing reference number.
    • Rate Limit – The speed of your connection in Mbps. Accepted values range from 1 Mbps to 5 Gbps in 1 Mbps increments. Note the sum of all hosted virtual VXCs to a service can exceed the port capacity (1 or 10 Gpbs) but the total aggregate will never burst beyond the port capacity.
    • Preferred A-End VLAN – Optionally, specify an unused VLAN ID for this connection. This must be a unique VLAN ID on this port and can range from 2 to 4090. If you specify a VLAN ID that is already in use, Megaport will assign the next closest available value. If you don’t specify a value, Megaport will assign one.

  1. Click Next.
  2. Specify the cloud details.
    • Select Private This refers to your destination within the AWS cloud infrastructure, either Public or Private resources. For this example, choose Private.
    • AWS Connection Name – This is a text field and will be the name of your virtual interface that appears in the AWS console. For easy mapping, use the same name for this field as you did for the VXC name on the previous screen.
    • AWS Account ID – This is the ID of the account you want to connect. You can find this value in the Account Settings section of your AWS console.
    • Customer ASN – Your networks Autonomous System Number. For Private Direct Connects, this must be a private ASN and the supported private ASN range is 64512 – 65535. 
    • BGP Auth Key – Optional field allowing you to specify the BGP MD5 key. If you leave this blank, Megaport negotiates a key automatically for you with AWS which will be displayed in the Megaport Portal. (The key is not displayed in the AWS console.)
    • Customer IP Address – The IP Address space (in CIDR format) you will use on your network for peering. For private connections, this field is optional and if left blank, Megaport assigns a private /30 address. 
    • Amazon IP Address – The IP address space in CIDR format assigned in the AWS VPC network for peering. For private connections, this field is optional and if left blank, Megaport automatically assigns a private /30 address. 

  1. Click Next.
  2. Click Add VXC.

  1. Click Order.

  1. Click Order Now.
  1. Connect the new VXC to the SAP on AWS instance.

In approximately 2 minutes, log in to your AWS account. The VIF will appear in your Direct Connect under Virtual Interfaces. Accept the VIF and attach it to either a Virtual Gateway (VGW) or a Direct Connect Gateway (DGW), depending on your particular solution’s design.  


To achieve redundancy for the connectivity portion of this solution, you can establish additional VXCs to the AWS environment. For additional physical redundancy, you can implement the VXCs on separate Megaports.

Background information

Planning for deployment of SAP on AWS

SAP on AWS can be operated as a hybrid model with on-premises (global) and cloud resources working in tandem or entirely as a cloud-based solution. 

This figure shows a hybrid solution showing the QAS, DEV, and SAP test, training and Sandbox environment in the AWS cloud. As shown here, the VPC can connect to a wide array of AWS resources. The on-premise infrastructure is connected to the AWS cloud via a Direct Connect Layer 2 connection, enabled through Megaport. 


For details on how to migrate, implement, configure, and operate SAP solutions on AWS:

©2020 Megaport. Megaport, Virtual Cross Connect, VXC and MegaIX are registered trademarks of Megaport (Services) Pty Ltd ACN 607 432 646.

Log in with your credentials

Forgot your details?