https://github.com/kgoedecke/circleci-beanstalk-example
CircleCI 2.0 AWS Beanstalk example to deploy Node app
https://github.com/kgoedecke/circleci-beanstalk-example
aws aws-beanstalk aws-ebs beanstalk circleci circleci2 elasticbeanstalk node
Last synced: 2 months ago
JSON representation
CircleCI 2.0 AWS Beanstalk example to deploy Node app
- Host: GitHub
- URL: https://github.com/kgoedecke/circleci-beanstalk-example
- Owner: kgoedecke
- Created: 2018-02-28T09:26:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T04:07:13.000Z (over 2 years ago)
- Last Synced: 2024-11-08T01:37:10.977Z (12 months ago)
- Topics: aws, aws-beanstalk, aws-ebs, beanstalk, circleci, circleci2, elasticbeanstalk, node
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 34
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CircleCI 2.0 Elastic Beanstalk Example
This example shows how to deploy to AWS Elastic Beanstalk (EBS) using [CircleCI 2.0](https://circleci.com/docs/2.0/).# Overview
- Continuous Integration of Node app to Beanstalk using CircleCI 2.0
- Multiple Environment deployment: `master` and `develop` to deploy to production and staging Beanstalk environment
- Easily appliable for other platforms/languages
- Support Bitbucket or Github# Requirements
- The environments in Beanstalk need to be setup already, please follow this guide provided by AWS on [Creating an AWS Elastic Beanstalk Environment](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.environments.html)
- API credentials for your AWS account, see [Creating an AWS Elastic Beanstalk Environment](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)
- Github or Bitbucket account
- CircleCI linked to Github or Bitbucket# Usage
1. Connect CircleCI to your Git
2. Spin up your Beanstalk environment either using the AWS Management Console or the AWS CLI
3. Replace the environment name in `.circleci/config.yml` with your Beanstalk environment name
4. Replace the environment and application name in `.elasticbeanstalk/config.yml`
5. Change the platform (Node, PHP, ...) and AWS Region in `.elasticbeanstalk/config.yml` if needed
6. Push to your master branch to trigger the CircleCI buildFor more details see the tutorial below.
# Tutorial
[KevinGoedecke.com - How to deploy to Beanstalk using CircleCI 2.0](https://kevingoedecke.com/2018/03/12/circleci-2-0-beanstalk-example-tutorial/)