AWS Classroom Series – 10/Jun/2020

Running Applications on AWS IAAS (EC2)

  • refer here for system setup
  • Create an ec2 instance
  • login into that and install java and tomcat
  • execute spring petclinic after downloading it gameoflife
sudo apt update
sudo apt install openjdk-8-jdk -y
sudo apt install tomcat8 -y
cd /var/lib/tomcat8/webapps
wget https://referenceappkhaja.s3-us-west-2.amazonaws.com/gameoflife.war

# in different vm
sudo apt update
sudo apt install openjdk-8-jdk -y
wget https://referenceappkhaja.s3-us-west-2.amazonaws.com/spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar
java -jar spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar

Sample Java Application

AWS Elastic Beanstalk

  • Elastic Beanstalk can help in quickly deploy & manage apps in the cloud without having to worry about infra to run the apps.

  • Sample Execution

  • Sample Workflow with Beanstalk

  • Terms in Elastic Beanstalk

    • Platform
    • Application
    • Environments
    • WebServer
    • Worker
    • Versions

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%