
Learn to deploy a Spring Boot app online on AWS, create a free developer account, add database support, and register a custom domain to showcase your work.
Get an overview of Amazon Web Services as a full cloud platform for hosting and deploying Spring Boot apps and databases globally. Leverage the free tier for online deployments.
Explore AWS key services such as EC2, Elastic Beanstalk, RDS, and Route 53; learn to deploy war files to Tomcat and maintain no vendor lock-in for Java apps.
Compare EC2 and Elastic Beanstalk to deploy Java Spring Boot apps on AWS, highlighting PaaS advantages, embedded Tomcat in the jar, RDS MySQL, Route 53, and auto scaling.
Learn how to create a free AWS account, verify your email, provide contact and payment details, and access the AWS console to explore services within the free tier.
Deploy a hello world Spring Boot 3 app to AWS Elastic Beanstalk, package with Maven, and configure server port 5000 via environment variable or application.properties for deployment.
Download and unzip the hello demo zip, open the spring boot project in IntelliJ, and run a basic hello world locally.
Create AWS service roles using the Identity and Access Management console, then configure an EC2 role with the Elastic Beanstalk web tier and a separate Elastic Beanstalk service role.
Deploy a Spring Boot 3 app to AWS with Elastic Beanstalk, configure a web server, upload the hello demo jar, set server_port to 5000, and publish a public hello world.
Discover how to use the AWS free tier for six months, monitor budgets with alerts, and safely run a Spring Boot app on Elastic Beanstalk with an RDS database.
Deploy a Spring Boot Spring MVC CRUD app with JPA Hibernate, run locally, then deploy to AWS Elastic Beanstalk; use SQL scripts to create a MySQL user and employee table.
Set up a local spring mvc crud app by downloading a zip, importing it into the ide, and reviewing the controller, service, repository, view layers, jdbc properties, and sql scripts.
Develop and run a Spring Boot 3 MVC CRUD application locally by creating a MySQL user and employee table with sample data, then access it at localhost:8080.
Deploy a MySQL database in AWS with RDS and connect it to a spring application. Learn to select the engine, configure settings, and verify connectivity using admin tools.
create a mysql database on aws rds using standard create and free tier template, name instance, set master credentials, enable public access, and configure the employee db vpc security group.
Configure AWS RDS inbound security, test connectivity with MySQL Workbench, and run SQL scripts to create the employee table and load sample data, then verify with the remote endpoint.
Explore Spring Boot profiles to manage multiple environments and databases with profile-specific properties like application-dev.properties and application-prod.properties, and learn how to set the active profile.
Run a local Spring Boot app with the prod profile to connect to the AWS cloud database using application-prod.properties and set spring profiles active=prod.
Package the spring boot app with maven, upload the jar to Elastic Beanstalk, and set environment variables (server port 5000, spring profiles active prod) to connect the database on AWS.
Discover how to move production database details from application properties to AWS environment properties, benefiting from higher priority overrides, and deploy a Spring Boot app to Elastic Beanstalk.
Remove sensitive production data from the properties file and configure AWS Elastic Beanstalk environment properties to use environment variables, including spring data source url, username, and password.
Remove application properties, back up its contents, and use AWS environment properties for the production database; then package with Maven and deploy the Spring Boot app to Elastic Beanstalk.
Encrypt environment properties for Spring Boot apps using AWS Parameter Store and Spring Cloud AWS. Create parameters, grant read access, and import them into application properties via a config path.
Configure the pom.xml with the Spring Cloud AWS BOM and Starter Parameter Store. Enable the prod properties from AWS Systems Manager Parameter Store and deploy the jar to Elastic Beanstalk.
Create and manage encrypted environment properties in AWS Parameter Store by adding secure string parameters for spring data source URL, username, and password, then verify encrypted storage and on-the-fly decryption.
Attach the Amazon SSM read-only policy to the AWS role and configure Spring Boot to load data source properties from AWS Parameter Store using the /config/employee db path.
Update pom.xml to enable AWS Parameter Store with Spring Cloud AWS, add the BOM and parameter store starter, and reload Maven to resolve dependencies for encrypted environment properties.
Package the Spring Boot app with Maven to create a deployable jar, then use AWS Parameter Store to supply encrypted data source URL, username, and password for prod deployment.
Troubleshoot 502 Bad Gateway by reviewing Elastic Beanstalk logs, correcting AWS Parameter Store credentials, updating spring data source properties, and restarting the app to verify the prod environment.
Create a custom domain name for your Spring Boot app on AWS using Route 53 DNS and Elastic Beanstalk. The generated AWS domain is free; a custom domain is optional.
Register a domain with route 53, check availability, complete checkout for a one-year plan, and verify contact details including email before status monitoring.
Configure the domain to point to your Elastic Beanstalk app by creating a www record alias in Route 53, targeting the employee Crud demo environment in the correct region.
Set up an a record alias in the AWS console to redirect to the www dot my spring boot app dot com domain, then test propagation across browsers.
Deploy your spring boot app to the AWS cloud with database support and a custom domain, then share your achievement and rate the course.
UPDATED TO SPRING BOOT 4
STAND OUT FROM THE CROWD BY SHOWCASING YOUR JAVA SPRING BOOT 4 APP ONLINE!
Deploy your Java Spring Boot 4 apps for Live Internet access! no more "localhost" :-)
Includes deploying a MySQL database in the Amazon Cloud (AWS)
---
Benefits of Taking This Java Spring Boot Course
Have you developed a Spring Boot 4 app locally on your computer? Everything is running fine on "localhost". But wouldn't you like to showcase this app to prospective employers for live Internet access?
What you need is a custom domain name and URL that points to your Spring App online. Now, how awesome would it be to share this URL to a prospective employer?
Beyond prospective employers, you can also use this to impress your work colleagues and friends.
In this course, we'll cover all of the steps required to deploy your Java Spring Boot 4 App online to the Amazon cloud.
You Will Learn How To
Deploy a Java Spring Boot 4 App online to the Amazon Cloud (AWS) - Live Internet Access
Create a free AWS Developer Account
Launch an Elastic Beanstalk Server
Deploy a Spring Boot 4 application on Elastic Beanstalk
Deploy a database in the Amazon Cloud
Populate the database with our custom tables and data
Leverage AWS Environment properties
Encrypt sensitive application configuration with AWS Parameter Store
Add a Custom Domain Name that points to our Spring Boot 4 App
Deploy an End-to-End Spring Boot 4 App to the Amazon Cloud
What is the Amazon Cloud (AWS)?
The Amazon Cloud is a suite of online services for application deployment and management. It is similar to a normal web host, but you can use it for much. It has a rich set of features for modern cloud computing.
Do I have to pay to use the Amazon Cloud (AWS)?
No, you do not have to pay. Amazon offers a free developers account for 6 months. Free AWS developer account requires a credit card for registration (no charges to card, verification only).
We'll show you how to set up a free AWS developer account in this course.
Compared to other Spring Boot courses
This is the ONLY course that shows you how to deploy Spring Boot 4 apps to the Amazon Cloud. This will give your apps live Internet access.
No Risk – Udemy Refund
Finally, there is no risk. You can preview 25% of the course for free. Once you purchase the course, if for some reason you are not happy with the course, Udemy offers a 30-day refund (based on Udemy's Refund Policy).
So you have nothing to lose, sign up for this course and learn how to deploy Java Spring Apps Online to the Amazon Cloud!
Target Audience
Java Spring Boot 4 Developers with basic Spring Boot 4 experience