has anyone successfully deployed to AWS EC2? I'm h...
# prisma-whats-new
m
has anyone successfully deployed to AWS EC2? I'm having trouble accessing the endpoint https://www.graph.cool/forum/t/running-prisma-on-ec2-cluster-endpoint-not-accessible/2648
l
from my aws experience, I think you must add the in/outbound rules to your security group check https://docs.aws.amazon.com/en_us/AWSEC2/latest/UserGuide/using-network-security.html
then, from your local machine, you can try
nmap <ec2_public_IP>
to double check which ports are open
🦜 1
m
brillant 🙂 you were right. @Lucas this is my first time using EC2. I added the 4466 port to my security group
and it works
😁 1
@Lucas should you be using
ufw
or the security groups to manage your connections?
if it's a single server they are both doing the same thing
I guess you could harden an internal network so you want to do both
l
Both. The ufw manages the traffic at the instance (OS) level, while the security group is a service level control provided by aws
the role of security groups is to make it much easier to manage the security of multiple services or instances when you scale your app
m
thank you 🙂
👍 1