Skip to Content
Technical Articles
Author's profile photo Yogananda Muthaiah

How to access an BTP Object Store – AWS S3 bucket from Local desktop

Dear All,

To upload the files into an S3 bucket, there is other recommend way is using a desktop tool that will preserve the directory structure and will recover if your network connection is interrupted.

Amazon S3 (Simple Storage Service) is a cloud storage service that allows users to store and retrieve any amount of data, at any time, from anywhere on the web. S3 buckets are a popular storage option for businesses and individuals because they offer scalable, low-cost storage for a wide variety of use cases.

Object Store on SAP BTP

Store and manage the blobs/objects on SAP BTP.

Overview of Object store

Object Store service on SAP BTP lets you store and manage objects, which involves creation, upload, download, and deletion. This service is specific to the IaaS layer such as Azure Blob Storage, Amazon Web Services, and Google Cloud Platform

First you’ll need to have created an S3 bucket to upload to. Here are the instructions to do this.


How to get AWS S3 (Simple Storage Service) bucket key pair from SAP BTP

Once you enabled Object store and referenced to cloud foundry app, you would see this below account details to S3 bucket.


 Uploading a file to an Object store РAWS S3 bucket from Windows

Download and install WinSCP

Configure the connection in WinSCP:

  1. Select “New site”
  2. In the New site dialog, select Amazon S3 protocol
    • In the “Host” field, enter “s3.amazonaws.com
    • Enter the Access Key ID and Secret Access Key
  3. Click ‘Advanced’
  4. Click “Directories” (in the “Environment” section)

  5. In the ‘Remote Directory” field, enter the S3 bucket name

  6. Click “S3” (in the “Environment” section) – Select AWS Region
  7. Once connected, you can drag-and-drop the top-level directories into the S3 bucket. This will recursively upload the files and sub-directories.

In above use case, SAP Commissions sql files are stored in AWS S3 Bucket for Touchless Deployment which is maintained through version control by an admin.

 

 

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Yann MIQUEL
      Yann MIQUEL

      Thanks for the tip. Will be much easier than the python script for the occasional consultation

      Author's profile photo Yogananda Muthaiah
      Yogananda Muthaiah
      Blog Post Author

      Yann MIQUEL

      That is correct... it is simple to move files to storage and they may be accessed at any moment to be modified or deleted. It also helps to easily recover files without having to write any code.

       

      Author's profile photo Oliver Stiefbold
      Oliver Stiefbold

      Ditto. Very helpful. thx!

      Author's profile photo Darshan Rudresh
      Darshan Rudresh

      Hi,

       

      If I create a subaccount by choosing(cf-eu-30) which is Microsoft azure cloud foundry. But do I want to store the document in aws-s3 or GCP? Is this use case possible.