zutherb / terraform-dcos

Terraform module to bootstrap a DCOS cluster
57 stars 23 forks source link

A question about getting started #10

Open twashing opened 7 years ago

twashing commented 7 years ago

I can see the Network Security section of the repo README. I simply added the dcos moddule to one of my existing terraform configs.

...
provider "aws" {
  region = "${var.region}"
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
}

module "dcos" {
  source = "github.com/zutherb/terraform-dcos"

  aws_access_key = "${var.access_key}"
  aws_secret_key = "${var.secret_key}"
  aws_region     = "${var.region}"
  ssh_public_key = "${var.ssh_key}"
  openvpn_admin_user = "${var.openvpn_admin_user}"
  openvpn_admin_pw = "${var.openvpn_admin_pw}"
  exhibitor_uid = "${var.exhibitor_uid}"
}
...

But I still have a few questions.

twashing commented 7 years ago

As a follow on, I saw the this function in vpn_user_data.sh.

function wait_until_marathon_is_running {
    until $(curl --output /dev/null --silent --head --fail http://${internal_master_lb_dns_name}:8080/v2/info); do
        echo "waiting for marathon"
        sleep 5
    done
}

So I tried manually calling curl http://<actual_internal_master_lb_dns_name>:8080/v2/info, with an Operation timed out response.

zutherb commented 7 years ago

@twashing

How do we deploy an application to Marathon ? https://dcos.io/docs/1.9/deploying-services/

Where can we find the Mesos Dashboard for a better look into everything that's been setup ? http://master.mesos/mesos

twashing commented 7 years ago

Sorry for the delay in responding. And thanks for the feedback, that helps.

Tim Washington Interruptsoftware.com http://interruptsoftware.com 415.283.8889

On Wed, Jun 21, 2017 at 2:02 PM, Bernd Zuther notifications@github.com wrote:

@twashing https://github.com/twashing

How do we deploy an application to Marathon ? https://dcos.io/docs/1.9/deploying-services/

Where can we find the Mesos Dashboard for a better look into everything that's been setup ? http://master.mesos/mesos

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zutherb/terraform-dcos/issues/10#issuecomment-310158844, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOoqG1GNB6Ozivw1IAw5PALI1TWcBB2ks5sGVqngaJpZM4N9kOV .