BookmarkSubscribeRSS Feed
demiter
Calcite | Level 5

hello
is there a way to transfert data from sas to aws s3 bucket?

3 REPLIES 3
LinusH
Tourmaline | Level 20

I think the most straigthforward way is to use PROC S3.

 

https://documentation.sas.com/?docsetId=proc&docsetVersion=9.4&docsetTarget=p1bxmq7xu9hph8n17dmj32sd...

 

Data never sleeps
Patrick
Opal | Level 21

@demiter 

What's going to work for you will depend on your SAS version. I believe Proc S3 has only been introduced with SAS 9.4 M4

If you're using SAS Viya then you can also access S3 via a caslib statement.

https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3391-2019.pdf

 

And last but not least: If you've got the new Lustre FSx under AWS available then there might also be an option to interact with S3 via accessing Lustre. This would then just require a normal libname for the Lustre file system (once S3 is "mirrored" onto Lustre). 

https://aws.amazon.com/fsx/lustre/

Patrick
Opal | Level 21

@demiter 

another option is to access S3 via Impala. You then execute your SAS queries against Impala.

 

Configuring the Amazon S3 Connector

You can securely configure your cluster to authenticate with Amazon Simple Storage Service (S3) using the Cloudera S3 Connector Service. This configuration enables Impala queries to access data in S3 and also enables the Hue S3 Browser. Impala and Hue are automatically configured to authenticate with S3, but applications such as YARN, MapReduce, or Spark must provide their own AWS credentials when submitting jobs. You can define only one Amazon S3 service for each cluster.

https://www.cloudera.com/documentation/enterprise/5-15-x/topics/admin_s3_config.html 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1023 views
  • 7 likes
  • 3 in conversation