My Docs
DeploymentTrelloCalendar 🗓 Family Promise Roadmap
LAMBDA_LABS_Family_Promise
LAMBDA_LABS_Family_Promise
  • Home
  • navigation
    • Resume
    • My Notes:
    • NAVIGATION
    • Calendar
    • Youtube:
    • Roadmap:
    • TEAM MEMBERS
    • Running List Of Notes Links & Pertinent Info From Meetings
    • Trello
      • Github/Trello Integration
  • UX
    • UX_TOPICS
      • Action Items:
      • Accessibility
      • Figma Notes
        • Tables In Figma
        • Notes
        • Frames in Figma
        • Prototyping In Figma
        • More Notes
      • UX-Design
        • Facebook Graph API
      • Ant Design
        • ANT Components
          • Buttons
        • ANT DOCS
        • Application (Codesandbox)
      • Examples
      • How to add external URL links to your prototype
  • CANVAS
    • Interview
    • Design
      • What's Inclusive Design?
      • Accessibility
      • What are Design Systems?
    • Canvas
      • Career Readiness:
    • Notes
      • User Experience Design
      • User Research
      • Interaction Design
    • UX-Engineer
      • Accessibility
      • Patterns
      • Design Tools
      • UX Principles
      • Design Critiques
      • Product Review
      • Quiz
      • Seven Principles of Design
      • Other Articles
    • Labs
  • Front End
    • Frontend:
    • Redux
  • Back End
    • Backend:
      • API
  • Research
    • Research Navigation
      • Front End
      • Back End
      • UX
      • PTM
      • General
  • DS_API
    • Data Science API
  • ROLES
    • TEAM ROLES
      • Bryan Guner
  • Action Items
    • Trello
    • Maps
  • ARCHITECTURE
    • DNS
    • AWS
    • Heroku
  • Questions
    • From Previous Cohort
  • Standup Notes
    • Meeting Notes
      • Stakeholder Meeting 1
      • 9/29/2021
  • GitHub & Project Practice
    • GitHub
      • Github Guide
      • Github Actions:
      • Live Implementation
  • MISC
    • MISCELLANEOUS
      • Links
  • Background Information
    • Background Info
      • Swagger OPEN API SPECIFICATION
        • Swagger Docs (General)
      • GITHUB:
        • Git Bash
        • Git Prune:
  • DOCS
    • DS AP
    • What is JSON Web Token?
      • Environment Variables
      • Git Rebase:
      • Git Workflow:
      • Linting and Formatting
    • Project Docs
      • Eng-Docs-Home
      • Basic Node API
      • Contributing to this scaffold project
      • Examples:
    • PROJECT DESCRIPTION (Feature List)
    • Labs Learners Guide
    • REACT
      • Create React App
      • Awesome React
    • Labs Engineering Docs
      • Okta Basics
      • Roadmap
      • Repositories
  • Workflow
    • Workflow
    • Advice
  • AWS
    • AWS
      • Elastic Beanstalk
        • Elastic Beanstalk DNS
      • Amplify:
        • Amplify-DNS
    • Account Basics
    • AWS-Networking
  • Career & Job Hunt
    • Career
  • LABS
    • Introduction
    • User Stories
    • Why Pairing?
    • GitHub
    • Planning as an Engineer
    • Authentication and Authorization
      • Authentication VS Authorization
    • Giving Feedback
    • Modules Grades Understanding Your ISA
    • Rest Architecture
Powered by GitBook
On this page
  • Elastic Beanstalk
  • Overview
  • FAQ
  • Glossary

Was this helpful?

  1. AWS
  2. AWS

Elastic Beanstalk

PreviousAWSNextElastic Beanstalk DNS

Last updated 3 years ago

Was this helpful?

Elastic Beanstalk

Overview

is a service that is used in Labs to host Data Science related APIs.

FAQ

Why does my Elastic Beanstalk application fail with permission denied, mkdir?

This is caused by the following:

  • AWS Beanstalk servers are based on Amazon Linux, now you know

  • The node-gyp module has native code, so needs to be compiled, no big deal

  • There is no node-gyp binary distribution for Amazon Linux, it would be nice

  • NPM tries to build the package on the Beanstalk server, which is normal

  • Part of the build process runs as a non-root user and tries to write to /tmp which is owned by root, seems odd, but okay

  • This mkdir call fails with permission denied and the build fails, which is the correct error

There are lots of different solutions on the world wide web, but only one seems to work consistently and is only mildly intrusive:

  • Go to your Elastic Beanstalk environment

  • Click 'Configuration' then click 'Software'

  • At the bottom of this form, add this environment variable:

    • NPM_CONFIG_UNSAFE_PERM=true

    • Click 'Apply'

    • This should trigger a rebuild, which should get you past the issue

How do I resolve 413 Request Entity Too Large?

TBD

How do I deploy my Docker container to Beanstalk?

TBD

Glossary

Application

An Application in AWS Elastic Beanstalk is simply a collection of Elastic Beanstalk environments. It's simply a mechanism to organize Elastic Beanstalk environments.

Environment

An Environment in AWS Elastic Beanstalk is a collection of AWS resources that are managed by the Elastic Beanstalk service.

In Labs, we use Elastic Beanstalk applications to group environments for a specific cohort. See the for instructions on how to name an Elastic Beanstalk Application.

In Labs, a project team will each have a dedicated environment to host the resources they need for their API. See the for instructions on how to name an Elastic Beanstalk Environment.

Labs Engineering Standards
Labs Engineering Standards
Elastic Beanstalk
PaaS
https://s3-us-west-2.amazonaws.com/secure.notion-static.com/497d8b5c-39f1-4a20-adfc-cc2b954b4b15/Untitled.png