Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You should not be deploying anything you built yourself on your local machine.  Only deploy build artifacts generated by Bamboo and stored in Artifactory.  See Branching and Tagging for information about managing the build, branch, and tag process.  You will need 3 .war files out of artifactory for a deployment: services-repository-<version>.war, services-authentication-<version>.war, and portal-<version>.war.  Each must go into its own Beanstalk environment.

The specific steps are:

  1. log in to: http://sagebionetworks.artifactoryonline.com/
  2. Go to the Artifacts tab
  3. Go to: libs-snapshots-local > org > sagebionetworks > [project] > [version]SNAPSHOT > [project][version]-SNAPSHOT.war
  4. Click download
  5. Now log into the AWS console
  6. click on the "Elastic Beanstalk" tab
  7. Select the 'stack' (Synapse or Synapse-Staging)
  8. A number of "Environments" will be listed.  Click on "Environment Details" for the environment of interest.
  9. Click on "Deploy a different version."
  10. Click the radio button "Upload and deploy a new version"
  11. The naming convention is [project][version].[n+1] where the latest deployed version is [project][version].[n]
  12. Upload the .war file that you downloaded from Artifactory.
  13. Your new .war file will now be deployed to Elastic Beanstalk.

Create Beanstalk Environments (Skip this section if using existing Environments.)

...