Skip to content

ElasticBeanstalk notes

fwhigh edited this page Jan 31, 2019 · 1 revision

https://us-west-1.console.aws.amazon.com/elasticbeanstalk/home?region=us-west-1#/welcome

Click "Get started".

  • Application name: pmip
  • Platform: Docker
  • Click "More configuration options"
  • Under "Software" click "Modify"
  • Under Environment properties create
    • ENVIRONMENT, prod
    • BUCKET, fwhigh-predictive-models
  • Click "Apply"
  • Click "Create application"
brew install awsebcli
eb init
  • Choose your region (us-west-1)
  • Select the application you just created
  • Do not use CodeCommit

Go to IAM at https://console.aws.amazon.com/iam/home.

  • Select your region.
  • Click aws-elasticbeanstalk-ec2-role
  • Click "Attach policies"
  • Search for and select AmazonEC2ContainerRegistryReadOnly,
  • Search for and select AmazonS3ReadOnlyAccess
  • then click "Attach policy"

Commit your latest code changes, then deploy.

eb deploy
Clone this wiki locally