[AWS] – Terraform Beginner – Lesson 1: Create a Free Account of AWS
Bạn truy cập trang webhttps://aws.amazon.com/free/free-tier/ Cardholder’s name: Cái này là tên Của mình trên thẻ Giờ signin thôihttps://console.aws.amazon.com/
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Bạn truy cập trang webhttps://aws.amazon.com/free/free-tier/ Cardholder’s name: Cái này là tên Của mình trên thẻ Giờ signin thôihttps://console.aws.amazon.com/
Làm sao để tạo 1 cluster k8s trên GCP bằng terraform https://antonputra.com/google/create-gke-cluster-using-terraform/ 1) Create VPC in GCP using Terraform Đầu tiên chúng ta cần tạo VPC cho 1 new project GCP. => chúng ta cần enable compute APIĐể tạo 1 cluster GKE (k8s) => chúng ta cần enable container google API ==> Chúng ta enble…
Read More “[Terraform] Lesson 11: Create GKE (kubernetes) on Google with Terraform” »
1) Cloud BigTable with Terraform Giờ thì bạn click create Đây là code terraform 2) Cloud MemoryStore with Terraform MemoryStore thì sẽ giống với redis Sau đây là code terraform
1) Cloud Spanner with Console Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. 2) Cloud Spanner with Terraform Giờ mình cung cấp code terraformfile main.tf giờ bạn terraform init rổi đến apply Và đương nhiên là chúng ta sẽ gặp lỗi: Error creating Instance: googleapi: Error 403: Caller is missing…
Read More “[Terraform] Lesson 9: Relational DB – Cloud SQL & Spanner with Terraform” »
1) Cloud PubSub with Cloud Console Chúng ta đã tạo được topic và subscriptionsgiờ chúng input messages vào topic manual nhé! 2) Cloud PubSub with Cloud Terraform sau đây à phần code terraform. 3) schemas Bạn tưởng tượng phần này sẽ là model hay là định nghĩa các messages khi ghi vào topic thì phải…
Read More “[Terraform] Lesson 8: Cloud PubSub with Terraform” »
Bạn có thể tạo table từ data có sẵn Còn nếu đây là toạ mới thì để là empty table Giờ sài terraform. Cái này ngắn các bạn tử run trải nghiệm nhé!
1) Deploy Cloud Function – Console file: index.js file package.json Giờ các bạn ấn deploy luôn nhé Chúng ta sẽ kiểm tra permissions 2) Cloud Function – Terraform Sau đây mình cung cấp full code 2.1) Preparing File index.js Tiếp theo là file package.json Bạn sẽ cần nén nó lại dưới duôi .zip 2.2) Create…
Read More “[Terraform] Lesson 6: Google Cloud Function with Terraform” »
1) Cloud Run Provision using Cloud Console. Get image from dockerhub public Như bạn thấy thường dockerhub theo kiểu official thì chúng ta chỉ cần copy tên image là ok! Get image from different hub that isn’t Dockerhub Official(hub.docker.com) Mình ví dụ như mình sử dụng harbor Chúng ta cần push image lên gcr Mình…
Read More “[Terraform] Lesson 5: Google Cloud Run with Terraform” »
1) Create VPC from Console Giờ chúng ta tạo VM trên cloud.ghê hem!!!! Giờ các bạn có thể click create rồi 2) Hands-on Compute Engine with Terraform Giờ mình sẽ cung cấp file terraform full: 2.1) Compute Engine + Update Compute Engine parameter + Service Account – Terraform Giờ thực hiện: terraform init và terraform…
Read More “[Terraform] Lesson 4: Google Compute Engine (VM – Virtual Machine) with Terraform” »
1) Create VPC from Console 1.1) Subnet creation mode: Automatic sau khi chờ enable Giờ chúng ta sẽ tạo tay 1 VPC Chỗ này đơn giản bạn sẽ hiểu là firewall sẽ chăn all.Xong giờ ta mở Ping, mở SSH, mở internal access,… thì các VMs mới connect qua lại vơi nhau được. 1.2) Subnet…
Read More “[Terraform] Lesson 3: GCP Networking with Terraform” »