Set up DNS for Corsica running on prod stackato.

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mythmon, Assigned: cturra)

Tracking

Details

(Reporter)

Description

5 years ago
Please set up a DNS name to point to th instance of Corsica already running on the production stackato. The app name should be "corsica".

I suggest something like corsica.paas.mozilla.org, but really anything short and memorable will be fine.

Corsica has been security reviewed (bug 943064).
(Assignee)

Comment 1

5 years ago
it looks like there is already a corsica.paas.mozilla.org application in the production paas (created by clonnen). i will go ahead and get the appropriate DNS setup for this so you can test it out.

once you're ready to go live with the application, we just need to create a CNAME record for the location you want to launch from (ex. corsica.mozilla.org) to corsica.paas.mozilla.org.
Assignee: server-ops-webops → cturra
(Assignee)

Comment 2

5 years ago
corsica.paas.mozilla.org DNS entry now present. let me know when you're ready for the final application name. i'd also like to ask that you add it to your stackato.yml file:

 http://docs.stackato.com/user/deploy/stackatoyml.html#url-or-urls


 $ dig +short corsica.paas.mozilla.org
 paas-prod-zlb.vips.scl3.mozilla.com.
 63.245.215.94
Flags: needinfo?(mcooper)
(Reporter)

Comment 3

5 years ago
Awesome, thank you!

For now corsica.paas.mozilla.org works just fine. Our final application url will probably not be under .mozilla.org, just because I feel nervous deploying something under the mozilla.org domain. especially give the security models of things like cookies. (yes, I know corsica.paas.mozilla.org is under mozilla.org too)

Once we pick out a final domain name, do we just need to set up the CNAME and add the url to the stackato.yml file, or do you have to add configuration somewhere? too?

In the short term, do we need to add corsica.paas.mozilla.org to stackato.yml? Would ${name}.${target-base} work, as listed in the docs? The url https://corsica.paas.mozilla.org gives the paas 404 page right now. Is this because we need to change stackato.yml? Or because we need to re-deploy the app, or be more patient?
Flags: needinfo?(mcooper)
(Assignee)

Comment 4

5 years ago
all you need to do is list the URLs you want. by default it will get "appname"+"stackato_env". generally, you will want something like:

 urls:
  - corsica.paas.mozilla.org
  - corsica.something.else



with regards to the application 404ing, that's because it's not started. i do see some errors in the filesystem log that indicate its waiting on the attached filesystem service. i would recommend doing a fresh deployment (with a new filesystem service), which would be to:

  $ stackato delete <app_name> 
    * go ahead and delete the attached services
  $ stackato push
(Reporter)

Comment 5

5 years ago
Ah, that makes sense. I actually don't have direct access to the stackato instance for Corsica right now, since Lonnen set it up and didn't make a group for it. We are going to work on it Friday, so we'll play with it then. If we run into problems then, I'll let you know.

Given that, I think we're done here. Thanks for setting this up.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.