Skip to content
Sample Haskell application with deploy scripts for AWS Elastic Beanstalk
Shell Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.dockerignore
.gitignore
Dockerfile.deploy
Dockerrun.aws.json.template
LICENSE
README.md
Setup.hs
bucket-policy.json
circle.yml
deploy.sh
sample-elasticbeanstalk.cabal
setup.sh
stack.yaml

README.md

How to set up this project

  1. Make sure you have the AWS CLI installed and configured with a user that has access to create buckets and configure IAM users.
  2. Create your Elastic Beanstalk application through the web console. This is necessary to create the default service and instance roles that we need to configure later (aws-elasticbeanstalk-ec2-role). It's fine to launch your environment with the sample application to start.
  3. Replace <account-id>, <region>, <repo> and <project> in all the files with your AWS account id (without dashes!), the region you want to run in, what you want to name your ECR repo and what you named your project. This would perhaps be suitable to put into a cookiecutter template or such, but I felt that was a bit overkill.
  4. Run setup.sh
  5. Add CircleCI integration to your Git repository and under project settings on CircleCI, configure the AWS Permissions to what was generated into the ci-access-key.json file.
  6. Run a CircleCI build and watch it build, test and deploy your application.
You can’t perform that action at this time.