AWS Aurora global databases support both high availability and scalability in a cross region fashion. Here’s the rough guide how to deploy clusters in CloudFromation.
cloud-init is an industry standard tool to initialize instance with cross-platform and multi-distribution characteristics. Explains how it works in AWS.
A lambda function guide with Python 3.7 runtime. The function can be triggered by S3 put event and downloaded image will be posted in Twitter.