K3s is a lightweight version of Kubernetes, which is very easy to deploy on the server with very low resource consuming. It’s friendly to new developer in Cloud-Native. It can also be used in edge computing to handle less computing on limited device.
Tencent Cloud
In this section, I will deploy K3s to tencent cloud elastic compute server via terraform.
Run step 1 to step 2, make sure backend bucket is created successfully.

Run step3 to initialize terraform plugins.

Run step 4 to deploy K3s on tencent cloud vm.

It will create below resource:
- Create vm and auto deploy K3s
- Create FQDN on Cloudflare (DNS resolver)
AWS
Execute below command to AWS modules.
1 | cd ./aws/ |
Follow Readme.md to create AWS EC2.
It will create below resource:
- Create AWS EC2 with SSH and session manager role
- Install K3s on EC2
Login AWS Console to make sure EC2 is created.

Connect to EC2 to verify the K3s cluster is up.
