This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This is tiny script (self note) for automated back of AWS EC2 | |
1. Create Lambda function. Visit https://us-west-2.console.aws.amazon.com/lambda/home | |
2. Assigned right AIM role (should have sufficient privileges). Visit https://console.aws.amazon.com/iam/home?#/roles) | |
3. Set to schedule run from CloudWatch Event. Visit https://us-west-2.console.aws.amazon.com/cloudwatch/home | |
''' | |
import boto3 | |
import datetime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customizing Amazon Linux 2 to setup playwright | |
# config file should be in [project_root]/.ebextensions/command.config | |
packages: | |
yum: | |
python3-devel: [] | |
at-spi2-atk: [] | |
cups-devel: [] | |
libxkbcommon: [] | |
libXcomposite: [] |