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

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • 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 yum.corretto.a...
    sudo curl -L -o /etc/yum.repos.d/corretto.repo yum.corretto.a...
    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:
    github.com/cyp...
    JWT IO:
    jwt.io/
    Recommendation:
    Spring Security:
    • UPDATED: Spring Securi...
    PLEASE SUPPORT THE CHANNEL:
    Donate from $5
    Link: paypal.me/cypc...
    Thank you very much for watching. Please do Like and Subscribe
    A DAY IN THE LIFE OF A SOFTWARE ENGINEER
    A DAY IN THE LIFE OF A SENIOR SOFTWARE ENGINEER
    A DAY IN THE LIFE OF A SOFTWARE DEVELOPER
    A DAY IN THE LIFE OF A SENIOR SOFTWARE DEVELOPER
    A DAY IN THE LIFE OF A JAVA DEVELOPER
    A DAY IN THE LIFE OF A SPRING BOOT DEVELOPER

Комментарии • 1