Amazon Route53 ensures that your applications are available with minimal amount of downtime. Let us see how we configure disaster recovery scenario using Route53.
Application class in Spring boot is used to bootstrap and launch the Spring application from a Java main method. This class automatically creates the ApplicationContext from the classpath, it scans the configuration classes and launches the application.
The full form of POM is Project Object Model. It is a fundamental unit of work in Maven. pom is a XML file that contains information about the project and configuration details used by Maven to build the project.
We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. 🙂 Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
Mockito is an open source framework that allows you to easily create mocks (test doubles). Mocks are objects that have return values to method executions made during the test and has recorded expectations of these executions. Mocks can also throw an exception if they receive a call they don’t expect. They are checked during verification to ensure … Continue reading Mockito 101 – Unit Testing in Java Apps
Whoa so you just pulled from the master branch and lost your local changes which were committed but not pushed to repo? No problem!! You can use the following command: $ git reflog show "reflog" is used to reference logs, record when the tips of branches and other references were updated in the local repository. … Continue reading How do you undo a git pull or git merge?
In this tutorial we will see how we can quickly get started with Microsoft Azure and create a simple web app on WordPress and deploy the same on Azure Prerequisites for this are Azure Free Subscription. and absic knowledge of cloud concepts Login into your Azure Portal. Click on "Create Resource" Azure Portal Search for … Continue reading Creating and Deploying a Quick WordPress app on Azure
Getting started with Azure requires PowerShell & Bash CLI and best to install PowerShell Core rather than pre-installed Windows PowerShell to make use of advanced Azure Modules. Here is how to get started with installation! Download PowerShell Core v6.2 from https://github.com/PowerShell/PowerShell/releases We can then install Azure modules in PowerShell Core using below command. This command … Continue reading Installing and setting PowerShell Core
You can copy the files from your EC2 server to an S3 bucket via AWS CLI in following way: SSH into your EC2 instanceConfigure AWS CLI on your EC2 instance $ aws configure Make sure the EC2 instance has a role assigned which has permissions to read and write to S3 bucketTry running below command … Continue reading Copying files from EC2 server to an S3 bucket
This blog post will show you how to create an S3 bucket in AWS using four ways using AWS Management Console, AWS Cloudformation and Terraform! Let us begin! First Way: Directly using S3 Management Console Go to AWS management console > Go to S3 Service Click on create bucket button and provide details for the … Continue reading Creating AWS resources in four ways using AWS Console, CLI, CloudFormation and Terraform!
Let us see how can we setup Terraform CLI on Windows and create some resouces on AWS cloud. Step 1: Download terraform from https://www.terraform.io/downloads.html Step 2: Unzip the file and place it in desired location Step 3: Set path in System Environment Variables Step 4: Test the installation CMD prompt Step 5: Configuring and Creating … Continue reading Terraform Setup on Windows to create AWS resources