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
>
Cleanup
> Cleanup VPC
Cleanup VPC
Cleanup VPC
Cleanup VPC
Cleanup Route table
Go to
VPC service management console
Click
Route tables
.
Choose
labPublicRT01
.
Click
Subnet associations
.
Click
Edit subnet associations
.
At
Edit subnet associations
page.
Unchecked all available subnets.
Click
Save associations
.
Go to
VPC service management console
Click
Route tables
.
Choose
labPrivateRT01
.
Click
Subnet associations
.
Click
Edit subnet associations
.
At
Edit subnet associations
page.
Unchecked all available subnets.
Click
Save associations
.
Go to
VPC service management console
Click
Route tables
.
Choose
labPrivateRT01
and
labPublicRT01
.
Click
Actions
.
Click
Delete route table
.
At the popup, enter
delete
and click
Delete
.
Cleanup NAT gateways
Go to
VPC service management console
Click
NAT gateways
.
Choose
labNATGW01
.
Click
Actions
.
Click
Delete NAT gateway
.
Go to
VPC service management console
Click
Elastic IPs
.
Click on
52.6.199.235
. Change
52.6.199.235
to your
Elastic IP
.
Click
Actions
.
Click
Release Elastic IP addresses
.
At the popup, click
Release
.
Cleanup Internet gateways
Go to
VPC service management console
Click
Internet gateways
.
Choose
labIGW01
.
Click
Actions
.
Click
Detach from VPC
.
At the popup, click
Detach internet gateway
.
At
VPC service management console
page.
Click
Internet gateways
.
Choose
labIGW01
.
Click
Actions
.
Click
Delete internet gateway
.
At the popup, type
delete
and click
Delete internet gateway
.
Cleanup VPC
Go to
VPC service management console
Click
Your VPCs
.
Choose
labVPC01
.
Click
Actions
.
Click
Delete VPC
.
At the popup, type
delete
and click
Delete
.
Next, we will cleanup IAM roles and policies.