Giter VIP home page Giter VIP logo

apprunner-hotel-app's Introduction

AppRunner Hotel App

Note: This is not Production grade and simply meant as a demo

Description

This project provisions the base layer infrastructure to demonstrate how AppRunner leverages a VPC Connector to interact with a DB in a private subnet.

AWS Services

  • VPC (private + public subnets, IGW, NGW)
  • Aurora MySQL in private subnet
  • VPC Connector for AppRunner and requisite security groups
  • Secrets Manager for DB credentials

Note : AWS App Runner is currently available in these regions:

  • us-east-1
  • us-east-2
  • us-west-2
  • ap-northeast-1
  • eu-west-1

Deployment Instructions

  • Select a region where App Runner is available
  • Create a Cloudformation stack using base-infra.yaml
  • Deploy the application using the AppRunner Console.
    • Source
      • Point to your Github repo
    • Configure Build
      • Runtime: Nodejs 16
      • Build command: npm install
      • Start command: npm start
      • Port: 8080 (default)
    • Configure service
      • Environment variable:
        • MYSQL_SECRET: DBSecret ARN (Provisioned by base-infra.yaml. See Outputs tab)
        • HOTEL_NAME: HotelName ARN (Provisioned by base-infra.yaml. See Outputs tab)
      • Security: AppRunnerHotelAppRole (Provisioned by base-infra.yaml)
      • Networking:
        • Custom VPC: AppRunnerV2NPrototype-RDS-Connector (Provisioned by infra.yaml)
      • Observability: Enable Tracing with AWS X-Ray

Teardown Instructions

  • Go to AppRunner console and delete the service.
  • Go to Cloudformation and delete the stack.

apprunner-hotel-app's People

Contributors

niallthomson avatar srijitm avatar nleut avatar dependabot[bot] avatar amazon-auto avatar redacted-aws 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.