I have an ec2 instance on which I installed nginx service. I want to create a cloudwatch alarm that monitors whether my service is running or not.
I am using ec2 server running amazon linux 2
P.s I dont want a status check on my instance but on the service itself
I tried figuring out cloudwatch logs but just cant figure how to make this work