AWS Classroomnotes 12/Oct/2022

Deploying Applications into Virtual Machines

Installing Some Java application on IaaS (EC2)

  • Lets create an EC2 instance with ubuntu os
  • executed the following commands
sudo apt update
sudo apt install openjdk-11-jdk -y
wget https://referenceapplicationskhaja.s3.us-west-2.amazonaws.com/spring-petclinic-2.4.2.jar
java -jar spring-petclinic-2.4.2.jar

Preview
* In this approach:
* OS updates: our responsibility
* Platform Update (JDK): Our responsibility
* Application Update (New Version): Our responsiblity

Installing Some Java application on PaaS (Elastic Beanstalk)

  • In Elastic Beanstalk we are responsible for Application Versions
  • Os updates and platform updates are managed by AWS
    Preview
    Preview
  • Note: If you want any custom platform, it is recommended to use Docker.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner