Giter Site home page Giter Site logo

aws's Introduction

#Spring AWS Web application The web application which was created for use with this assignment is a SpringBoot Java application which allows users to perform CRUD and sort functions on AWS Services via REST (see Figure 1: spring-aws webapp). The application has an AngularJS client and writes to a MySQL database. The application deployment was completed via docker which will be discussed in further detail in Section 9 - Additional Functionality. This application was designed in order to support a three tier AWS web architecture which entails the following concepts: Public Layer - Application Load balancer receiving and routing traffic to application instances. Application Layer - Web Apps deployed to EC2 servers in private subnets Database layer - Privately accessible RDS instance running MySQL instance with Multi AZ deployment.

Application Details:

Java Run details

  1. Change mysql details in application.properties to match local installation
  2. Ensure aws database is created.
  3. java jar build/libs/aws.jar

Docker Build Details

  1. gradlew build (build latest jar)
  2. docker build -f Dockerfile -t annadowling/spring-aws:versionNumber .
  3. docker push annadowling/spring-aws:versionNumber
  4. On Server: docker pull annadowling/spring-aws:versionNumber
  5. On Server: docker rm --force containerId
  6. On Server: docker rm $(docker ps -a -q)
  7. On Server: docker run --restart always -t --name spring-aws-12 -p 80:8080 annadowling/spring-aws:versionNumber
  8. On Server: sudo systemctl enable docker (enable docker to run on server reboot)

aws's People

Watchers

Anna Dowling avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.