Networking project: set up the infra for outbound traffic from an EC2 instance inside a private subnet in a VPC to be possible with NAT Gateway

AWS Project: VPC with a public subnet containing a NAT gateway. The NAT gateway can be used for outbound traffic to the internet from the EC2 instance in the private subnet.  A route table connects the destination 0.0.0.0/0 to the internet gateway for the public subnet. In the public subnet, there is an EC2 instance…

Loading data from an AWS RDS MySQL database to an S3 bucket using Python

Extracting data from an AWS RDS MySQL database, storing it locally as a CSV and uploading it to S3. This can be done doing a full load (“extract_mysql_full.py”) or an incremental refresh (“extract_mysql_incremental_binlog.py”) using binlog. In my case, binlog needed to be set up within AWS RDS MySQL by turning on automated backups, creating a…