Please watch: "Docker Tutorial | What is Docker? | Docker Demo | AWS EC2 Docker Demo | AWS Docker | AWS Docker Demo"
https://www.youtube.com/watch?v=kjBB0JG-eLs --~--
We have shown demo to use an ec2 instance and how to configure it with jdk and execute an spring boot application inside it and how we can access those API from outside world
Useful commands :
File transfer :
pscp -i C:\Users\LIPIKA\Downloads\MyKeyPair.ppk C:\Users\LIPIKA\Project\SampleAWSBoot\target\SampleAWSBoot-0.0.1-SNAPSHOT.jar [email protected]:/opt/SampleAWSBoot-0.0.1-SNAPSHOT.jar
JDK Download and Install:
sudo wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.rpm
sudo yum install -y jdk-8u141-linux-x64.rpm