This commit is contained in:
Radon Rosborough 2021-09-19 14:05:12 -07:00
parent 4a14b2c6c1
commit 59559ee125
1 changed files with 9 additions and 7 deletions

View File

@ -209,19 +209,21 @@ This is the URL for your public ECR repository.
Obtain the DNS record for Riju's ALB from `terraform output` and Obtain the DNS record for Riju's ALB from `terraform output` and
install it as a CNAME record in your DNS panel. After DNS propagates, install it as a CNAME record in your DNS panel. After DNS propagates,
you should now be able to receive a 502 from Riju with no body you should now be able to receive a 502 from the load balancer.
content.
## Launch instance ## Launch instance
Navigate to your EC2 dashboard instances. Select "Launch instance from template" Navigate to your EC2 dashboard instances. Select "Launch instance from
and select riju-server for the launch template. template" and select `riju-server` for the launch template.
## Attach to target group ## Attach to target group
Once your instance is running you can attach it to a target group. Navigate to Once your instance is running you can attach it to the target group.
Load Balancing > Target groups. Select riju-server-http and register the instance Navigate to Load Balancing > Target Groups. Select `riju-server-http`
that you just launched. and register the instance that you just launched. Within a minute or
two, you should still be getting 502s, but now with an empty response
body (these are now coming from the Riju server itself rather than
from the load balancer).
## Build and deploy ## Build and deploy