AWS-Logo_White-Color
1.
Introduction
2.
Preparation
2.1
Preparing VPC and EC2
2.1.1
Create VPC
2.1.2
Create Public Subnet
2.1.3
Create Private Subnet
2.1.4
Create security groups
2.1.5
Create Public instance
2.1.6
Configure EC2 bastion host
2.2
Create IAM Role
2.2.1
Create EKS Cluster role
2.2.2
Create NodeGroups role
3.
Create EKS Cluster
3.1.
Create EKS cluster
3.2.
Create Node groups
3.3.
Configure the EKS cluster
4.
Create EFS
4.1
Create EFS CSI driver role
4.2
Create EFS
4.3
Configure EFS CSI driver
4.4
Configure NodeGroup role
5.
Install ALB Controller
6.
Wordpress deployment
7.
Cleanup
7.1
Cleanup Wordpress deployments
7.2
Cleanup EKS cluster
7.3
Cleanup EFS
7.4
Cleanup EC2 linux instance
7.5
Cleanup VPC
7.6
Cleanup IAM
More
AWS Study Group
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last Updated
01-10-2024
Team
Trung Châu
Gia Hưng
Thanh Hiệp
Edit this page
Wordpress deployment on EKS
>
Preparation
>
Create IAM Role
> Create NodeGroups role
Create NodeGroups role
Create IAM role
labNodeGroupsRole
Go to
IAM management console
Click
Roles
.
Click
Create role
.
At
Step 1: Select trusted entity
section.
At
Use case
section, choose
EC2
at
Service or use case
field.
Next, choose
EC2
.
Click
Next
.
At
Step 2: Add permissions
section.
Find and choose three policies
AmazonEKS_CNI_Policy
,
AmazonEC2ContainerRegistryReadOnly
and
AmazonEKSWorkerNodePolicy
.
Click
Next
.
At
Step 3: Name, review, and create
section.
At
Role details
section, fill the
Role name
field with
labNodeGroupsRole
value.
Scroll down and click
Create role
.
Next, we will create EKS cluster.