Skip to content

Commit

Permalink
update path image
Browse files Browse the repository at this point in the history
  • Loading branch information
FromSunNews committed Aug 17, 2024
1 parent 6ca16df commit 32d1959
Show file tree
Hide file tree
Showing 48 changed files with 313 additions and 313 deletions.
4 changes: 2 additions & 2 deletions content/1-introduce/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Containerized environments on AWS include many open-source or AWS products and s

The EKS Blueprints framework packages these tools into a cohesive whole and makes them available to development teams as a service. From an operational perspective, the framework allows companies to unify tools and best practices for securing, scaling, monitoring, and operating container infrastructure into one central platform that developers in an enterprise can use.

![Create Workspace](/images/1-introduce/0001-introduce.png?featherlight=false&width=60pc)
![Create Workspace](/public/images/1-introduce/0001-introduce.png?featherlight=false&width=60pc)

#### Work

Expand Down Expand Up @@ -48,4 +48,4 @@ Customers can leverage EKS Blueprints to:
* Multi-team deployments
* Custom cluster deployments

![Create Workspace](/images/1-introduce/0003-introduce.png?featherlight=false&width=60pc)
![Create Workspace](/public/images/1-introduce/0003-introduce.png?featherlight=false&width=60pc)
4 changes: 2 additions & 2 deletions content/1-introduce/_index.vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Môi trường được chứa trong container trên AWS bao gồm nhiều sản

EKS Blueprints framework đóng gói các công cụ này thành một tổng thể gắn kết và cung cấp chúng cho các nhóm phát triển như một dịch vụ. Từ góc độ hoạt động, khuôn khổ cho phép các công ty hợp nhất các công cụ và thực tiễn tốt nhất để bảo mật, mở rộng quy mô, giám sát và vận hành cơ sở hạ tầng container thành một nền tảng trung tâm mà sau đó các nhà phát triển trong một doanh nghiệp có thể sử dụng.

![Create Workspace](/images/1-introduce/0001-introduce.png?featherlight=false&width=60pc)
![Create Workspace](/public/images/1-introduce/0001-introduce.png?featherlight=false&width=60pc)

#### Hoạt động

Expand Down Expand Up @@ -48,4 +48,4 @@ Khách hàng có thể tận dụng EKS Blueprints để:
* Multi-team deployments
* Custom cluster deployments

![Create Workspace](/images/1-introduce/0003-introduce.png?featherlight=false&width=60pc)
![Create Workspace](/public/images/1-introduce/0003-introduce.png?featherlight=false&width=60pc)
22 changes: 11 additions & 11 deletions content/2-prerequiste/2.1-createvpcec2/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,63 +12,63 @@ pre : " <b> 2.1 </b> "
* Search for **VPC**.
* Select **Create VPC**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/001-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/001-createvpcec2.png?featherlight=false&width=90pc)

2. **VPC Settings:**
* In the **Resources to create** section, select **VPC and more**.
* In **Name tag auto-generation**, enter **EKS Blueprint VPC**.
* In **IPv4 CIDR block**, enter **10.0.0.0/16**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/002-createvpcec2.png?featherlight=false&width=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/002-createvpcec2.png?featherlight=false&width=30pc)

3. **Select Availability Zones (AZs):**
* Choose the AZs as shown in the image and click **Create VPC**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/003-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/003-createvpcec2.png?featherlight=false&height=30pc)

4. **Completion:**
* After creation, you will have a VPC that looks like this.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/004-createvpcec2.png?featherlight=false&width=90pc) ![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/005-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/004-createvpcec2.png?featherlight=false&width=90pc) ![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/005-createvpcec2.png?featherlight=false&width=90pc)

### Create an EC2 Instance

1. **Access AWS Management Console:**
* Search for **EC2**.
* Select **Launch Instance**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/000-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/000-createvpcec2.png?featherlight=false&width=90pc)

2. **Launch an Instance:**
* In the **Name and tags** section, enter **EKS Blueprint Instance**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/006-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/006-createvpcec2.png?featherlight=false&width=90pc)

3. **Select AMI:**
* In the **Application and OS Images (Amazon Machine Image)** section, choose **Amazon Linux 2023 AMI**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/007-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/007-createvpcec2.png?featherlight=false&height=30pc)

4. **Instance Type and Key Pair:**
* Choose **t3.small**.
* Create a **key pair** and name it **kp-eks-blueprint**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/008-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/008-createvpcec2.png?featherlight=false&height=30pc)

5. **Network Settings:**
* Select the VPC you just created.
* Choose **public-subnet-1**.
* Enable **Auto-assign public IP**.
* Create a **Security Group**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/009-createvpcec2.png?featherlight=false&height=50pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/009-createvpcec2.png?featherlight=false&height=50pc)

6. **Configure Storage:**
* Change the storage size to **30GB** and click **Launch Instance**.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/010-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/010-createvpcec2.png?featherlight=false&width=90pc)

7. **Completion:**
* You have successfully created an EC2 Instance.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/011-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/011-createvpcec2.png?featherlight=false&width=90pc)
24 changes: 12 additions & 12 deletions content/2-prerequiste/2.1-createvpcec2/_index.vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ pre : " <b> 2.1 </b> "
* Chọn **Create VPC**


![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/001-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/001-createvpcec2.png?featherlight=false&width=90pc)

2. Trong giao diện **VPC settings**

* **Resources to create**, chọn **VPC and more**
* **Name tag auto-generation**, nhập **EKS Blueprint VPC**
* **IPv4 CIDR block**, nhập **10.0.0.0/16**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/002-createvpcec2.png?featherlight=false&width=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/002-createvpcec2.png?featherlight=false&width=30pc)

3. Chọn các **AZs**
* Chọn các AZs theo hình và bấm chọn **Create VPC**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/003-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/003-createvpcec2.png?featherlight=false&height=30pc)

4. Sau khi tạo xong, chúng ta sẽ có một VPC như thế này
![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/004-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/005-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/004-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/005-createvpcec2.png?featherlight=false&width=90pc)

#### Tạo EC2 Instance

Expand All @@ -41,25 +41,25 @@ pre : " <b> 2.1 </b> "
* Chọn **Launch Instance**


![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/000-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/000-createvpcec2.png?featherlight=false&width=90pc)

2. Trong giao diện **Launch an instance**

* **Name and tags**, chọn **EKS Blueprint Instance**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/006-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/006-createvpcec2.png?featherlight=false&width=90pc)

3. Ở mục **Application and OS Images (Amazon Machine Image)**

* Chọn **Amazon Linux 2023 AMI**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/007-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/007-createvpcec2.png?featherlight=false&height=30pc)

4. Ở mục **Instance type** và **Key pair**

* Chọn **t3.small**
* Tạo ra 1 **key pair** đặt tên là **kp-eks-blueprint**
![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/008-createvpcec2.png?featherlight=false&height=30pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/008-createvpcec2.png?featherlight=false&height=30pc)

5. Ở mục **Network settings**

Expand All @@ -68,16 +68,16 @@ pre : " <b> 2.1 </b> "
* Bật **Auto-assign public IP**
* Tạo một **Security Group**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/009-createvpcec2.png?featherlight=false&height=50pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/009-createvpcec2.png?featherlight=false&height=50pc)


6. Ở mục **Configure storage** thay đổi bộ nhớ thành **30GB** va nhấn **Launch Instance**

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/010-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/010-createvpcec2.png?featherlight=false&width=90pc)



7. Vậy là chúng ta đã hoàn thành việc khởi tạo EC2 Instance.

![Create Workspace](/images/2-prerequiste/2.1-createvpcec2/011-createvpcec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.1-createvpcec2/011-createvpcec2.png?featherlight=false&width=90pc)

24 changes: 12 additions & 12 deletions content/2-prerequiste/2.2-connectec2/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,68 +16,68 @@ Connecting SSH from Visual Studio Code to an EC2 Instance is a quick alternative

After downloading, install the following extension:

![Create Workspace](/images/2-prerequiste/2.2-connectec2/001-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/001-connectec2.png?featherlight=false&width=90pc)

2. **Open the SSH connection prompt:**

Click on the icon in the lower-left corner of the screen, and a dialog box will appear.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/000-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/000-connectec2.png?featherlight=false&width=90pc)

3. **Connect to Host:**

Click on **Connect to Host**.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/002-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/002-connectec2.png?featherlight=false&width=90pc)

4. **Add New SSH Host:**

Click on **Add New SSH Host**.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/003-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/003-connectec2.png?featherlight=false&width=90pc)

5. **Input SSH Host Name:**

In the input box, enter **eks-blueprint-remote** and press Enter.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/004-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/004-connectec2.png?featherlight=false&width=90pc)

6. **Configure SSH in config file:**

Click on the path in **C:\\Users\\ADMIN.ssh\\config** to configure it.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/005-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/005-connectec2.png?featherlight=false&width=90pc)

7. **Update SSH configuration:**

In the newly configured SSH block, update the information with the correct **IPv4 address of the EC2 Instance** and the path to the **Key Pair** on your machine.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/012-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/012-connectec2.png?featherlight=false&width=90pc)

8. **Connect to EC2:**

Click on the SSH icon at the bottom left corner and start the connection.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/007-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/007-connectec2.png?featherlight=false&width=90pc)

9. **Select Continue:**

Choose **Continue**.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/009-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/009-connectec2.png?featherlight=false&width=90pc)

10. **Select Linux:**

Click on **Linux**

![Create Workspace](/images/2-prerequiste/2.2-connectec2/008-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/008-connectec2.png?featherlight=false&width=90pc)

11. **Open Folder:**

Choose **Open Folder** and click **OK**.

![Create Workspace](/images/2-prerequiste/2.2-connectec2/010-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/010-connectec2.png?featherlight=false&width=90pc)

12. **Connected Interface:**

This is what the interface looks like after connection.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/011-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/011-connectec2.png?featherlight=false&width=90pc)
24 changes: 12 additions & 12 deletions content/2-prerequiste/2.2-connectec2/_index.vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ Kết nối SSH từ Visual Studio Code đến EC2 Instance là giải pha

Sau khi tải xong. Chúng ta sẽ tải extension sau đây:

![Create Workspace](/images/2-prerequiste/2.2-connectec2/001-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/001-connectec2.png?featherlight=false&width=90pc)
2. Sau khi tải xong chúng ta nhấn có biểu tượng ở phía dưới góc trái màn hình một hộp thoại sẽ được mở ra.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/000-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/000-connectec2.png?featherlight=false&width=90pc)
3. Chúng ta sẽ nhấn vào Connect to Host.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/002-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/002-connectec2.png?featherlight=false&width=90pc)
3. Nhấn vào **Add New SSH Host**.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/003-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/003-connectec2.png?featherlight=false&width=90pc)
4. Trong ô input nhập **eks-blueprint-remote** và nhấn Enter.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/004-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/004-connectec2.png?featherlight=false&width=90pc)
5. Nhấn vào đường dẫn trong **C:\Users\ADMIN\.ssh\config** để cấu hình
![Create Workspace](/images/2-prerequiste/2.2-connectec2/005-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/005-connectec2.png?featherlight=false&width=90pc)
6. Ngay tại khối code SSH name mới được cấu hình trước đó hãy thay đổi thông tin đúng với địa chỉ **IPv4 của EC2 Instance** và đường dẫn đến **Key Pair** trong máy của bạn.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/012-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/012-connectec2.png?featherlight=false&width=90pc)
7. Bấm vào biểu tượng SSH ở dưới cùng góc bên trái và bắt đầu thực hiện Connect.
![Create Workspace](/images/2-prerequiste/2.2-connectec2/007-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/007-connectec2.png?featherlight=false&width=90pc)
8. Chọn **Continue**
![Create Workspace](/images/2-prerequiste/2.2-connectec2/009-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/009-connectec2.png?featherlight=false&width=90pc)
9. Nhấn vào **Linux**
![Create Workspace](/images/2-prerequiste/2.2-connectec2/008-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/008-connectec2.png?featherlight=false&width=90pc)
10. Chọn **Open Folder** và Click **OK**
![Create Workspace](/images/2-prerequiste/2.2-connectec2/010-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/010-connectec2.png?featherlight=false&width=90pc)
11. Đây là giao diện sau khi kết nối
![Create Workspace](/images/2-prerequiste/2.2-connectec2/011-connectec2.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.2-connectec2/011-connectec2.png?featherlight=false&width=90pc)
8 changes: 4 additions & 4 deletions content/2-prerequiste/2.3-installtool/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo curl --silent --location -o /usr/local/bin/kubectl \
sudo chmod +x /usr/local/bin/kubectl
```

![Create Workspace](/images/2-prerequiste/2.3-installtool/000-installtool.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.3-installtool/000-installtool.png?featherlight=false&width=90pc)

For more information, refer to the official [AWS guide for installing kubectl](https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html).

Expand All @@ -32,7 +32,7 @@ unzip awscliv2.zip
sudo ./aws/install
```

![Create Workspace](/images/2-prerequiste/2.3-installtool/002-installtool.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.3-installtool/002-installtool.png?featherlight=false&width=90pc)

3. **Verify the installation** by running the following command:

Expand All @@ -43,7 +43,7 @@ for command in kubectl jq envsubst aws
done
```

![Create Workspace](/images/2-prerequiste/2.3-installtool/003-installtool.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.3-installtool/003-installtool.png?featherlight=false&width=90pc)

4. **Enable kubectl bash completion** with the following commands:

Expand All @@ -52,4 +52,4 @@ kubectl completion bash >> ~/.bash_completion
. /etc/profile.d/bash_completion.sh
. ~/.bash_completion
```
![Create Workspace](/images/2-prerequiste/2.3-installtool/004-installtool.png?featherlight=false&width=90pc)
![Create Workspace](/public/images/2-prerequiste/2.3-installtool/004-installtool.png?featherlight=false&width=90pc)
Loading

0 comments on commit 32d1959

Please sign in to comment.