Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
omidraha committed Oct 6, 2023
1 parent 31fc9bb commit d059aaa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/aws/eks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -486,3 +486,15 @@ List of all pods and its nodes
kubectl get pod -o=custom-columns=NODE:.spec.nodeName,NAME:.metadata.name -A
kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName -A
If I need to expose services to the internet using ALB AWS,
such as app1.example.com, app2.example.com,
and these services also require access to the internet,
Do I need to have public subnet?
Yes you need public subnets,
because the ALB has to have a public IP address, a
nd the only way to get that public IP address is to be in a public subnet for a VPC-based service
you need public subnets, because the ALB has to have a public IP address, and the only way to get that public IP address is to be in a public subnet for a VPC-based service (like EKS)
All your EKS nodes should be in a private subnet tho. Nothing goes in a public subnet (usually, there are rare exceptions) but your load balancers. EKS can create and manage the LBs for you. That'll probably be easier.
A single NAT Gateway is good for cost savings if you're doing a proof of concept. For a production workload, you want 3 AZs (this is the default) and you'll want a NAT Gateway in each AZ. One per AZ (also the default) is more reliable. I A single NAT Gateway is cheaper.

7 changes: 7 additions & 0 deletions src/aws/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -653,3 +653,10 @@ NODE AMI ID
Amazon EKS optimized Amazon Linux AMI IDs (Amazon Machine Image)

https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html


Resource limit
**************

http://aws.amazon.com/contact-us/ec2-request

0 comments on commit d059aaa

Please sign in to comment.