Spring Data Collector Setup
Here we will give details about How you can create spring-data-colllector Jar file file and execute it in AWS, it’s content along the deployment steps to deploy the application into AWS.
Login in your aws section.
Go to on Elastic Beanstalk Section and create New Application.
Give any name of application name:
Spring-data-collector
Platform :
java
, Platform branch:Corretto 8 running on 64bit Amazon Linux 2
, Platform version:3.4.4 (Recommended)
Application code : Select Upload File
Source code origin: Upload from local
Download the attached file and upload the
spring-data-collector-1.0.2-exec.jar
file
Click on
Configure More Options
Button and set Other Variables.Instances Section: Root volume Size(GB) should be greater then from 20 GB.
Capacity Section: Environment type
: single instance,
Instance types:t2.small,t2.medium
Softwire Section set environment variables:
Required Environment Variable
JAVA_TOOL_OPTIONS = "-Xms3072m -Xmx3072m" ACTIVE_PROFILE = prod JIRA_CLOUD_AUTH_ADDONKEY: datapluginweb SPRING_DATA_MONGODB = (Your Mongo DB LIKE "mongodb://admin:123456@localhost:27017/master?authSource=admin") PORT = 8088
Required Environment Variable (
Default all value is true
)SCHEDULER_DATA_JIRA_CLOUD_ENABLE = true SCHEDULER_DATA_JIRA_SERVER_ENABLE = true SCHEDULER_DATA_BITBUCKET_ENABLE = true SCHEDULER_DATA_GITHUB_ENABLE = true SCHEDULER_DATA_SONAR_ENABLE = true SCHEDULER_DATA_CODESHIP_ENABLE = true SCHEDULER_DATA_TRAVISCI_ENABLE = true SCHEDULER_DATA_JENKINS_ENABLE = true
After Set All things Create App button.
After few minuets Application is On and Running. You can check application is running or not from log file or click on
Go to environment
check open pageÂ
If showing 502 error then add port 8088 in EC2 Inbound rules.
Go to EC2 Page and Find the created Instances
And select Security Tab and check
Inbound rules
Edit the security group and add 8088 port.Update the rules.
Recheck the environment url.
After Running Application Data Will Fetch for your instances.
Â
Â
Â