Clone the Terraform example repo and follow the explained steps to get it running.
Be sure to open all necessary ports in your security groups used by the instance to make it available to the public.
Follow the Tutorial to config serverless on your machine.