Jul 14, 2021How to stop/start EC2 instances scheduler with serverless and CDK tool?In this article, I would like to share one of effective way to save and optimize aws cost with EC2 instances using AWS Serverless technologies with zero cost implementation. This is a short article to explain a demo project and you can download the source code java/python code on GitHub…AWS Lambda3 min read
May 20, 2021Monitoring CPU RAM HDD EC2 instance and alert the alarm to MS-TeamAWS offers many services to manage your infrastructure as well as the monitoring what happening with the services. You can alert the error message either to Email or SMS or other services. Use case : In the real scenario, your company or organization would like to monitor the EC2 instances…Lambda3 min read
Oct 3, 2020How to stop/start AWS RDS with AWS lambda function or AWS CLI by cronjob expressionNowadays, The AWS RDS provides and supports many database instances such as SQL Server, Oracle, MySQL, MariaDB, and PostgreSQL. You can easily create, configure, and manage the AWS RDS SQL Server in AWS dashboard console web UI. …Lambda5 min read
Published in Javarevisited·Sep 1, 2020Trigger the alert message to MS-Team using AWS SNS and Lambda functionAWS offers many services to manage your infrastructure as well as monitor what happening with the services. You can alert the error message either to Email or SMS or other services. In this article, I would like to share how to send the message to Microsoft-Team from AWS Cloudwatch alert…Lambda3 min read
Aug 1, 2020RabbitQM with SpringbootIn this article, I will demonstrate using RabbitMQ with Springboot technologies. RabbitMQ: https://www.rabbitmq.com/ Springboot: https://spring.io Today, most applications are designed as decoupled into smaller microservices, independent building blocks that are easier to develop, deploy, and maintain. The Message queues can provide communication and coordination for these distributed applications.Rabbitmq7 min read
Published in Javarevisited·May 15, 2020How to prevent deleting files/directory accidentally in Unix system?sophea/bash-script-sample Permalink GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com By default, the chattr command is available in most modern Linux operating systems. The default syntax of chattr command is: chattr [operator] [switch] [filename] The chattr has the following operators. The operator ‘+’ causes the selected attributes to be added to the existing attributes of the files.Linux4 min read
Published in Javarevisited·Apr 13, 2020What are the new features for Java 14?Java 14 is now available! Java 14 (Java SE 14) and its Java Development Kit 14 (JDK 14) open-source has been released on 17 March 2020, the most common coding language and application platform in the world. New Features Here are the new features for Java 14. References: https://openjdk.java.net/projects/jdk/14/) For Developers : …Java5 min read
Published in Javarevisited·Mar 4, 2020How to enable HTTPS Locally without getting Annoying Browser PrivacyErrors in a Spring Boot ApplicationSetting up HTTPS locally can be a tricky way when you manage own certificate as self-signed certificates, you might still end up with browser privacy errors. Most of SSL configuration in the localhost environment, you often get the browser complaining that your connection is not private as below.Openssl7 min read
Feb 15, 2020Springboot JPA Rollback distributed Transaction with multi databasesIn this tutorial, we will discuss how to configure rollback transactions for multiple database connections, how to use @Transactional and some common pitfalls. For this article, we will talk about making distributed transactions using ChainedTransactionManager and we will use two databases (Oracle and SqlServer). For example, the sample spring-boot application…Spring Boot2 min read
Feb 9, 2020Monolithic and MicroservicesIn this article, we will discuss the application models as Monolithic and Microservices as well as the pros and cons for each approach.4 min read