Skip to content

praveenpandey02/simple-node-app-on-AWS-EBS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this repository about?

This is a small Node application which can be deployed on AWS Elastic Beanstalk by following the simple steps below:

Getting started

  1. Clone this repository
  2. Run
    npm install
    
  3. Check that the application runs locally
    node app.js
    

Setting up EBS on local

  1. Make sure you have an account in AWS Management Console. You need to have an IAM user and a root user
  2. You also need to have EB CLI set up on your machine and it can be checked by the following command
    eb --version
    
  3. Now, run the following command to setup Elastic Beanstalk for the project deployment. This command will create a .elasticbeanstalk folder in the root of your project
    eb init
    

Creating AWS environment for app deployment

  1. Run the following command to create the environment in AWS where the application will run
    eb create ENVIRONMENT_NAME_OF_CHOICE --single
    
  2. Run this command to finally open the running app on the web browser
    eb open
    
  3. You can also change something in your app.js file and reflect the changes on your AWS deployed app by running
    eb deploy
    

About

This is a simple node app deployed on AWS Elastic Beanstalk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published