Amazon EC2 Instance and S3 bucket Setup and Run Springboot Microservice | AWS EC2 Setup
In this video we will learn aws EC2 instance setup from beginning. Also, learn setting up S3 bucket and deploy springboot microservice in EC2 sever. Creating aws linux EC2 instance from AWS management console. Adding a rule in the security group for the port you are using to host your application. Here, I am using the default port 8080. Login to EC2 instance from local terminal using secret key pair.
Learn to create S3 bucket and security configuration of S3 bucket. Uploading the war or jar file to S3 bucket with the appropriate security setting. Transfer the jar from S3 bucket to AWS EC2 instance.
Login to EC2 instance using terminal or putty tool and install Java run time environment in EC2 instance to run microservice. Now start springboot microservice with appropriate spring profile and test api.
** Introduction of AWS EC2 Instance **
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. Amazon EC2 enables you to scale up or down to handle changes in requirements or spikes in popularity, reducing your need to forecast traffic.
** Benefits of AWS EC2 Instance **
AWS enables you to select the operating system, programming language, web application platform, database, and other services you need. With AWS, you receive a virtual environment that lets you load the software and services your application requires. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage.
** Topics Covered **
1. Introduction to AWS EC2 Server
2. Explaining the EC2 and S3 Architecture ?
3. Creating Springboot Microservice from beginning
4. Create AWS EC2 instance
5. Create firewall rule to allow TCP port for microservice application
6. Connect to EC2 instance from local terminal or putty using secret key pair
7. Create S3 bucket and upload microservice JAR file
8. Copy microservice jar from S3 bucket to EC2 instance
9. Start springboot microservice application in EC2 instance
10. Test springboot api
** Chapter Timestamps **
0:00 Welcome to AWS EC2 Setup
0:58 Agenda of the video
2:17 Discussing EC2 architecture
3:32 Discussing S3 architecture
4:51 Create springboot microservice project
7:50 Create AWS EC2 Instance
10:20 Create secret key pair for EC2 instance
11:31 EC2 Network security group setting
12:24 Creating firewall rule to open port for microservice
13:39 Connect AWS EC2 Instance from local terminal or putty tool
15:50 Create aws S3 bucket
17:19 Upload microservice jar to aws S3 bucket.
18:58 Copy springboot microservice jar from S3 bucket to EC2 instance
19:35 Install Java in aws EC2 instance
20:35 Start springboot microservice application in aws EC2 instance
21:57 Testing springboot microservice running in aws EC2 instance
领英推荐
?
** CHECK OUT OUR OTHER VIDEOS **
Spring boot project setup: https://youtu.be/bsgA20eJKxs
Spring Boot Microservice with postgres database Project: ?https://youtu.be/iw4wO9gEb50
Prepare Docker file, Container and Build Image: https://youtu.be/g_pdTzjnuso
Deploy Docker Image AWS Elastic Container Service: https://youtu.be/ZlR5onuwZzw
Run MongoDB in Docker Container: https://youtu.be/r4Yl4SO1BiA
?
** CHECK OUR PLAYLISTS **
Spring Boot Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvg_VlNmszrb-Um0wRx5yGDF
Docker Containers Complete Tutorial
Java Design Pattern Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvglL0xl-4tgBAribrcjeuNH
GITHUB Repository Tutorial | Complete Guide to GITHUB for Beginners
https://www.youtube.com/playlist?list=PL2NZAYdLkYvh5inIifHYlpAX10IE3vVGS
??
** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages.
Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge.
Check out our channel here:
Don’t forget to subscribe!
** OUR WEBSITE **
** GET IN TOUCH **
Email us on [email protected]
FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Twitter: https://twitter.com/codeonedigest
Facebook: https://www.facebook.com/codeonedigest
Instagram: https://www.instagram.com/codeonedigest/
Reddit: https://www.reddit.com/user/codeonedigest
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest: https://in.pinterest.com/codeonedigest/