[AWS] Creating AWS Certificate Manager (ACM)
Bài này chỉ đơn giản là tạo SSL trên AWS như thế nào thui các bạn Validate method by DNS Validate method by Email
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Bài này chỉ đơn giản là tạo SSL trên AWS như thế nào thui các bạn Validate method by DNS Validate method by Email
Subnet bị hết IP cấp cho pod The maximum number of IP addresses that you can assign to a network interface depends on the instance type. Each prefix that you assign to a network interface counts as one IP address. For example, a c5.large instance has a limit of 10 IPv4 addresses per network interface. Each network interface for…
Mình cũng đã có 1 vài bài nói về kaniko và run kaniko trên k8s để build image Hôm này chúng ta sẽ đến 1 bài là:CI bằng bitbucket-pipelineBuild image bằng KanikoSau đó push image lên ECR của AWS. 1) design bitbucket-pipelines Đầu tiên mình có file bitbucket-pipelines.yml 2) Kaniko push image to ECR Đầu…
Từ trước đến giờ chúng ta thưởng sử dụng auto scaling on k8s bằng HPA. hoặc bạn cài các adapter prometheus rồi tương tác custom metrics feature với HPA. Bài toán của mình đặt ra auto scaling pods on k8s base on metrics of Cloudwatch. 1) Install Keda on kubernetes. https://keda.sh/docs/2.8/deploy/#helm 2)Keda integrates with kafka….
Read More “[Keda] Auto-scaling is so easy when you use Keda” »
1) Creating VPC Đầu tiên mình sẽ tạo vpc 2) Creating Security Group. 3) Declare variable and Create Kafka by terraform on AWS Tiếp đến là tạo msk hay còn gọi là kafka on aws Nếu bạn bị lỗi bên dưới Bạn phải khai báo:client_authentication_unauthenticated_enabled = true bạn cần chú ý số number_of_nodes nó phải…
Read More “[Kafka/MSK] Install kafka or MSK on aws through terraform.” »
Hello các bạn mình đã có 1 bài upgrade eks bằng eksctl. Sau khi chúng ta đã understanded các command thì design bitbucket-pipeline để upgrade eks cluster. Đầu tiền bạn cần set up các env chung. Và đây là file bitbucket-pipelines.yml Sau khi deploy hết thì bạn cần kiểm tra lại các ingress có hoạt…
Read More “[Bitbucket Pipeline] Design bitbucket-pipeline and eksctl to upgrade EKS cluster” »
1) Create eks cluter by eksctl Đương nhiên là để lab được bài này thì bạn cần create eks cluster trước hihi. Đầu tiên chúng ta cài đặt 1 cluster eks bằng eksctl. https://eksctl.io/usage/schema/bạn có thể check thêm key value trên schema. Bạn có thể vào cloudformation để sem chi tiết nó đang làm cái…
Metrics Server là một dịch vụ chắc chắn sẽ phải cài.Vì để tính năng HPA work well thì phải có metrics-server Dưới đây là một số ảnh minh họa. 1) Introduce Metrics Server 2) Install Metrics Server on k8s Việc cài đặt Vô cùng đơn giản.https://github.com/kubernetes-sigs/metrics-serverBạn apply file manifest sau: Giờ bạn gõ command để…
Read More “[Metrics Server] Install metrics-server on Kubernetes.” »
Như hình của bên trên bạn có 2 account aws A và account aws B==> Bạn muốn Account AWS B có thể pull image từ account aws A Chúng ta sẽ set permission trên từng image để cho phép Account AWS B có thể pull image từ account aws A Ok giờ bạn đừng Ở…
Intro Subnets, public and private subnets, these are all networking issues. Therefore, network basics are required to understand the difference between public and private subnets. Network concepts may seem a little complicated at first. Don’t be afraid! I will explain the necessary ones, starting from general to specific. What is AWS? Amazon Web Services (AWS) is the world’s…
Read More “[VPC] The difference between public and private subnets in Amazon VPC?” »