Giter VIP home page Giter VIP logo

test-web-app's Introduction

test-web-app

Overview

This project is a simple Spring Boot application intended to demonstrate some deployment automation capabilities of AWS Elastic Beanstalk.

Application code build process

The application code is taken from the public Spring REST app example code here; the documentation there can be used to interact with the application to test the database connection of the app and perform CRUD operations on the 'People' objects in the database.

If desired, the user can (re)generate the deployable jar file by running ./gradlew build in the project root directory. This is not necessary, however, as the jar is already generated for convenience here.

Deployment Process

To deploy the app, perform the following:

  1. in properties.sh, change the values of ACCOUNTID and KEYNAME to the AWS account number and the key name for that account to be used to interact via the Elastic Beanstalk CLI.
  2. generate a local RSA ssh keypair with the same name as KEYNAME to be used to interact with AWS
  3. replace the value default_ec2_keyname: AKIAJ74PSHZK4GJOFHDA in .elasticbeanstalk/config.yml with the new value for KEYNAME
  4. from the project root directory, execute bash eb-create.sh to create the EC2 stack and deploy the Spring Boot application jar to the generated infrastructure

test-web-app's People

Contributors

dalisch avatar

Watchers

 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.