AWS: Sagemaker loading data from S3 bucket

Hi,

I have written the code in Google colab, now I am shifting the environment to AWS: Sagemaker. In Amazon Sagemaker is there any way to specify to change the working directory as S3 bucket.

Or can I download the data from S3 bucket into Sagemaker.

Or is it possible to download the data using terminal with wget, as I downloaded the same but I can’t see it in the menu bar?

You can get data from S3 to your Sagemaker instance in a few ways.

If you want to use Python, you can use Boto3.

If you want to use the terminal, you can use the AWS CLI.

In both cases, you’ll need to download the data from S3 to your Sagemaker instance, so you need to make sure your instance has enough storage space. If the dataset is unreasonably large, there are ways of streaming data from S3 but last I looked into that they were all complicated.