Spring Boot with React and AWS: Learn to Deploy a Full Stack Spring Boot React Application to AWS 1st Edition Ravi Kant Soni 2024 scribd download
Spring Boot with React and AWS: Learn to Deploy a Full Stack Spring Boot React Application to AWS 1st Edition Ravi Kant Soni 2024 scribd download
com
https://ebookmeta.com/product/spring-boot-with-react-and-
aws-learn-to-deploy-a-full-stack-spring-boot-react-
application-to-aws-1st-edition-ravi-kant-soni/
OR CLICK HERE
DOWLOAD NOW
https://ebookmeta.com/product/learn-microservices-with-spring-
boot-3-moises-macero-garcia/
ebookmeta.com
https://ebookmeta.com/product/spring-boot-in-practice-final-
release-1st-edition-somnath-musib/
ebookmeta.com
https://ebookmeta.com/product/dawson-alpha-company-renegades-
book-4-1st-edition-kali-hart-hart/
ebookmeta.com
Cambridge Little Steps Level 3 Student s Book Zapiain
https://ebookmeta.com/product/cambridge-little-steps-level-3-student-
s-book-zapiain/
ebookmeta.com
https://ebookmeta.com/product/circuits-packets-and-protocols-
entrepreneurs-and-computer-communications-1968-1988-1st-edition-james-
l-pelkey/
ebookmeta.com
https://ebookmeta.com/product/studies-in-ancient-greek-philosophy-in-
honor-of-professor-anthony-preus-1st-edition-d-m-spitzer/
ebookmeta.com
https://ebookmeta.com/product/intoxication-an-ethnography-of-
effervescent-revelry-1st-edition-sebastien-tutenges/
ebookmeta.com
https://ebookmeta.com/product/alamosa-arena-1st-edition-aaron-crash-
crash-aaron/
ebookmeta.com
Data Modeling for the Sciences: Applications, Basics,
Computations 1st Edition Steve Pressé
https://ebookmeta.com/product/data-modeling-for-the-sciences-
applications-basics-computations-1st-edition-steve-presse/
ebookmeta.com
Spring Boot with
React and AWS
Learn to Deploy a Full Stack Spring
Boot React Application to AWS
—
Ravi Kant Soni
Namrata Soni
Spring Boot with
React and AWS
Learn to Deploy a
Full Stack Spring Boot React
Application to AWS
To my beloved mother,
Smt. Manorma Devi
We love you, Maa. We could never have completed this
book without your true love, warmest support, and
constant encouragement.
Table of Contents
About the Authors��������������������������������������������������������������������������������ix
v
Table of Contents
vi
Table of Contents
vii
Table of Contents
Index�������������������������������������������������������������������������������������������������219
viii
About the Authors
Ravi Kant Soni is a principal full stack
engineer with more than 11 years of IT
experience. He is also an AWS Certified
Solutions Architect. Ravi has experience
in software development, software
design, systems architecture, application
programming, and automation testing. He 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 Build Microservices with Spring Cloud and Spring
Boot (codered eccouncil, 2021), 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 Board of Studies at the REVA
University School of Computing and Information Technology in Bangalore.
Contact Ravi at www.linkedin.com/in/november03ravikantsoni/.
ix
About the Authors
x
About the Technical Reviewer
Karunesh Chandra Tiwari is an IT professional
with ten years of experience and has worked
across distinct technologies and domains. He is
a technologist and speaker and loves to provide
his views on articles and blogs.
Karunesh is a BTech IT graduate from
Anna University. He worked as a full stack
developer for the first half of his career and
currently works with BPM and CRM tools
and cloud-related technologies, including
developing and working with applications for
some of the world’s leading banks. He is a very focused and determined
person and loves to learn, work in new technologies. He loves to mentor
people both from a professional and a personal perspective.
Karunesh enjoys working with new technologies and loves to
mentor people. Check out his LinkedIn profile at www.linkedin.com/in/
karunesh-chandra-tiwari-20b9a82a/.
xi
Acknowledgments
Writing a technical book involves fathomless research, review, and
support. I wrote this book, but it wouldn’t have been possible without the
love and support of many people. I truly want to thank everyone listed
here, from the deep bottom of my heart!
First and foremost, I need to express gratitude toward Michael Gorriz,
Group Chief Information Officer, Standard Chartered Bank, for inspiring
me and giving me the confidence to write this book when I anticipated my
career break. All I can offer in return is a heartfelt thank you!
I want to thank my colleagues at Standard Chartered Bank. I learn
something new every day and enjoy a camaraderie I've never felt in any
company before. I am fortunate enough to work with such an experienced
team that helped me enhance my skills. My gratitude goes to Anshu
Sharma Raja, CIO, Consumer Private Business Banking at Standard
Chartered Bank, and Dr. Ashish Chandra, Location Head- aXess Labs
(Banking Innovation) at Standard Chartered Bank; for their guidance and
strong support.
I want to thank the Apress publishing team for the utmost
professionalism. The one individual who has been the roof of this shelter
is Divya Modi, coordinating editor, for supporting me in the writing of this
book. Also, I would like to express my special gratitude to James Markham,
development editor, whose vision, commitment, and persistent efforts
made publishing this book efficient.
My heartfelt thanks go to the technical reviewer, Karunesh Chandra
Tiwari, for his valuable input.
xiii
Acknowledgments
xiv
CHAPTER 1
An Introduction
to Amazon Web
Services (AWS)
When you hear the word amazon, you likely first think of Amazon.com,
which is one of the biggest and most successful online stores. While
Amazon built its brand on developing online retail services, it has also
branched out into alternative industries, among them the web services
industry, where they have the eponymous Amazon Web Service (AWS),
a form of cloud-computing that assists users develop software, database,
and other programs that need heavy-duty computing resources.
This chapter overviews Amazon Web Services (AWS), including several
AWS key services, such as Amazon Elastic Compute Cloud (Amazon EC2),
AWS Elastic Beanstalk, Amazon Relational Database Service (Amazon
RDS), and Amazon Route 53. It covers creating a free AWS account for
developers, creating an Elastic Beanstalk server, creating a HelloWorld JSP
application, building a WAR file with Maven, and uploading it to Elastic
Beanstalk.
And, the nice thing about using the Amazon Web Services cloud is that
you can be global within minutes because Amazon has worldwide data
centers, as shown in Figure 1-1.
2
Chapter 1 An Introduction to Amazon Web Services (AWS)
3
Chapter 1 An Introduction to Amazon Web Services (AWS)
This was all about an introduction to Amazon Web Services. Let’s dig
into some of the AWS key Services.
4
Chapter 1 An Introduction to Amazon Web Services (AWS)
5
Chapter 1 An Introduction to Amazon Web Services (AWS)
6
Chapter 1 An Introduction to Amazon Web Services (AWS)
E lastic Beanstalk
Elastic Beanstalk is a pre-packaged platform, allowing you to quickly
deploy and handle your web applications without worrying about the
infrastructure. You select a pre-configured virtual machine for your
given web stack, like Java and Tomcat. And, there is no need to install
any additional software’s on the virtual machine. You simply upload the
application’s deployable file, and then you are out there and ready to go.
Elastic Beanstalk automatically provides the application server, language
runtime, operating server, and the host server, as shown in Figure 1-5.
7
Chapter 1 An Introduction to Amazon Web Services (AWS)
It also has support for .NET, Node.js, PHP, Docker, and so on. You can
choose the web stack that gives you all the software’s pre-installed, pre-
configured, and you simply deploy your code.
It’s great for deployment on a web stack, you simply select the services
that you need, and it is set up for you. This is known as platform as a
service, or PaaS. All you have to do is deploy your code.
Now, when you develop Java applications on AWS, you can use your
regular Java EE APIs. You can also use third-party frameworks like Spring
Boot, Hibernate, and anything in standard Java. Whatever you can run
on Tomcat locally, you can run that same code on Amazon. So, there are
no code changes you need to make and no special Amazon JAR files or
anything.
Route 53
Amazon Route 53 is a Domain Name System (DNS), which allows you to
route your custom domain names to your actual application on AWS. So,
you configure Route 53 to send requests from the browser to your AWS
application. The AWS DNS sets up your custom domain name.
8
Chapter 1 An Introduction to Amazon Web Services (AWS)
9
Chapter 1 An Introduction to Amazon Web Services (AWS)
If you need to have some more advanced features, then you must
pay and get access. This book uses the free tier. If you would like more
information on the free tier, go to https://aws.amazon.com/free/.
In your web browser, go to https://aws.amazon.com to open the
Amazon Web Services home page (see Figure 1-7; this screenshot may be
different on your screen due to any updates by Amazon).
10
Chapter 1 An Introduction to Amazon Web Services (AWS)
11
Chapter 1 An Introduction to Amazon Web Services (AWS)
12
Chapter 1 An Introduction to Amazon Web Services (AWS)
Finally, select the little check box at the bottom to show that you have
read and agree to the terms of the AWS Customer Agreement, and then
click the Continue button.
You receive an email from AWS to confirm that your AWS account has
been created. You can sign in to your new account using the email address
and password you registered with. However, you can’t use AWS services
until you finish your account activation.
Billing information is where you must enter your credit or debit card
number and so forth, as shown in Figure 1-10. It is used for verification
purposes.
13
Chapter 1 An Introduction to Amazon Web Services (AWS)
Amazon does not charge your card unless your usage exceeds AWS
Free Tier limits. In this book, everything that we show you is within the
Free Tier limits.
AWS requires phone number verification, as shown in Figure 1-11.
Choose your country or region code from the list, enter a phone number
where you can be immediately reached, and enter the characters displayed
in Security Check.
14
Chapter 1 An Introduction to Amazon Web Services (AWS)
Once you type the security check characters, click the Call Me Now
button. A verification code is displayed on the screen, and at the same
time, you get a call from Amazon to verify your registered phone number.
You must enter the PIN you received and choose to continue. Once your
identity has been successfully verified, you can see on the window that
your phone is verified, and you are redirected to the next screen to choose
your support plan, as shown in Figure 1-12.
15
Chapter 1 An Introduction to Amazon Web Services (AWS)
Choose the support plan that meets your needs. Select the Basic Plan
for free support. Click the Free button, and you are redirected to the AWS
Registration Confirmation page.
Now you can sign in to the AWS Management Console. Go to https://
console.aws.amazon.com to start using AWS.
Select Root user, enter your AWS account email address, and click the
Next button, as shown in Figure 1-13.
16
Chapter 1 An Introduction to Amazon Web Services (AWS)
Next, enter your AWS account password, and click Sign in, as shown in
Figure 1-14.
17
Discovering Diverse Content Through
Random Scribd Documents
The Project Gutenberg eBook of The Death of
Captain Wells
This ebook is for the use of anyone anywhere in the United States
and most other parts of the world at no cost and with almost no
restrictions whatsoever. You may copy it, give it away or re-use it
under the terms of the Project Gutenberg License included with this
ebook or online at www.gutenberg.org. If you are not located in the
United States, you will have to check the laws of the country where
you are located before using this eBook.
Language: English
i
One of a historical series, this pamphlet is published under the direction of
the governing Boards of the Public Library of Fort Wayne and Allen County.
The members of this Board include the members of the Board of Trustees of
the School City of Fort Wayne (with the same officers) together with the
following citizens chosen from Allen County outside the corporate City of Fort
Wayne.
James E. Graham
Arthur Niemeier
Mrs. Glenn Henderson
Mrs. Charles Reynolds
1
FOREWORD
The character of William Wells remains an enigma, for his life has
long been obscured by conflicting accounts of his role in Indian
affairs. At one time, William Henry Harrison, governor of the Indiana
Territory, thought him untrustworthy and believed that he should be
removed from his position as Indian agent. Wells often appeared to
his contemporaries as a turncoat and a traitor to his own people
because of his sympathy with the red men. Other accounts, chiefly
by his military associates, are earnest tributes to his strength and
valor. Captain Allan H. Dougall, author of the following article,
considered Wells only a “celebrated Indian fighter.”
3
In July, 1812, Captain Nathan Heald, then in command of Fort
Dearborn, notified General William Hull that he was being
surrounded by a furious band of Indians who were in communication
with Tecumseh; Heald desired aid immediately. General Hull sent an
express to Fort Wayne to speed the immediate relief of Captain
Heald and his command. Hearing of the proposed expedition,
Captain William Wells volunteered to go to the relief of Captain
Heald and to act as escort for the soldiers. His offer was accepted;
on August 3, 1812, he set out with thirty hand-picked Miami
warriors, who were friendly, fully equipped, and full of hope and
courage.
Wells had been stolen by the Miami when he was a boy of twelve;
soon afterward he was adopted by Little Turtle, their great chief. He
served with the Indians at the outbreak of hostilities in 1790 and
was present at the defeat of St. Clair near Fort Recovery, Ohio. It is
said, however, that he then began to realize that he was fighting
against his own kindred, and he soon resolved to leave the Indians.
Therefore, he asked Little Turtle to accompany him east of Fort
Wayne to a point on the Maumee known as the “Big Elm.” When the
two had reached this spot, Wells said: “Father, we have long been
friends; I now leave you to go to my own people. We will be friends
until the sun reaches the midday height. From that time we will be
enemies. If you want to kill me then, you may. If I want to kill you, I
may.” He then crossed the Maumee River and set out for General
Wayne’s army. Sometime after reaching Wayne, he was made
captain of a company of scouts. Later he settled north of the St.
Mary’s River on a farm which is still known as Wells Reserve. At this
time he served as Indian agent and as justice of the peace. Wells
also rendered valuable services to General Harrison, governor of the
territory.
4
“...we have long been friends...”
6
to deliver up to you the medal
They advanced along the lake shore, keeping near the water 7
east of the sand hills and banks; these elevations partially
screened them from view. The group had not proceeded far, when to
their surprise the five hundred Potawatomi who had volunteered as
an escort suddenly filed to the right and rapidly disappeared among
the sand hills. As soon as the Indians were out of sight on the west
side of the hills, they crouched down to hide their movements and
ran ahead some distance to form an ambuscade. Then they awaited
the coming of the troops. Riding ahead, Captain Wells had observed
their movements; with his experience he knew immediately that the
party would be attacked. He returned to the troops, dismounted,
assembled the soldiers, and marched them forward. When the little
band had reached a point about one and a half miles from the fort,
the Indians opened fire on them. The company of soldiers charged
up the bank and over the sand hills, firing as they advanced, while
the Indians returned the fire with deadly effect from their sheltered
position. As soon as the fighting commenced, the friendly Miami who
had come from Fort Wayne and had stood by their adopted brother,
Captain Wells, and their white allies, deserted them and took no part
in the fight. Captains Wells and Heald and their small body of troops,
fighting against fearful odds, succeeded in dislodging the enemy
from their sheltered position; but the Indians were so numerous that
part of them were able to outflank the soldiers and to take
possession of their horses and baggage.
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.