RDS

Part 2 - Cost effective dev environment

Part 2 In part 1 on the search for a cost-effective dev environment we looked at the VPC setup. In this part we will look at the RDS setup. There are at least 3 ways to start and stop an RDS instance (in this example I used a simple RDS instance): Using Lambda Using SSM State Manager Using Eventbridge schedules Lambda The first option is to use a Lambda function to start and stop the RDS instance.

RDS Proxy with HAProxy

It is good practice to isolate your valuable data from the evil internet. The absolute basis is to have a subnet without a route to either a NAT gateway or Internet Gateway. A misconfiguration eg an open Security Group will not lead to exposure of your data due to being an ‘un-routeable’ subnet. The local route still applies to this subnet, so other subnets can still communicate with this subnet.