Simplifying AWS EC2 with Cloud Connector installation & SAP DP Agent Integration with BTP

Estimated read time 9 min read

Hi Folks,

This blog demonstrates how to create an AWS EC2 instance, configure storage using LVM, install SAP Cloud Connector and Data Provisioning (DP) Agent, and integrate DP agent with SAP Business Technology Platform (BTP) trial account. This setup is ideal for learning and proof-of-concept scenarios.

1.        Overview

We are planning to show you end to end AWS server creation along with mount point creation, and installation of SAP DP & Cloud connector installation, and after that we have configured these systems with BTP free trial account.

Aws trial account — https://aws.amazon.com/free/

BTP trial account — SAP BTP Cockpit

2.        AWS EC2 instance creation

As per SAP standard we can only choose SUSE & RHEL image.

Key pair is necessary to generate if you want to access EC2 instance via public ip, other wise server will not authenticate you.

Either you can select existing security group or create new SG

Attach disk as per your requirements

EC2 instance created

To download media and upload into the server we have configure S3 bucket.

3.        S3 bucket Creation

Simply goto S3 and create by selecting create button and enter bucket name and leave all the filled as it is.

4.        Attach IAM role to EC2 instance

To connect S3 bucket with EC2 instance we must attached IAM role to EC2 instance.

Role:

Via Attaching this role we are enabling Connection of S3 bucket with EC2 instance.

5.        Creation of file system

We have used LVM for file system creation, LVM (Logical Volume Manager) is a disk management system in Linux that provides a flexible way to manage storage compared to traditional partitions.

 5.1 validate that separate disk is attach or not via lsblk cmd

PV = Bricks

VG = A big wall built with those bricks

LV = Windows or doors cut out of the wall

5.2   created physical volume pvcreate

5.3 Create Volume group VG

Now we created vg (volume group) from the above pv and validated from vgs command.

5.4 Create LV, Logical Volume

Now we have created lv volume as per our filesystem needUsrsap – /usr/sap – sap filesystemOptsapscc – /opt/sap/scc – cloud connector installation

5.5 Disk Formating by mkfs command

Run mkfs command as per below screenshots for all the logical volumes that we need to create

Blkid – to check disk formatting

5.6 Maintain entry in Fstab to get the mount permanent

Now maintain fstab entry as per blkid

5.6 Creation folder creation and mount point creation

                Mkidr -p /foldername

                Mount -a

6.        Cloud Connector installation
           6.1 Download media from S3:

We have already downloaded media and uploaded in S3 that we have created earlier.

           6.2 Installation of jvm

(before installing cloud connector we have to install jvm)

           6.3 Installation of Cloud connector

7.        Installation of DP agent

Creating logical volume and disk formatting

Maintaing in fstab

7.1 Creating filesystem for DP agent

7.2 Copying media from S3 to local mount point

7.3 Creating os user for the installation

7.4 Installing libraries

Once required libraries are installed you can start DP agent installation.

8.        BTP trial account

https://account.hanatrial.ondemand.com/trial/#/home/trial

8.1 Assign role in your BTP user

This is the first thing we have to complete when we are trying to configure CC or DP agent from BTP.

Cloud Connector Admin role for CC configuration with BTP subaccount.

To install SAP hana cloud admin we need SAP HANA Cloud Admin.

8.2 Create hana cloud instance service

Click on the hana cloud

From there you can create an instance

8.3 Enable DP agent & cloud connector

To configure DP agent, you should enable DP agent, you can do this either during the instance creation or you can also enable after instance creation as well by manage configuration.

And all IP addresses for better connectivity

BTP hana instance created

8.4 Create Technical user for DP agent registration

HANA User Name for Agent Messaging – Technical user as per your requirements, refer to SAP help guide for user creation, roles, and privileges.

https://help.sap.com/docs/HANA_SMART_DATA_INTEGRATION/018757bb7f5c4700a8840976c8730f34/1e648c93d82f4…

8.5 Allow all inbound ips from DP agent server.

8.6 DP agent configuration with BTP Hana cloud instance

Purpose of DP agent:

Setting Up and Configuring the Data Provisioning Agent to Connect

Start agent cli tool from DP agent server.

Agent cli tool connected with the HANA cloud instance as per above screenshot, now try to register agent.

Check agent status, if everything is correct you will see green status as per below screenshot.

Check agent info from hana cloud instance as well.

So till this part we have configured DP agent with hana cloud instance, now if you wants to replicate data from backend abap systems then you have to configure by creating remote source, for better understanding check this blog.

Transferring data from On-Premise SAP HANA to SAP … – SAP Community

9.        Cloud connector configuration with BTP subaccounts.

SAP Cloud Connector is an optional on-premise component that establishes a secure communication link between customer’s on-premise network and SAP Business Technology Platform or SAP S/4HANA Cloud.

Conclusion

You now have a fully functional setup integrating AWS infrastructure with SAP BTP trial using DP Agent. This foundation enables secure connectivity and data provisioning for SAP HANA Cloud.

 

​ Hi Folks,This blog demonstrates how to create an AWS EC2 instance, configure storage using LVM, install SAP Cloud Connector and Data Provisioning (DP) Agent, and integrate DP agent with SAP Business Technology Platform (BTP) trial account. This setup is ideal for learning and proof-of-concept scenarios.1.        OverviewWe are planning to show you end to end AWS server creation along with mount point creation, and installation of SAP DP & Cloud connector installation, and after that we have configured these systems with BTP free trial account.Aws trial account — https://aws.amazon.com/free/BTP trial account — SAP BTP Cockpit2.        AWS EC2 instance creationAs per SAP standard we can only choose SUSE & RHEL image.Key pair is necessary to generate if you want to access EC2 instance via public ip, other wise server will not authenticate you.Either you can select existing security group or create new SGAttach disk as per your requirementsEC2 instance createdTo download media and upload into the server we have configure S3 bucket.3.        S3 bucket CreationSimply goto S3 and create by selecting create button and enter bucket name and leave all the filled as it is.4.        Attach IAM role to EC2 instanceTo connect S3 bucket with EC2 instance we must attached IAM role to EC2 instance.Role:Via Attaching this role we are enabling Connection of S3 bucket with EC2 instance.5.        Creation of file systemWe have used LVM for file system creation, LVM (Logical Volume Manager) is a disk management system in Linux that provides a flexible way to manage storage compared to traditional partitions. 5.1 validate that separate disk is attach or not via lsblk cmdPV = BricksVG = A big wall built with those bricksLV = Windows or doors cut out of the wall5.2   created physical volume pvcreate5.3 Create Volume group VGNow we created vg (volume group) from the above pv and validated from vgs command.5.4 Create LV, Logical VolumeNow we have created lv volume as per our filesystem needUsrsap – /usr/sap – sap filesystemOptsapscc – /opt/sap/scc – cloud connector installation5.5 Disk Formating by mkfs commandRun mkfs command as per below screenshots for all the logical volumes that we need to createBlkid – to check disk formatting5.6 Maintain entry in Fstab to get the mount permanentNow maintain fstab entry as per blkid5.6 Creation folder creation and mount point creation                Mkidr -p /foldername                Mount -a6.        Cloud Connector installation           6.1 Download media from S3:We have already downloaded media and uploaded in S3 that we have created earlier.           6.2 Installation of jvm(before installing cloud connector we have to install jvm)           6.3 Installation of Cloud connector7.        Installation of DP agentCreating logical volume and disk formattingMaintaing in fstab7.1 Creating filesystem for DP agent7.2 Copying media from S3 to local mount point7.3 Creating os user for the installation7.4 Installing librariesOnce required libraries are installed you can start DP agent installation.8.        BTP trial accounthttps://account.hanatrial.ondemand.com/trial/#/home/trial8.1 Assign role in your BTP userThis is the first thing we have to complete when we are trying to configure CC or DP agent from BTP.Cloud Connector Admin role for CC configuration with BTP subaccount.To install SAP hana cloud admin we need SAP HANA Cloud Admin.8.2 Create hana cloud instance serviceClick on the hana cloudFrom there you can create an instance8.3 Enable DP agent & cloud connectorTo configure DP agent, you should enable DP agent, you can do this either during the instance creation or you can also enable after instance creation as well by manage configuration.And all IP addresses for better connectivityBTP hana instance created8.4 Create Technical user for DP agent registrationHANA User Name for Agent Messaging – Technical user as per your requirements, refer to SAP help guide for user creation, roles, and privileges.https://help.sap.com/docs/HANA_SMART_DATA_INTEGRATION/018757bb7f5c4700a8840976c8730f34/1e648c93d82f4…8.5 Allow all inbound ips from DP agent server.8.6 DP agent configuration with BTP Hana cloud instancePurpose of DP agent:Setting Up and Configuring the Data Provisioning Agent to ConnectStart agent cli tool from DP agent server.Agent cli tool connected with the HANA cloud instance as per above screenshot, now try to register agent.Check agent status, if everything is correct you will see green status as per below screenshot.Check agent info from hana cloud instance as well.So till this part we have configured DP agent with hana cloud instance, now if you wants to replicate data from backend abap systems then you have to configure by creating remote source, for better understanding check this blog.Transferring data from On-Premise SAP HANA to SAP … – SAP Community9.        Cloud connector configuration with BTP subaccounts.SAP Cloud Connector is an optional on-premise component that establishes a secure communication link between customer’s on-premise network and SAP Business Technology Platform or SAP S/4HANA Cloud.ConclusionYou now have a fully functional setup integrating AWS infrastructure with SAP BTP trial using DP Agent. This foundation enables secure connectivity and data provisioning for SAP HANA Cloud.   Read More Technology Blog Posts by SAP articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author