For every user in our platform, we would provision:
The user once enrolled into a micro-experience, can choose to either use VSCode in the browser or RDP into the machine and work.
In order to support this, the users home directory will be mounted on an NFS File Share (EFS on AWS) so the user can seamlessly switch between VCode in browser and the EC2 VM.
Base docker image/VM image:
- certain software is installed as a part of the base image in the contiainer and the VM. There may be some shared software accross the VM and container that will have to be installed (ex: filebeat, logstash, java, etc)
- when the container/VM is brought up for a user the runtime is personalised for the user (ex: ssh keys, password, etc).
- Cloudformation template would bring up an NFS Share on EFS for all users
This NFS mount would be used to mount each users home directory into the runtime (container/VM).
Cloudformation Template will to bring up EC2 VMs on trigger: