oscarb75
Crew Member
Posts: 70
Likes: 85
|
Post by oscarb75 on Jun 4, 2023 12:53:03 GMT
A firm where I work asked me if it is possible to make some customisation to the frontend of a website that monitor GPS devices. The webapp is running on an EC2 instance at AWS, where I can access from AWS Console and with SSH. As OS Ubuntu Server and it is based on docker ( I have the dockerfile ). 6-7 containers are running ( Nginx, Zinc, Mysql, TDEngine, Tomcat... ). I would like to clone the whole app on a bare metal server, to avoid making modification on the production server. Should I try to: - Clone the EC2 HD? - Reproduce the docker structure starting from the dockerfile? - Run the same containers manually and make the needed port connections? ( I do not think it is a good idea ) - Clone the instance to another EC2 instance? ( it would be easy )
Another question: I am able to access the EC2 instance from Thunar with SSH. I can SSH a running container and check/modify what´s inside. I would like to find a way to copy files from inside a running container to my local machine. How?
Thanks in advance for your help!
|
|