This video gives an overview on AEM setup with S3 DataStore
Reference:
https://experienceleague.adobe.com/do...
Commands
To unpack AEM Jar : java -jar AEM.jar -unpack
TO run AEM with S3 configuration: java -jar AEM -r crx3tar-nofds
S3 Configuration
accessKey="You access Key"
connectionTimeout="120000"
maxConnections="40"
maxErrorRetry="10"
s3Bucket="Your bucket Name"
s3Region="Your S3 Region"
secretKey="Your secret Key"
socketTimeout="120000"
writeThreads="30"