HelloFresh interview question

How will you connect and Ec2 instance inside private subnet to internet?