1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Recommend that you move your EC2 to the Private Subnet and you either use an Application Load Balancer or API Gateway to provide external access to your application. The subnets are meant to be configured so that Private has access to Public but not the other way around. Here's more information on this - https://www.learnaws.org/2022/06/22/public-private-subnets/#:~:text=a%20public%20subnet.-,When%20to%20use%20Public%20%26%20Private%20Subnets%3F,created%20in%20a%20public%20subnet.
Here's the document on how to setup the application as I described: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-example-private-subnets-nat.html
Hope this helps.
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a 10 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans