Skip to content

Getting Started

1. deployment folder 👈


2. Commnds

aws ec2 describe-subnets --filters "Name=vpc-id,Values=vpc-id-from-output" --region us-west-2
aws ec2 describe-vpcs --vpc-ids vpc-id-from-output --region us-west-2
aws eks list-fargate-profiles --cluster-name your-cluster-name --region us-west-2
aws ec2 describe-vpc-endpoints --filters "Name=vpc-id,Values=vpc-id-from-output" --region us-west-2
aws ec2 describe-route-tables --filters "Name=vpc-id,Values=vpc-id-from-output" --region us-west-2
aws ec2 describe-security-groups --filters "Name=vpc-id,Values=vpc-id-from-output" --region us-west-2


aws eks describe-cluster  --name maps-outbound-us-west-2-dev2-eks-fargate-cluster --region us-west-2 --query "cluster.identity.oidc.issuer"
aws iam create-open-id-connect-provider --url https://oidc.eks.us-west-2.amazonaws.com/id/867FAFA03F6706024B5895223D5D3451 --client-id-list sts.amazonaws.co
aws eks get-token  --cluster-name maps-outbound-us-west-2-dev2-eks-fargate-cluster --region us-west-2
aws eks update-kubeconfig --name maps-outbound-us-west-2-dev2-eks-fargate-cluster --region us-west-2

aws eks describe-update --name maps-outbound-us-west-2-dev2-eks-fargate-cluster  --update-id 388626d9-068d-3325-b988-f15ecd94ee51 --region us-west-2
# got update it from trf logs

kubectl get configmap aws-logging -n kube-system

3. Comparison :: ECS vs EKS

  • 02_Containers_ECS.md vs 02_Kubernetes_EKS.md
  • Clusters

    • logical grouping of tasks or services.
    • Equivalent to Cluster in Kubernetes
  • Tasks === pod

    • A single running copy of a container defined by a task definition.
  • Task Definitions == pod

    • Blueprints for your application that specify the container images, CPU, memory, and other settings.
  • Services === Replica Set

    • Allows you to run and maintain a specified number of instances of a task definition simultaneously.
  • Container Instances == work Nodes

    • Amazon EC2 instances registered to your cluster and used to run tasks.
    • Equivalent in Kubernetes: Nodes
  • Elastic Load Balancing (ELB) === Service (specifically, LoadBalancer type)

    • Distributes incoming application traffic across multiple targets.
  • Auto Scaling === Horizontal Pod Autoscaler

    • Adjusts the desired count of tasks in a service automatically based on criteria.
  • ECS Agent === Kubelet

    • Software that runs on each container instance and communicates with ECS to start and stop tasks.
  • ECS Fargate

    • A serverless compute engine for containers that eliminates the need to manage EC2 instances.

3. Okta (ignore)

  • https://dev-16206041-admin.okta.com/
  • https://dev-16206041.okta.com/
  • https://dev-16206041-admin.okta.com/admin/app/oidc_client/client/0oal3d72smuSHBhwF5d7#tab-general
    • client_id : 0oal3d72smuSHBhwF5d7
    • issuer URI :
    • https://dev-16206041.okta.com/oauth2/default (default)
    • https://dev-16206041.okta.com/oauth2/ausl3dg4kkpyvEBft5d7