Script generates index.html files for s3 bucket which enables browser experience.
Link: https://ryfeus-storage.s3.amazonaws.com
- Install AWS CLI and configure your programmatic access
- Set up variables
strBucket = 'ryfeus-storage'
strPrefix = ''
strIndexFile = 'index.html'
strTemplate = 'index_template.html'
recPopulateIndexFiles(strBucket,strPrefix,strTemplate)
- Run the code
- index.html files will be publicly available
- script doesn't make files publicly available too