[AWS] VPC PEERING – Connecting between other VPCs.
Hiện tại mình muốn EC2(1) ở VPC 1 ping sang EC2(2) ở VPC 2 thì mình chúng ta phải setup VPC Peering Mình sẽ tìm terraform để apply … How can I access an internal load balancer using VPC peering?
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Hiện tại mình muốn EC2(1) ở VPC 1 ping sang EC2(2) ở VPC 2 thì mình chúng ta phải setup VPC Peering Mình sẽ tìm terraform để apply … How can I access an internal load balancer using VPC peering?
1) Prepare tools 1.1) Install terraform Đầu tiên cần cài đặt terraform: 1.2) Install terragrunt Giờ đến phần cài terragrunt:bạn cần download: https://github.com/gruntwork-io/terragrunt/releases Từ đó chúng ta đã cài thành công! 2) Provisioning EC2 by terragrunt Để sử dụng được terragrunt bạn cần có 1 terraform modulemình sẽ tạo Ec2 thông qua terragrunthttps://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws/latest Chỗ này…
Read More “[Terraform ] Using Terragrunt to provision AWS base on Terraform Module” »
1) Overall EKS IAM Introduction. 2) Understand AWS EKS Authentication & Authorization 3) Understand about EKS Cluster Creator User 4) Introduction to Provisioning AWS Admin as EKS Admin Tiếp theo giờ bạn có 1 user eksadmin1 có quyền Administrator Access nhưng mà nó sẽ ko thể gõ kubeclt 5) Create IAM User and AWS CLI…
Read More “[AWS] Provision AWS IAM Admin User as EKS Admin” »
Hello các bạn, bài hôm nay chỉ đơn giản là chúng ta tìm hiểu về hai khai niệm quan trong trong AWS– IAM Role– Assume Role Và dưới dây là phần take Note của mình
Bài này bạn sẽ cũng mình providing 1 cluster EKS or K8s on AWS bằng terraformMình sẽ không thể giải thích từng line.nhưng chỗ nào mình thấy khó hiểu mình sẽ note lại 1) Overview 2) Using terraform to provide a EKS cluster. Bài này thì chúng ta sẽ tạo 1 cluster EKS PublicEndpoint của…
Read More “[AWS] Create EKS Cluster and EKS Node Groups in Public and Private Subnets” »
Khi sử dụng resty để sent POST (Restful API) thì nếu nhận về payload nhận về sẽ là chuổi json chuyển đổi json và struct trong golangNim tham khảo link nàyhttps://golangbyexample.com/struct-json-golang/ Bạn là để ý là mình sẽ chuẩn bị 1 struct là In4ConnectorTiếp đó mỉnh sử dụng json.Unmarshal([]byte(), ) để chuyển string resp.String() sang…
Read More “[Golang] Convert between Json and Struct in Golang” »
Trong bài này mình có đang cần xóa bớt các kí tự trong 1 string Mình tìm được bài này:https://socketloop.com/tutorials/golang-remove-characters-from-string-example Lưu code lại lỡ trang web của họ bay màu References: https://golang.org/pkg/strings/#IndexRunehttps://golang.org/pkg/strings/#Maphttps://www.socketloop.com/tutorials/golang-remove-dashes-or-any-character-from-string
Mới đây mình có sử dụng thêm tool để test GRPC nữa đó chính là GRPCOX https://github.com/gusaul/grpcoxBạn clone repo thực hiện câu lệnh build Bạn có thể sử dụng image của mình. Bạn thực hiện mở browser và truy cập vào trong có port:6969http://<IP_adress>:6969/
1) Backend state Bài này thì mình thực hiện build multi cluster k8s trên GCP Để chuẩn bị cho đúng với bài tập thực tế. Chúng ta cần tạo 1 backend cho terraform trên GCS. sau khi bạn chạy terraform apply bạn sẽ tạo được bucket trên GCS Giờ minh tạo 1 folder là cluster…