Posts

Creating Spring Boot MVC application with AWS DynamoDB in 10 mins

Image
Building a Spring Boot MVC Web App with DynamoDB for a Game Leaderboard In this article, we’ll walk through the process of building a Spring Boot MVC web application that interacts with an Amazon DynamoDB table to display a game leaderboard. The application will allow users to view top scores for specific games, retrieve scores for individual users, and display all scores for a particular user. We’ll also explore how to use the AWS SDK for Java to interact with DynamoDB. Prerequisites Before diving into the Spring Boot project, ensure the following prerequisites are met: DynamoDB Table Setup : Create a DynamoDB table named leaderboard with the following schema: Partition Key: user_id Sort Key: sk Global Secondary Index (GSI): sk-top_score_index with sk as the partition key and top_score as the sort key. AWS CLI Configuration : Configure the AWS CLI to connect to your AWS account. This setup is necessary...

AWS DynamoDB Scan and Query (with hands-on demo)

Image
There are two types of read operation in DynamoDB. You can know the difference between them in this video.  Source of the demo code: https://github.com/babysteps-topro/DynamoDBQueryScan.git Prerequisite: Install the AWS CLI: https://youtu.be/pE-Q_4YXlR0 Video explain the table design: https://youtu.be/V0GtrBfY7XM

AWS DynamoDB Table Design in 10 mins

Image
AWS DynamoDB is a serverless, key and value pair NOSQL database. The schema design concept is different from traditional relational database. You can understand the DynamoDB table design within 10 minutes in this video. 

AWS CLI (command line Interface) in 3mins

Image
The AWS Command Line Interface (CLI) is a tool to manage with your AWS services. This video shows you how to install, configure and run some S3 command to interact with S3 bucket. 

Develop Spring boot REST API in AWS - PART 4/4 (CodePipeline / CI CD)

Image
This is the last video (part4) in this demo series. We will demonstrate how to create the whole CICD pipeline in this tutorial video. It involves the following steps: (1)  Create CodePipeline (2) Add build stage to pipeline (3) Add deploy stage to pipeline (4) Add manual approval step to pipeline Thank for watching! Source Code: https://github.com/babysteps-topro/aws-springboot-pipeline1.git

Develop Spring boot REST API in AWS - PART 3/4 (CodeDeploy / Blue Green Deployment)

Image
In this video tutorial (part3), I have demonstrate the blue/green deployment of  the Spring boot REST API.  I will show you the the following steps in the demonstration: (1)  02:12 Create IAM role (2)  04:07 Create an Application Load Balancer (3)  07:27 Create Security Group For ECS cluster (4)  09:09 Create ECS cluster (5)  11:24 Create Task Definition (6)  14:00 Create ECS Service (7)  17:53 Create CodeDeploy In the next part, I will demonstrate the whole CI/CD pipeline.

Develop Spring boot REST API in AWS - PART 2/4 (ECS Cluster)

Image
In this video tutorial (part2), we continue to explore developing spring boot REST API on AWS. We will focus on ECS in this part. It involves the following steps: (1) AWS ECS Basic  (2) ECS Cluster demo (3) ECS Task Definition demo (4) ECS Service demo Thank for watching! In the next part, I will discuss the CodeDeploy. Source Code: https://github.com/babysteps-topro/aws-springboot-pipeline1.git