Deploying Spring Boot Application in AWS using EC2 & S3 | Microservices Deploy | Maven Clean Install

Описание к видео Deploying Spring Boot Application in AWS using EC2 & S3 | Microservices Deploy | Maven Clean Install

Deploying Spring Boot Application in AWS using EC2 & S3 | Microservices Deploy | Maven Clean Install

This video demonstrates how to deploy your Spring boot Application using AWS EC2 instance and S3 Storage. Spring Boot 3 Microservices Architecture, Java 17, AWS RDS Postgres Database .

You'll discover how simple it is to use deploy your application and access your application after deployment, create all required Spring Profiles (Localhost, Test, UAT, Production) as well as environments (Test, UAT, Production). We'll go through some security rules to make your instance as well as application publicly available. In the end, we'll verify our deployment by sending basic API requests via Postman.

Commands in EC2 Instance:
sudo rpm --import https://yum.corretto.aws/corretto.key
sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo

Install Java:
sudo yum install -y java-17-amazon-corretto-devel
java -version

Import Deployment Artefact:
wget s3-object-url

Run Application on environment profile
java -jar -Dspring.profiles.active=test artifact-name.jar


S3 Bucket Public:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::bucket-name/*"
]
}
]
}


Github:
https://github.com/cypcodestudio/wond...

JWT IO:
https://jwt.io/

Recommendation:
Spring Security:
   • UPDATED: Spring Security 3.0 with Jwt...  

PLEASE SUPPORT THE CHANNEL:
Donate from $5
Link: https://paypal.me/cypcodestudios?coun...

Thank you very much for watching. Please do Like and Subscribe

Комментарии

Информация по комментариям в разработке