AWS Code Deploy to Beanstalk
Last updated
Last updated
Lets create Code Pipeline and send Node JS code to Beanstalk
create pipeline project
Connect pipeline as Github Source Provider
Add Build stage | Create new Build Project
Provide Code Build details such as managed image and image type
Provide build spec file either from code or create a file here using editor
Save Code Build Configuration which will just create **/* artifacts for us and pass this to next pipeline Phase
Now Code Deploy Phase where we can set multiple Targets like Code deploy or Elastic beanstalk or S3 (List of options available )
Lets deploy this to elastic beanstalk
Add Elastic beanstalk App name and environments
Here we go our full pipeline end to end to deploy node JS application
We can create Elastic beanstalk application as new application (its its not created earlier)
Now Just do code push on your GitHub repo, send a commit it will trigger pipeline.