HelloFresh Interview Question

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