Read chapter 7 of Learn Amazon SageMaker, especially the last section (page 235). Use a data loader. For resources, see .