-
Create AWS Codecommit Repository
-
Install the AWS Elasticbeanstalk CLI.
-
Login into your AWS Console > Go to Elasticbeanstalk > Create a new environment > Select Web server environment > Fill up necessary fields. For Platform, choose NodeJS. Then click Create Environment
-
In your local repository, type eb init > Choose your AWS region server > Choose the elasticbeanstalk you just create > Do you wish to continue with CodeCommit? (Y/n): Y > Choose the codecommit repository you created a while ago > Select branch
-
Push your local repository to AWS Codecommit Steps : git add * git commit -m "commit message" git push
-
After successful commit to repository, type eb deploy.
// END //