Create and deploy full-stack Spring Boot applications with React and AWS. This practical and authoritative guide teaches you the fundamentals of Amazon Web Services with no prior experience.
You will start by learning the fundamentals of AWS, including EC2, S3, IAM, and load balancer. Next, you will learn to deploy a Spring Boot REST API to AWS with Elastic Beanstalk, which will give you the ability to build and deploy a Spring Boot application. You will explore the RDS relational database and create an instance of a MySQL database in AWS with RDS.
You will then deploy a Spring Boot application to MySQL in AWS and deploy a full-stack Spring Boot React application to AWS using Elastic Beanstalk and S3. Lastly, you will be introduced to ELB, CloudWatch, and Route 53. By the end of this book you will understand full-stack Spring Boot React applications and their deployment. If you prefer "learning by coding" then Spring Boot with React and AWS is the book for you.
What You'll Learn
- Review the fundamentals of Amazon Web Services
- Install a Spring Boot REST API with CRUD operation to AWS using AWS Elastic Beanstalk
- Deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3
- Work with MySQL as a database in AWS using RDS
- Use Spring Boot with React and AWS
Who This Book Is For
Ideal for readers who have some programming experience with Java, Spring Boot, and React, and who now want to deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3.
Ravi Kant Soni is a Principal Full Stack Engineer with 11+ years of IT experience and is an AWS Certified Solutions Architect. Ravi has worn many hats throughout his tenure, ranging from software development, software design, systems architecture, application programming, and automation testing. Ravi has a Bachelor's degree in Information Science and Engineering from Reva University, Bangalore; and schooling from Bal Vikash Vidyalaya, Sasaram, and Bihar (India). He is the author of Full Stack AngularJS for Java Developers (Apress, 2018), Spring: Developing Java Applications for the Enterprise (Packt, 2017), and Learning Spring Application Development (Packt, 2015). He is also an Esteemed Member of the BOS (Board of Studies) - School of Computing and IT, at Reva University, Bangalore.
Chapter 1: An Introduction to Amazon Web Services
Chapter Goal: An Introduction of Amazon Web Service (AWS). And, then we will be creating a Free AWS Account for Developer. We explore AWS Elastic Beanstalk and will create a server. Then, we create HelloWorld JSP application. We will build a WAR file with Maven and upload WAR to AWS Elastic Beanstalk.
No of pages
1. Introduction to Amazon Web Service
2. Create a Free AWS Account for Developer
3. Explore and Create an AWS Elastic Beanstalk Server
4. Create HelloWorld JSP App, Build WAR with Maven, and Upload WAR to Elastic Beanstalk
Chapter 2: Deploying Spring Boot Application as REST API in AWS
Chapter Goal: Creation of Java Spring Boot Application as REST API with Swagger in Local. And, then we test REST API in Local. We build jar for Spring Boot Application and deploy JAR in AWS Elastic Beanstalk. Then, we will explore AWS environment logs of Spring Boot Application.
No of pages: 35
Sub - Topics
1. Create a Spring Boot Application as REST API with Swagger in Local
2. Test Spring Boot Application as REST API in Local
3. Build jar for Spring Boot Application as REST API
4. Deploy Spring Boot Application as REST API in AWS Elastic Beanstalk
5. Explore Logs from AWS Beanstalk
Chapter 3: Deploying MySQL as Database in AWS with RDS
Chapter Goal: In this chapter, we introduce Relational Database Service in AWS with RDS. Then, we create an Instance of MySQL Database in AWS, and configure Database. We create tables inside MySQL Database
No of pages : 25
Sub - Topics:
1. Overview of MySQL Relational Database Service in AWS with RDS
2. Create an Instance of RDS Database in AWS
3. Configure Database
4. Create tables inside Database
Chapter 4: Deploying Spring Boot Application Talking to MySQL in AWS
Chapter Goal: An overview of CRUD operation in Spring Boot Application. We create RDS profile for Spring Boot Application talking to MySQL. We setup Spring Boot Application to connect to RDS relational Database. We deploy WAR to AWS Elastic Beanstalk and test AWS deployment of Spring Boot application to perform CRUD operation. And, we explore AWS environment logs of Spring Boot Application.
No of pages: 40
Sub - Topics:
1. An Overview of CRUD operation in Spring Boot Application
2. Create RDS profile for Spring Boot Application
3. Code Review of Spring Boot Application talking to MySQL
4. Setting up Spring Boot Application to connect to RDS Database
5. Deploy Spring Boot CRUD Application WAR to AWS Elastic Beanstalk
6. Testing Spring Boot Application AWS Deployment
7. Exploring Environment logs of Spring Boot Application in AWS
Chapter 5: Deploying Full Stack Spring Boot React Application in AWS and S3
Chapter Goal: Explore Full Stack Spring Boot React Application. We develop and Run React as Frontend application in local. First we deploy Spring Boot REST API as Backend application to AWS Elastic Beanstalk. Then we build React Code as Frontend application for AWS deployment. Also, we introduce S3 as Simple Storage Service in AWS.
No of pages: 35
Sub - Topics:
1. Explore Full Stack Spring Boot React Application
2. Develop and Run React as Frontend Application in Local
3. Deploy Spring Boot REST API as Backend Application to AWS Elastic Beanstalk
4. Build React Code as Frontend Application for AWS Deployment
5. Introduction to S3 - Simple Storage Service in AWS
6. Deploy React Frontend to AWS S3 - Hosting Static Website
Appendix A: Installing MySQL Workbench on Windows
No of pages: 10
Appendix B: AWS Command Line Interface CLI
No of pages