<p>I am currently trying to identify the required AWS VPC and Subnet structure for EKS.</p>
<p>However, would like to check whether I can deploy the UI containers (pods) and the Spring Boot based API Gateway pods in public subnet and deploy all other back-end service pods in private subnet.</p>
<p>Is it possible to create such Kubernetes YAML deployment configuration?</p>

Avinash
<p>You deploy the UI containers (pods) and the Spring Boot based API Gateway pods in <code>nodes that run in public subnet</code>, all other back-end service pods in <code>nodes that run in private subnet</code>. Where nodes are really just EC2 instance that runs kubelet that have joined your EKS cluster. Typically, you use <code>nodeSelector</code> or <code>affinity</code> to direct which node for your pod to run.</p>
