I am trying to deploy my Spring Boot microservice using Docker containers within my EC2 machine. I have my own Ubuntu machine. I can also install Docker in my Ubuntu machine. I am not going with ECS. I need to customize my machine for Spring Boot Java deployment using Docker.
Can I deploy my service using docker that installed in my machine?
If that is possible in Docker, do I need to configure Tomcat/Weblogic server in my machine? Or directly in Docker only?
And also can I deploy my front-end Angular 2 application in same Docker in EC2? Or I need to configure my machine for node.js/ Nginx server?
I am a beginner on AWS cloud and microservices. I still have lot of confusions in feasible deployment.