EKS on Outposts Server

0

how do I provision an ec2 in outposts server to be associated with an extended eks cluster in region?

Adnan
gefragt vor 2 Monaten424 Aufrufe
1 Antwort
0

To provision an EC2 instance in an AWS Outpost to be associated with an extended EKS cluster in the region:

  • Launch the EC2 instance into the private subnet that you created in the Outpost. Make sure to select the subnet and security group created specifically for the Outpost.
  • When launching, specify the placement group if you want multiple instances to be closely located on the Outpost hardware for low latency.
  • The instance must be able to communicate securely with the EKS cluster API endpoint, typically over HTTPS on port 443. Ensure the security group and network access control lists allow this inbound traffic.
  • Use the AWS CLI or SDK to associate the EC2 instance IP with the EKS cluster as a node. For example:
eksctl create nodegroup \
--cluster eks-cluster \
--nodegroup-name outpost-nodes \
--node-type c5.large \
--nodes-min 1 \
--nodes-max 3 \
--nodes-max 3 \
--region us-east-1 \
--ssh-access \
--ssh-public-key path/to/key.pub

https://aws.amazon.com/blogs/containers/deploy-an-amazon-eks-cluster-across-aws-outposts-with-intra-vpc-communication/

profile picture
EXPERTE
beantwortet vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen