Download presentation
Presentation is loading. Please wait.
Published byShwetha S Modified over 3 years ago
1
DEPLOY SPRING-BOOT APPLICATION IN AWS USING EC2 AND S3
2
ABSTRACT As we know that cloud computing is the trending technology which can be accessed anywhere and anytime with high security, elasticity, reliability, etc. The web sites has it’s own disadvantages at few times so making that project to deploy in cloud make convenient to people and with providing security to their data. So here in this paper we are deploying the pet-clinic project(java) in cloud to make convenient to customers to access services of pet-clinic 24/7.
3
TECHNOLOGIES USED Spring-Boot Maven Putty AWS (Amazon web services)
EC2(Elastic Compute Cloud) S3(Simple Storage Service)
4
SPRING-BOOT Spring-Boot is basically a spring module which aims to simplify use of spring framework for java development. It is used to create standalone spring based applications which we can just run. so it basically removes a lot of configuration and dependencies and aims at rapid application development.
5
DISADVANTAGES OF SPRING-BOOT WEB APPLICATIONS
No elasticity and cannot handle very heavy loads. No multitenant. Quantitative measurement of the services. One particular platform. Peak load transactions cannot be handled.
6
MAVEN Maven is build automation tool that helps in project management, the tool helps in building and documenting the project. The tool is used to build and manage any java-based project, It simplifies the day-to-day work of java developers and helps them in their projects. The java code is installed using mvn clean install command. BUILD AUTOMATION TOOL: Generating source code. Generating documentation from source code. Compiling of source code. Packaging of the complied codes into JAR files. Installing the packaged code into local repository.
7
MAVEN INSTALLATION
8
MAVEN INSTALLATION
9
AWS(EC2)
10
AWS(EC2) CREATION
11
AWS(EC2) CREATION
12
AWS(EC2) CREATION
13
EC2 INSTANCE CREATION After clicking on Red Hat Enterprise linux click on next buttons ,do not change any default settings then instance will be created and key will be downloads ,then click on view instances to see the running instances.
14
EC2 INSTANCE After creating EC2 instance a key pair will be generated.
Copy that key pair in putty gen and save key by clicking on save private key.
15
AWS(S3) Amazon S3 stands for Simple Storage Service.
Click on create bucket to store the .jar file. Give a unique name to bucket. Disable the block all public access.
16
S3 CREATION In bucket created, upload the .jar file and give permission as public in edit bucket policy.
17
PUTTY Putty is a free and open source terminal emulator, serial console and network file transfer application. It can also connect to serial port. To connect this EC2 instance to putty copy public IP address in EC2 and open putty and paste that address in Hostname or IP address field. Install jdk. Install wget (yum install wget –y). Run java .jar (java –jar spring-petclinic jar).
18
PUTTY After entering IP address click and copying the key pair then click open, then terminal will be opened.
19
PUTTY Finally the project will be running in the background.
20
DEPLOYING Finally, paste the DNS address in EC2 in url and enter, the page will be displayed.
21
REGISTRATION
22
CONCLUSION Web application is not flexible so we are deploying the project in cloud. By deploying in cloud anybody can access anytime and anywhere without wasting time to travel to the pet clinic and gather information from their, so it’s easy to search in the website which is in cloud and register in that website and use the services according to customer choice. If customers need any other elements included that will be updated in website and any help is need that is also provided through communication.
23
THANK YOU
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.