Migrate Local data to S3

I want to Migrate Local data to S3 and use as primary storage.