Say I have a branch stable
on GitHub that I want to automatically deploy to my AWS EB instances when there is a commit.
I have looked at CodePipeline
, which is not available in the region I am hosting my instances.
I have also looked at CodeDeploy
but this appears to only be for a single instance of EC2 and not for Elastic Beanstalk
. Please correct me if I am wrong.
All help is appreciated. I do not want to have to manually deploy every time a commit is made.
Setup GitHub SecretsOIDC lets your GitHub Actions workflows access resources in AWS without needing to store the AWS credentials as long-lived GitHub secrets. These credentials are stored as GitHub secrets within your GitHub repository, under Settings > Secrets. For more information, see “GitHub Actions secrets”.
Just like the CodeDeploy example, all it takes to deploy to Elastic Beanstalk using Codeship are a few parameters: the Elastic Beanstalk application name. the Elastic Beanstalk environment name. the S3 bucket to upload the artifact to.
For anyone that stumbles on this, I would like to comment saying this is possible.
A well detailed explanation can be found here: https://medium.com/@faithfulanere/how-to-create-cicd-using-github-as-source-and-elastic-beanstalk-244319a2a350
currently we are using jenkins ci for BDD .and jenkins custom aws-eb plugins automatically deploy your branch to elastic beanstalk. this might be help you and even this is the alternative for codepipeline to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With