In the last post, we launched the instance and set it up with the free tiers on AWS. 

In this post, we will use Remote Desktop Connection and upload JDK, Oracle, and Apache Tomcat in the Remote Desktop. 

 

Open the Remote Desktop Connection and insert the public IP address. 

Log in with the Administrator. 

You will see this Remote Desktop after you enter the decrypted password from AWS. 

Here, download JDK, Oracle, and Apache Tomcat. 

In the Server Manager, go to Services. 

In the Services, set Apache Tomcat's Startup type, Automatic.

To set the firewall, 

Now, when you enter the public IP in your localhost, you will see that it is connected. 

 

We will create a new Database Connection in the localhost Oracle SQL Developer to connect Oracle.

To deploy the tables that have already been made, we will create an account that already has a table. 

create user spring identified by spring123;

grant connect, resource to spring;

Create aws_spring in SQL Developer and Spring. 

We will deploy a spring project named springboard, so go to the sql file, and change the connection's name to aws_spring. Then, create a table and a sequence. It will 

Export the project as WAR. Unzip the file and import it to the Remote Desktop. 

Import the project in the root folder where the Apache Tomcat is set. 

Delete these sample files, copy the project from the localhost, and paste into the Remote Desktop. 

Now it is all done. Enter the Public IP Address to see if it is well done.

Look! It works! 

+ Recent posts