Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.67 KB

EurekaAsgard.md

File metadata and controls

30 lines (22 loc) · 1.67 KB

If Asgard knows about Eureka it will enhance many of the pages with Eureka information. The link above goes into more specific of how the integration works. The following steps are to enable that integration in a way that is compatible with the rest of this tutorial.

Build/Bake

If you don't have the eureka--frontend ELB's DNS Name handy, go back to Asgard and find it. Make sure to use that DNS name below instead of just copying like you have in previous steps.

EUREKA_ELB=*ELB DNS NAME from Step 15*
cd ~/zerotocloud
./gradlew :asgard:buildDeb
sudo aminate -e ec2_aptitude_linux -b ubuntu-base-ami-ebs asgard/build/distributions/asgard_1.0.0_all.deb

Deploy

  1. From Asgard, go to Cluster | Clusters.
  2. Find the Asgard cluster, and select it. The path should look like /us-west-2/cluster/show/asgard.
  3. There should be a "Create Next Group" box on the right. This is where the next ASG is staged.
  4. Select AMI Image Id, select most recently built.
  5. Click "Create Next Group asgard-v000". A task page will come up to show the progress of calls to Amazon.
  6. Return to the Asgard Cluster page, there is a link at the top and bottom of the page.
  7. Click the "Disable" button in the first ASG.
  8. Reload the Asgard UI.
  9. When visiting a Cluster page, you will now see a Eureka column and a "Wait for Eureka health check pass" checkbox for new clusters.

FYI, this can not be done as a Rolling Push, since Asgard will disable creation of new instances while killing itself.