Hosting a Plumber API on AWS

I’ve been putting together a small proof-of-concept API using R and {plumber}
. It works flawlessly on my local machine and I was planning on deploying it on an EC2 instance to demo it for a client. However, I ran into a snag: despite opening the required port in my Security Group I was not able to access the API. This is what I needed to do to get it working.