0
0
AWScloud~30 mins

EKS cluster creation in AWS - Mini Project: Build & Apply

Choose your learning style9 modes available
EKS Cluster Creation
📖 Scenario: You are working as a cloud engineer for a company that wants to deploy containerized applications using Kubernetes on AWS. Your task is to create an Amazon Elastic Kubernetes Service (EKS) cluster to manage and run these applications efficiently.
🎯 Goal: Build a basic EKS cluster configuration using AWS CloudFormation syntax. This cluster will serve as the foundation for deploying containerized applications on AWS.
📋 What You'll Learn
Create an EKS cluster resource with a specific name
Define the Kubernetes version for the cluster
Specify the role ARN for the EKS cluster
Add a VPC configuration with subnet IDs
Complete the cluster resource with all required properties
💡 Why This Matters
🌍 Real World
Creating an EKS cluster is a common task for deploying scalable containerized applications on AWS. This foundational setup enables teams to run Kubernetes workloads managed by AWS.
💼 Career
Cloud engineers and DevOps professionals frequently create and manage EKS clusters as part of infrastructure automation and container orchestration in AWS environments.
Progress0 / 4 steps
1
Create the EKS Cluster Resource
Create a CloudFormation resource called MyEKSCluster of type AWS::EKS::Cluster.
AWS
Need a hint?

Start by defining the resource name and type exactly as shown.

2
Add Cluster Properties
Add a Properties section to MyEKSCluster with Name set to MyCluster and Version set to 1.24.
AWS
Need a hint?

Indent properties correctly under MyEKSCluster.

3
Add Role ARN and VPC Configuration
Inside Properties, add RoleArn set to arn:aws:iam::123456789012:role/EKSRole and a ResourcesVpcConfig section with SubnetIds set to a list containing subnet-abc123 and subnet-def456.
AWS
Need a hint?

Make sure RoleArn and ResourcesVpcConfig are inside Properties.

4
Complete the EKS Cluster Configuration
Ensure the full CloudFormation YAML includes the Resources section with MyEKSCluster resource fully configured with Type and Properties including Name, Version, RoleArn, and ResourcesVpcConfig with SubnetIds.
AWS
Need a hint?

Review the entire resource to confirm all required properties are present and correctly indented.