You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview description of this project: This a mock module that I have researched about technologies used in practical projects and I have implemented it in this project.
Technologies are used
Use Java version 17, Spring framework version 3
Use services of AWS
RDS
CloudWatch
SSM
BeanStalk
IAM
EC2
Setup CI/CD deploy application
GitHub Action
Terraform
Redis cache data.
install and start Redis
npm install -g redis-commander
redis-commander
start command line and access localhost and you can see this through picture below:
Separate environments to testing.
qa
silo-5
prod
uat
Use Splunk to monitoring logs
Use Thymeleaf as template to send mail
Use logback and log4j2.
Steps by Steps to Implement.
Set up to connect application with SSM AWS and create parameter store.
* Import dependencies
Important
attention to the Java version and Spring boot version, maybe when you import dependencies will occur error because of not integrated version.
Create RDS and configure username, password, rules RDS.
Note
You have to set up inbound rules for your RDS and public accessible.
after we created success as this below:
We can monitoring status and workload database.
Connect MySQL with RDS: go ahead AWS RDS and copy the endpoint and paste it into hostname at MySQL workbench.
Separate environment for parameter store in SSM
create application-prod.properties, bootstrap-prod.properties and then use spring.profiles.active=name_enviromentor you can set up in active environment in intellij IDEA
Step 3: Create CloudWatchAppender class to handle logs, you can see this class in my sources code.
Step 4: When you can set up successfully, you can monitoring logs of application in cloud watch, if you want to look for a log, only click Logs insights tab and use the command line with filter by correlationId attached each request.
About
This is a module to implement technologies that I have learned from practical project at my company.