Move container to Amazon aws EC2/container

Hello I have a mask server running inside proxmox container.
It's possible to export it to aws?

Thanks
A AWS EC2 instance is a virtual machine, while the LXC runs as a process isolated by cgroups and seccomp on the hosts linux kernel. So no, it is not possible to directly export it to AWS, as you require a kernel to run.

You could however export the service configuration ecc... from your container and import that on the EC2 instance?

What's the reason to migrate to AWS (just curious :))?
 
Eh eh .. why? Money bro.. always the money is the problem.
I have 3 one gbps hardware server and one 10 GB gbps. I will have 3 months of no jobs and my costs are high to maintain infrastructure for the next event.
Therefore I will power of all.. and I will start for single day Amazon 10gbps server and power off when finished.




A AWS EC2 instance is a virtual machine, while the LXC runs as a process isolated by cgroups and seccomp on the hosts linux kernel. So no, it is not possible to directly export it to AWS, as you require a kernel to run.

You could however export the service configuration ecc... from your container and import that on the EC2 instance?

What's the reason to migrate to AWS (just curious :))?
 
What should be possible rather easily is to install Proxmox VE on the EC2 instance (by starting from a Debian 11 AMI and following the guide in the wiki [0]).
Than you could backup the LXC containers and restore them in the AWS instance.

Have never tried this myself, so take this with a grain of salt.

[0] https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye