How to get Amazon Lightsail to connect with AWS S3 using the Lightsail CLI. Resolve Access Denied errors. Transfer files from Lightsail to S3 using the CLI.